feat: add op debug witness api (#12583)

Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
This commit is contained in:
Matthias Seitz
2024-11-15 20:44:53 +01:00
committed by GitHub
parent f0b8b9b221
commit b31b1ea288
5 changed files with 98 additions and 5 deletions

View File

@ -399,10 +399,10 @@ pub trait DebugExecutionWitnessApi<Attributes> {
/// hashed trie nodes to their preimages that were required during the execution of the block,
/// including during state root recomputation.
///
/// The first argument is the block number or block hash. The second argument is the payload
/// attributes for the new block. The third argument is a list of transactions to be included.
#[method(name = "executePayload")]
async fn execute_payload(
/// The first argument is the parent block hash. The second argument is the payload
/// attributes for the new block.
#[method(name = "executePayload", blocking)]
fn execute_payload(
&self,
parent_block_hash: B256,
attributes: Attributes,