-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
validator: Forge a confirmed root before halting for RPC inspection #10061
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10061 +/- ##
=========================================
- Coverage 81.5% 81.4% -0.2%
=========================================
Files 283 283
Lines 65782 65784 +2
=========================================
- Hits 53660 53595 -65
- Misses 12122 12189 +67 |
block_commitment_cache | ||
.write() | ||
.unwrap() | ||
.set_get_largest_confirmed_root(bank_forks.read().unwrap().root()); |
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 have any information about whether that is, in fact, a confirmed root?
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.
Oh, I see, this is just a quick workaround because the answer is no, right?
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.
No. Right.
(cherry picked from commit 1da1667) # Conflicts: # core/src/commitment.rs
(cherry picked from commit 1da1667)
solana block-production
, amongst others, didn't work when--dev-halt-at-slot
is used to park a validator for RPC inspection due to the lack of a confirmed root (that is, allCommitmentConfig::max()
RPC requests fail)