-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(op): storage root isthmus #13214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to integrate this in two steps
add the isthmus checks as standalone functions, and then figure out where we need to invoke them
if self.chain_spec.is_isthmus_active_at_timestamp(block.timestamp) { | ||
let storage_root_msg_passer = self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is problematic in this function,
because we use this when we validate a downloaded block, and accessing the latest state on disk might not exists.
need to figure out how to make this work.
could we in this pr introduce the isthmus check as a standalone function only and figure out where we actually need to check this separately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
impl<N: NodeTypesWithDB> fmt::Debug for BlockchainProvider<N> { | ||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||
f.debug_struct("BlockchainProvider").finish_non_exhaustive() | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe submit as separate pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closing, storage root verification needs to happen in execution to be possible in batch execution |
Closes #13144, ref ethereum-optimism/optimism#12044