-
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
[Storehouse] Blockend Snapshot #4985
Conversation
4556d21
to
3eddf53
Compare
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 skipped code that is also in #4940
e90aa0d
to
f7d8ede
Compare
b0e3afd
to
588de92
Compare
277608b
to
7ac073b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4985 +/- ##
==========================================
+ Coverage 56.25% 56.28% +0.02%
==========================================
Files 974 975 +1
Lines 90802 90840 +38
==========================================
+ Hits 51082 51129 +47
+ Misses 35910 35903 -7
+ Partials 3810 3808 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
03279a6
to
ce7b870
Compare
ce7b870
to
7a7009f
Compare
if value == nil { | ||
return nil, storage.ErrNotFound | ||
} | ||
return value, nil |
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.
Shouldn't this just return (value, nil) now. If value is nil we want to return nil, right?
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.
yup, updated
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
d1b6468
to
c212feb
Compare
Working towards #4682
BlockEnd Snapshot is used by storehouse as an abstraction for FVM to retrieve register from storage.
BlockEnd means the snapshot is for the state at the end of block.