From f79ce4a54cd6a9270ddf538e719d4611571363d0 Mon Sep 17 00:00:00 2001 From: Lu Zhang <8418040+longbowlu@users.noreply.github.com> Date: Fri, 31 Mar 2023 00:04:51 -0700 Subject: [PATCH] categorize object double lock error (#10195) ## Description As title ## Test Plan CI --- If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process. ### Type of Change (Check all that apply) - [ ] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration ### Release notes categorize object double lock error --- crates/sui-types/src/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/sui-types/src/error.rs b/crates/sui-types/src/error.rs index 6c1241bd5feaf..94721119ce8ac 100644 --- a/crates/sui-types/src/error.rs +++ b/crates/sui-types/src/error.rs @@ -646,6 +646,7 @@ impl SuiError { SuiError::QuorumFailedToGetEffectsQuorumWhenProcessingTransaction { .. } => { (false, true) } + SuiError::ObjectLockConflict { .. } => (false, true), _ => (false, false), }