-
Notifications
You must be signed in to change notification settings - Fork 987
Add missed blocks to monitored validators #4731
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
jimmygchen
merged 82 commits into
sigp:unstable
from
v4lproik:add-missed-blocks-to-monitored-validators
Nov 9, 2023
Merged
Changes from 14 commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
8ec62d2
add missed_block metric
v4lproik bb545e1
init missed_block in constructor
v4lproik da53390
declare beaconproposercache in ValidatorMonitor
v4lproik 710ff13
refacto proposer_shuffling_decision_root to use epoch instead of curr…
v4lproik a457a48
imple new proposer_shuffling_decision_root in callers
v4lproik ddd45a9
push missed_blocks
v4lproik f88f691
prune missed_blocks
v4lproik 3845616
only add to hashmap if it's a monitored validator
v4lproik e13280d
remove current_epoch dup + typos
v4lproik 2dbf8e7
extract in func
v4lproik 9370ea8
add prom metrics
v4lproik 751c88f
checkpoint is not only epoch but slot as well
v4lproik 83da21b
add safeguard if we start a new chain at slot 0
v4lproik 518648f
clean
v4lproik 5026f0e
remove unnecessary negative value for a slot
v4lproik fe4958a
typo in comment
v4lproik 84c1f8a
remove unused current_epoch
v4lproik 3a3bf91
share beacon_proposer_cache between validator_monitor and beacon_chain
v4lproik 4129d34
pass Hash256::zero()
v4lproik 18970e5
debug objects
v4lproik 724c161
fix loop: lag is at the head
v4lproik ac034fb
sed s/get_slot/get_epoch
v4lproik 0d09546
fewer calls to cache.get_epoch
v4lproik 8ec9288
fix typos
v4lproik a7ff5be
remove cache first call
v4lproik 8d7a9f3
export TYPICAL_SLOTS_PER_EPOCH and use it in validator_monitor
v4lproik 6bd4fb8
switch to gauge & loop over missed_blocks hashset
v4lproik d132dd6
fix subnet_service tests
v4lproik 62a6ca8
remove unused var
v4lproik eb85595
clean + fix nits
v4lproik 3dd8839
add beacon_proposer_cache + validator_monitor in builder
v4lproik e395c07
fix store_tests
v4lproik 179b145
fix builder tests
v4lproik 4151571
add tests
v4lproik 4b1213f
add validator monitor set of tests
v4lproik c8cf973
clean tests
v4lproik 265ae08
nits
v4lproik 67923bb
optimise imports
v4lproik 1c45e05
lint
v4lproik e1364bf
typo
v4lproik c92ab4a
added self.aggregatable
v4lproik e3fadcb
duplicate proposer_shuffling_decision_root
v4lproik b59d879
remove duplication in passing beacon_proposer_cache
v4lproik 7b4bb21
remove duplication in passing beacon_proposer_cache
v4lproik 37706b8
using indices
v4lproik ac46a0e
fmt
v4lproik 704de81
implement missed blocks total
v4lproik dc19c4c
nits
v4lproik bfc8379
avoid heap allocation
v4lproik ed99d71
remove recursion limit
v4lproik 18c6a73
fix lint
v4lproik c517e3d
Fix valdiator monitor builder pattern
paulhauner 7ab3814
renaming metrics
v4lproik 1660b36
renaming metrics in validator monitor
v4lproik 3461c09
add log if there's a missing validator index
v4lproik 724419c
consistent log
v4lproik 2102655
fix loop
v4lproik 54aa915
better loop
v4lproik bc3e396
move gauge to counter
v4lproik 127c86a
fmt
v4lproik 8c2d5f9
add error message
v4lproik 3e1110d
lint
v4lproik 4bd1b7c
fix prom metrics
v4lproik 55add09
set gauge to 0 when non-finalized epochs
v4lproik 648673d
better wording
v4lproik fae3ff1
remove hash256::zero in favour of block_root
v4lproik c1f0754
fix gauge total label
v4lproik 109ed39
fix last missed block validator
v4lproik 8672725
Add `MissedBlock` struct
paulhauner 9840037
Fix comment
paulhauner 0f27882
Refactor non-finalized block loop
paulhauner 5e21607
Fix off-by-one
paulhauner 73924cf
Avoid string allocation
paulhauner 062e5d2
Fix compile error
paulhauner c8ce880
Remove non-finalized blocks metric
paulhauner 6e9e108
Merge branch 'unstable' into add-missed-blocks-to-monitored-validators
v4lproik 9771fb3
fix func clojure
v4lproik 5aab7c3
remove unused variable
v4lproik 0392b3f
remove unused DEFAULT_INDIVIDUAL_TRACKING_THRESHOLD
v4lproik 586c00f
remove unused DEFAULT_INDIVIDUAL_TRACKING_THRESHOLD in builder
v4lproik 4684aff
add validator index depending on the fork name
v4lproik 5b1374e
typos
v4lproik 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
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
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.