Skip to content

Commit

Permalink
categorize object double lock error (MystenLabs#10195)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
longbowlu authored Mar 31, 2023
1 parent a26a96d commit f79ce4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sui-types/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ impl SuiError {
SuiError::QuorumFailedToGetEffectsQuorumWhenProcessingTransaction { .. } => {
(false, true)
}
SuiError::ObjectLockConflict { .. } => (false, true),

_ => (false, false),
}
Expand Down

0 comments on commit f79ce4a

Please sign in to comment.