-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Fix non-determinism in account_hash_ignore_slot on genesis #33692
Conversation
Codecov Report
@@ Coverage Diff @@
## master #33692 +/- ##
=========================================
- Coverage 81.8% 81.8% -0.1%
=========================================
Files 806 806
Lines 217676 217679 +3
=========================================
- Hits 178220 178200 -20
- Misses 39456 39479 +23 |
ripatel-fd
left a comment
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.
This looks good. But it might be worth confirming that this behaves correctly in case feature activation is scheduled in a future slot. (Which I believe is the second parameter of the tuple here (pubkey, _))
tuple.1 is the account itself. solana/sdk/src/genesis_config.rs Line 92 in a60d185
|
brooksprumo
left a comment
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.
Lgtm
(cherry picked from commit 69495f4)
(cherry picked from commit 69495f4)
(cherry picked from commit 69495f4)
…ckport of #33692) (#33728) Fix non-determinism in account_hash_ignore_slot on genesis (#33692) (cherry picked from commit 69495f4) Co-authored-by: Jeff Washington (jwash) <[email protected]>
…ckport of #33692) (#33720) Fix non-determinism in account_hash_ignore_slot on genesis (#33692) (cherry picked from commit 69495f4) Co-authored-by: Jeff Washington (jwash) <[email protected]>
Problem
See #32801
until the
account_hash_ignore_slotfeature gets activated, there is some non-determinism in testing.Summary of Changes
Remove non-determinism.
Fixes #32800