From 1561f7321439b509e63b0bde9cd07e513b3157f7 Mon Sep 17 00:00:00 2001 From: Mark Logan Date: Fri, 9 Sep 2022 16:32:38 -0700 Subject: [PATCH] Trigger parent cert execution for SharedObjectLockNotSetObject --- crates/sui-core/src/node_sync/node_state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/sui-core/src/node_sync/node_state.rs b/crates/sui-core/src/node_sync/node_state.rs index e651a5e9b8fe6..22381e575a62b 100644 --- a/crates/sui-core/src/node_sync/node_state.rs +++ b/crates/sui-core/src/node_sync/node_state.rs @@ -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?;