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

Function commit_block

crates/execution/txpool/src/pool.rs:4040–4053  ·  view source on GitHub ↗
(
        pool: &IntegrationPool,
        number: u64,
        changed_accounts: Vec<ChangedAccount>,
        mined_transactions: Vec<TxHash>,
    )

Source from the content-addressed store, hash-verified

4038 }
4039
4040 fn commit_block(
4041 pool: &IntegrationPool,
4042 number: u64,
4043 changed_accounts: Vec<ChangedAccount>,
4044 mined_transactions: Vec<TxHash>,
4045 ) {
4046 canonical_update(
4047 pool,
4048 number,
4049 changed_accounts,
4050 mined_transactions,
4051 PoolUpdateKind::Commit,
4052 );
4053 }
4054
4055 fn canonical_update(
4056 pool: &IntegrationPool,

Calls 1

canonical_updateFunction · 0.85

Tested by

no test coverage detected