MCPcopy Create free account
hub / github.com/base/base / execute_payload

Method execute_payload

crates/proof/proof/src/executor.rs:92–100  ·  view source on GitHub ↗

Execute the given payload attributes.

(
        &mut self,
        attributes: BasePayloadAttributes,
    )

Source from the content-addressed store, hash-verified

90
91 /// Execute the given payload attributes.
92 async fn execute_payload(
93 &mut self,
94 attributes: BasePayloadAttributes,
95 ) -> Result<BlockBuildingOutcome, Self::Error> {
96 self.inner.as_mut().map_or_else(
97 || Err(base_proof_executor::ExecutorError::MissingExecutor),
98 |e| e.build_block(attributes),
99 )
100 }
101
102 /// Computes the output root.
103 fn compute_output_root(&mut self) -> Result<B256, Self::Error> {

Callers 2

advance_to_targetMethod · 0.45
advance_to_targetFunction · 0.45

Calls 2

as_mutMethod · 0.80
build_blockMethod · 0.45

Tested by

no test coverage detected