-
Notifications
You must be signed in to change notification settings - Fork 971
Fix PeerDAS sync scoring #7352
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
+1,104
−655
Merged
Fix PeerDAS sync scoring #7352
Changes from 66 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
fbab829
Remove request tracking inside syncing chains
dapplion 2faf5f1
Prioritize by range peers in network context
dapplion 0e13a8d
Prioritize custody peers for columns by range
dapplion 70e6066
Explicit error handling of the no peers error case
dapplion 8cf4e8c
Remove good_peers_on_sampling_subnets
dapplion 4da322f
Count AwaitingDownload towards the buffer limit
dapplion 9cd238d
Retry syncing chains in AwaitingDownload state
dapplion 891c8fc
Use same peer priorization for lookups
dapplion 29a5aff
Review PR
dapplion cd6c5d6
Address TODOs
dapplion 2c6a7cc
Revert changes to peer erroring in range sync
dapplion f77bc24
Revert metrics changes
dapplion 4792275
Update comment
dapplion 45f5528
Pass peers_to_deprioritize to select_columns_by_range_peers_to_request
dapplion 7ec350b
more idiomatic
dapplion 6f7a524
Merge remote-tracking branch 'sigp/unstable' into peer-loadbalancing
dapplion 8962808
Idiomatic while
dapplion e9247d2
Add note about infinite loop
dapplion 97e75ef
Use while let
dapplion 0e7284f
Merge remote-tracking branch 'sigp/unstable' into peer-loadbalancing
dapplion 0af1bd6
Fix wrong custody column count for lookup blocks
dapplion d6a68a6
Remove impl
dapplion 3131892
Remove stale comment
jimmygchen 017c6ab
Fix build errors.
jimmygchen cac7f3e
Or default
dapplion 5c87e37
Review PR
dapplion 53536c7
Merge remote-tracking branch 'sigp/unstable' into peer-loadbalancing
dapplion 001e70d
Merge branch 'fix-custody-column-count-lookup' into peerdas-sync
dapplion 2df888a
Merge branch 'peer-loadbalancing' into peerdas-sync
dapplion 034186f
BatchPeerGroup
dapplion ecc894a
Match block and blob signatures
dapplion bb6175c
Explicit match statement to BlockError in range sync
dapplion dbd23a4
Remove todo in BatchPeerGroup
dapplion ea6cdb7
Remove participating peers from backfill sync
dapplion 9db66f0
Remove MissingAllCustodyColumns error
dapplion a3d26b6
Merge remote-tracking branch 'sigp/peerdas-devnet-7' into peerdas-sync
dapplion 4b2bbe3
Merge fixes
dapplion e0b3650
Clean up PR
dapplion 6d56323
Consistent naming of batch_peers
dapplion 1b8a8a2
Address multiple review comments
dapplion 6ba7f7c
Better errors for das
dapplion 675ae07
Penalize column peers once
dapplion 56f7c36
Restore fn
dapplion f12d210
Fix error enum
dapplion f0c7750
Removed MismatchedPublicKeyLen
dapplion fad3a0a
Revert testing changes
dapplion f637cbb
Change BlockAndCustodyColumns enum variant
dapplion 9292f82
Revert type change in import_historical_block_batch
dapplion edc7da0
Drop pubkey cache
dapplion 859f380
Don't collect Vec
dapplion 74f137e
Classify errors
dapplion f48b586
Remove ReconstructColumnsError
dapplion 4649211
More detailed UnrequestedSlot error
dapplion 10882fd
Lint test
dapplion 50032a4
Fix slot conversion
dapplion 06d4076
Reduce penalty for missing blobs
dapplion 91663f4
Revert changes in peer selection
dapplion 31f46a1
Lint tests
dapplion b11f8a3
Rename block matching functions
dapplion d82bf26
Reorder block matching in historical blocks
dapplion 9434046
Fix order of block matching
dapplion 40772ca
Add store tests
dapplion e575e10
Merge branch 'peerdas-devnet-7' into peerdas-sync
jimmygchen 0058471
Filter blockchain in assert_correct_historical_block_chain
dapplion d4046ac
Also filter before KZG checks
dapplion fe0a15d
Lint tests
dapplion 0659420
Fix lint
pawanjay176 7a8555c
Merge branch 'peerdas-devnet-7' into peerdas-sync
pawanjay176 fb8e6fe
Fix fulu err assertion
dapplion eb400f0
Check point is not at infinity
dapplion aabadb5
Fix ws sync test
dapplion 6a663d8
Revert dropping filter fn
dapplion 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
Oops, something went wrong.
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.