mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: properly convert canon chain event (#9736)
This commit is contained in:
@ -360,6 +360,13 @@ impl ExecutedBlock {
|
||||
&self.senders
|
||||
}
|
||||
|
||||
/// Returns a [`SealedBlockWithSenders`]
|
||||
///
|
||||
/// Note: this clones the block and senders.
|
||||
pub fn sealed_block_with_senders(&self) -> SealedBlockWithSenders {
|
||||
SealedBlockWithSenders { block: (*self.block).clone(), senders: (*self.senders).clone() }
|
||||
}
|
||||
|
||||
/// Returns a reference to the block's execution outcome
|
||||
pub fn execution_outcome(&self) -> &ExecutionOutcome {
|
||||
&self.execution_output
|
||||
|
||||
Reference in New Issue
Block a user