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

Function base_time_block

crates/execution/node/src/engine.rs:722–734  ·  view source on GitHub ↗
(
        timestamp: u64,
        millis_part: u16,
        withdrawals_root: B256,
    )

Source from the content-addressed store, hash-verified

720 }
721
722 fn base_time_block(
723 timestamp: u64,
724 millis_part: u16,
725 withdrawals_root: B256,
726 ) -> RecoveredBlock<BaseBlock> {
727 let number = 9;
728 let metadata = BaseTimeUpdateTx::new(millis_part).unwrap().into_deposit_tx(number);
729 base_time_block_with_transactions(
730 timestamp,
731 withdrawals_root,
732 vec![TxDeposit::default().seal_slow().into(), metadata.into()],
733 )
734 }
735
736 fn base_time_block_with_transactions(
737 timestamp: u64,

Calls 3

newFunction · 0.50
into_deposit_txMethod · 0.45