-
Notifications
You must be signed in to change notification settings - Fork 179
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
[Flow EVM] update StateDB to store codes by code hash #5235
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5235 +/- ##
==========================================
- Coverage 58.56% 53.86% -4.71%
==========================================
Files 899 885 -14
Lines 85536 82825 -2711
==========================================
- Hits 50097 44612 -5485
- Misses 31743 34726 +2983
+ Partials 3696 3487 -209
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ow/flow-go into ramtin/5198-update-evm-code-storage
codeHash := gethTypes.EmptyCodeHash | ||
codeHash := gethCommon.Hash{} |
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 was a bug that I fixed it in this PR, we should return empty code hash for non-existing accounts
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.
Nice! 👍 I mostly focused on non-test code and left some minor comments.
…ow/flow-go into ramtin/5198-update-evm-code-storage
closes: #5198