-
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
[Access] Index collections from execution data #5163
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5163 +/- ##
==========================================
+ Coverage 56.44% 56.52% +0.08%
==========================================
Files 981 979 -2
Lines 93112 93132 +20
==========================================
+ Hits 52557 52644 +87
+ Misses 36666 36592 -74
- Partials 3889 3896 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
// if more contiguous blocks are now complete, update db | ||
if newLastFullHeight > lastFullHeight { | ||
err = e.blocks.UpdateLastFullBlockHeight(newLastFullHeight) |
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.
nit: I think this index could be saved to a separate database( such as the Progress module), instead of the generic badger blocks. Other node type might not have the concept of "FullBlock"
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.
good call out. I opened an issue to track this: #5185
@@ -716,14 +716,14 @@ func (builder *FlowAccessNodeBuilder) BuildExecutionSyncComponents() *FlowAccess | |||
|
|||
checkpointHeight := builder.SealedRootBlock.Header.Height | |||
|
|||
buutstrap, err := pStorage.NewRegisterBootstrap(pdb, checkpointFile, checkpointHeight, builder.Logger) | |||
bootstrap, err := pStorage.NewRegisterBootstrap(pdb, checkpointFile, checkpointHeight, builder.Logger) |
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.
that was an itch for me 😄
…cdata [Access] Index collections from execution data
Closes: #4829