-
Notifications
You must be signed in to change notification settings - Fork 184
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
[Beyond EVM] performant StateDB implementation - part 1 #5166
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5166 +/- ##
==========================================
+ Coverage 56.49% 56.50% +0.01%
==========================================
Files 980 983 +3
Lines 93192 93753 +561
==========================================
+ Hits 52649 52978 +329
- Misses 36640 36825 +185
- Partials 3903 3950 +47
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 focused on non-test code and left some comments and questions.
…/flow-go into ramtin/5129-new-evm-stateDB-part1
@fxamacker any final look before I merge? |
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.
@ramtinms Nice! Looks good!
I have just a couple more questions (copied here for convenience):
-
storeSlot()
:Since storeCode() removes empty code from v.cachedCodes, do we also want to remove empty slot from v.cachedSlots here for consistency?
-
UpdateAccount()
:Is it possible for UpdateAccount() to be called with empty code after account was created with non-empty code? If so, does UpdateAccount() need to remove the allocated slots collection?
see #5129