Skip to content

Commit

Permalink
Trigger parent cert execution for SharedObjectLockNotSetObject (#4549)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Logan <mark@marklgn.com>
  • Loading branch information
mystenmark and mlogan committed Sep 12, 2022
1 parent f029bf4 commit 0c1ec11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/sui-core/src/node_sync/node_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,9 @@ where

match self.state.handle_certificate(cert.clone()).await {
Ok(_) => Ok(SyncStatus::CertExecuted),
Err(SuiError::ObjectNotFound { .. }) | Err(SuiError::ObjectErrors { .. }) => {
Err(SuiError::ObjectNotFound { .. })
| Err(SuiError::ObjectErrors { .. })
| Err(SuiError::SharedObjectLockNotSetObject) => {
debug!(?digest, "cert execution failed due to missing parents");

let effects = self.get_true_effects(&cert).await?;
Expand Down

0 comments on commit 0c1ec11

Please sign in to comment.