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.
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
Pchain bls key diff fix #1584
Pchain bls key diff fix #1584
Changes from 5 commits
44fa8e9
b608a16
6bc2ed0
04d4e9c
c509fe1
8df0224
5831ec4
8430ee1
284000d
ae6e944
e51ab31
33cae54
d63f5df
b71c0bc
1db7996
071559d
0c96716
b897764
8c0a2a9
b1734aa
584dec0
f09ecd5
f6d9ce9
efbbf20
7c39fbe
b0e038f
6540524
3b2f786
6b49006
0c1d5e5
6286ca7
acac984
fa43300
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I know not changed in this PR but this stuff freaks me out. Should this be tracked by a metric with an alert? Not finding the validator set for a primary chain during runtime sounds like stop the world event. Do we need to add any details on possible invariants, like maybe bootstrapping? Should this shutdown the node or could it be transient?
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.
I'm definitely happy to add ERROR logs for stuff like this
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.
started here will rebase after this merges #1592
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.
seems this result may be cacheable up to here?
don't have to fix as part of this PR.
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.
there are more efficient ways to store and use diffs. We'll work on them in a separate PR
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.
Do we need this check since all subnet validators are also primary network validators
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.
we don't, you're right. But a bug breaking this invariant would cause a panic if the found is dropped right? I guess I am just trying to be defensive. I feel we usually do this, but happy to switch if I am wrong
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.
Comment please. Also some UT would be welcome :)