-
Notifications
You must be signed in to change notification settings - Fork 545
Improve "latest" block resolution on pruned nodes #1856
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
244d111
Improve "latest" block resolution on pruned nodes
arturgontijo 490a555
Use config.state_pruning as state_pruning_blocks in node template
arturgontijo 70cafb4
Coderabbit: better logs + use finalized block
arturgontijo 1d82875
Retain in-window tips when skipping pruned blocks
arturgontijo 38b7abd
Skip target lookup failure explicitly
arturgontijo d0682bd
Backfill BLOCK_NUMBER_MAPPING for the full live window
arturgontijo 542407c
Add max_blocks to backfill_number_mappings()
arturgontijo 9b0a7c2
Add pruning_skip_retains_in_window_tips() test
arturgontijo 320b632
Use find_post_log() + test-pruning-skip.ts
arturgontijo 523b3e9
Make latest_block_hash() read-only + rpc fast path
arturgontijo d054b4d
Validate eth hash from digest before writing BLOCK_MAPPING
arturgontijo 9200578
Repair missing TRANSACTION_MAPPING when state becomes readable
arturgontijo a6aab75
Add integration test for block and tx consistency after a reorg
arturgontijo 1e562a2
Check all txns when deciding tx mapping repair
arturgontijo 911345c
Restore a background cursor-based sweep
arturgontijo bacee58
Remove unnecessary comment/report
arturgontijo 17bcb64
coderabbit review
arturgontijo 53a88f5
coderabbit: propagate client.hash() failures
arturgontijo ecf10e1
coderabbit: no more ok().flatten()
arturgontijo 53f82ef
Remove unnecesasry reconcile #0..#0
arturgontijo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.