-
Notifications
You must be signed in to change notification settings - Fork 175
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
fix storage #3064
fix storage #3064
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3064 +/- ##
==========================================
+ Coverage 55.26% 55.27% +0.01%
==========================================
Files 760 760
Lines 69716 69718 +2
==========================================
+ Hits 38526 38536 +10
+ Misses 28024 28017 -7
+ Partials 3166 3165 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@smnzhu can you add some context to the description on what this change is fixing? |
bors merge |
Build failed: |
@smnzhu Looks like there are some legit unit test failures |
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.
thanks @Kay-Zee!
trackerStorage := mocktracker.NewMockStorage() | ||
|
||
// Assume SetFulfilledHeight succeeds unless otherwise indicadted in a test requriement | ||
trackerStorage.On("SetFulfilledHeight", mock.Anything).Return(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.
this line is also run in mocktracker.NewMockStorage()
so you can probably skip it here
FVM Benchstat comparisonThis branch with compared with the base branch onflow:master commit 02e9bc3 The command Collapsed results for better readability
|
bors merge |
3064: fix storage r=Kay-Zee a=smnzhu Updates the execution data provider to track fulfilled height. 3596: [Metrics] Report finalized height and executed height on startup r=zhangchiqing a=zhangchiqing This PR fixes an issue that the finalized height and executed height metrics is not reported on startup until there is block being finalized and executed. For EN which takes a while to load the execution state, the finalized height and executed height is not shown on metrics. This PR fixes it by reporting finalized height and executed height on startup. Co-authored-by: Simon Zhu <simon.zsiyan@gmail.com> Co-authored-by: Kan Zhang <kan@axiomzen.co> Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com> Co-authored-by: Kay-Zee <kan@axiomzen.co> Co-authored-by: Leo Zhang (zhangchiqing) <zhangchiqing@gmail.com> Co-authored-by: Leo Zhang <zhangchiqing@gmail.com>
Build failed (retrying...): |
3064: fix storage r=Kay-Zee a=smnzhu Updates the execution data provider to track fulfilled height. Co-authored-by: Simon Zhu <simon.zsiyan@gmail.com> Co-authored-by: Kan Zhang <kan@axiomzen.co> Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com> Co-authored-by: Kay-Zee <kan@axiomzen.co>
7d891b2
to
b3bb757
Compare
Updates the execution data provider to track fulfilled height.