-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add trie diff tool for evm_arithmetization
's CPU
#415
Comments
Awesome idea! I don't know why I didn't think about calling the diff logic directly on failure. |
Hey @atanmarko, just bumping this to know the status, if this is in your plans soon or not. |
@Nashtare Plan to work on it during next week |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many of the errors we encountered on the CPU side where invalid final tries (usually the state trie). We currently print to the logs the tries computed by the CPU upon kernel failure, though this isn't really helpful on its own.
We already have a tool (
eth-trie-tools
) to highlight trie discrepancies between two (expected) identical tries which happened to have at least one diff point, but the process is slow and tedious. Ideally, we would like to have an automated tool that:evm_arithmetization
side, and extract the resulting tries (seeoutput_debug_tries()
on how they are retrieved)trace_decoder
and obtained tries ofevm_arithmetization
txn
orreceipt
tries, display the distinct, decoded payloadsThis will be particularly helpful when we start working on actual blocks with SMT.
The text was updated successfully, but these errors were encountered: