-
Notifications
You must be signed in to change notification settings - Fork 33
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(levm): improve LEVM EF Tests report #1350
Conversation
ilitteri
commented
Nov 28, 2024
•
edited
Loading
edited
- Do not use colors in txt report printing
- If the same account was updated in LEVM but not in REVM and there's no diff, print so
- Print post state roots mismatch
- Improve LEVM state transition function
let current_bytecode = current_db | ||
.get_account_code(potential_new_bytecode_hash) | ||
.expect("Error getting account code by hash"); | ||
let code = account.info.bytecode.clone(); |
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.
let code = account.info.bytecode.clone(); | |
let new_bytecode = account.info.bytecode.clone(); |
I don't know exactly why but the block of code inside the else {
of let code
was kinda confusing to read. I din't understand it's purpose on the first place but now I get it.
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 can add some comments explaining what is happening there.
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.
LGTM