Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crates/optimism/consensus/src/validation/isthmus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ where
let storage_root = withdrawals_root_prehashed(hashed_storage_updates, state)
.map_err(OpConsensusError::L2WithdrawalsRootCalculationFail)?;

if storage_root == EMPTY_ROOT_HASH {
// if there was no MessagePasser contract storage, something is wrong
// (it should at least store an implementation address and owner address)
warn!("isthmus: no storage root for L2ToL1MessagePasser contract");
}

if header_storage_root != storage_root {
return Err(OpConsensusError::L2WithdrawalsRootMismatch {
header: header_storage_root,
Expand Down
Loading