From 2c8febfc4d61171401cae749e37784a2475be354 Mon Sep 17 00:00:00 2001 From: Mikers Date: Thu, 12 Dec 2024 16:51:54 -1000 Subject: [PATCH] use self.current_transient_data_lifespan --- actors/evm/src/interpreter/system.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/actors/evm/src/interpreter/system.rs b/actors/evm/src/interpreter/system.rs index a17e4f4e3..351ddec81 100644 --- a/actors/evm/src/interpreter/system.rs +++ b/actors/evm/src/interpreter/system.rs @@ -359,9 +359,7 @@ impl<'r, RT: Runtime> System<'r, RT> { if let Some(transient_data) = state.transient_data { let state_transient_data_lifespan = transient_data.transient_data_lifespan; - let current_transient_data_lifespan = get_current_transient_data_lifespan(self.rt)?; - - if current_transient_data_lifespan == state_transient_data_lifespan { + if self.current_transient_data_lifespan == state_transient_data_lifespan { self.transient_slots.set_root(&transient_data.transient_data_state).context_code( ExitCode::USR_ILLEGAL_STATE, "transient_state not in blockstore",