Function withdrawals_root_prehashed

Source
pub fn withdrawals_root_prehashed<DB: StorageRootProvider>(
    hashed_storage_updates: HashedStorage,
    state: DB,
) -> ProviderResult<B256>
Expand description

Computes the storage root of predeploy L2ToL1MessagePasser.sol.

Uses pre-hashed storage updates of L2ToL1MessagePasser.sol predeploy, resulting from execution of L2 withdrawals transactions. If none, takes empty [HashedStorage::default].