MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / put_exec_state

Method put_exec_state

fendermint/app/src/app.rs:303–307  ·  view source on GitHub ↗

Put the execution state during block execution. Has to be empty.

(&self, state: FvmExecState<SS>)

Source from the content-addressed store, hash-verified

301
302 /// Put the execution state during block execution. Has to be empty.
303 async fn put_exec_state(&self, state: FvmExecState<SS>) {
304 let mut guard = self.exec_state.lock().await;
305 assert!(guard.is_none(), "exec state not empty");
306 *guard = Some(state);
307 }
308
309 /// Take the execution state during block execution. Has to be non-empty.
310 async fn take_exec_state(&self) -> FvmExecState<SS> {

Callers 1

finalize_blockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected