Function withdrawals_root_prehashed
pub fn withdrawals_root_prehashed<DB>(
hashed_storage_updates: HashedStorage,
state: DB,
) -> Result<FixedBytes<32>, ProviderError>where
DB: StorageRootProvider,
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
].