-
Notifications
You must be signed in to change notification settings - Fork 652
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
refactor: Make validator_signer mutable #11400
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
4c23cfa
Refactor Signer, ValidatorSigner
staffik 47d9d26
Refactor continued
staffik 5ca2fd3
refactor
staffik b60dde1
formatting
staffik edc3486
Pytest
staffik 3a8b7fd
sighup
8d887a5
Dynamic updateable validator key
d82dc0b
hotswap
staffik 6657b3f
Dynamic validator key everywhere
staffik a335707
Dynamic validator_id for shards_manager_actor
staffik 760f8b3
Advertise Tier1 proxies
staffik 78fe1a8
Adjust ViewClientActorInner
staffik 07ec14a
Adjust StateSyncDumper
staffik 718942a
formatting
staffik ca88247
clippy
staffik 96bef88
Merge remote-tracking branch 'origin/master' into refactor-signer
staffik 960ca21
clippy
staffik bc47972
Merge branch 'refactor-signer' into validator-key-hot-swap
staffik a1ee361
update tests
staffik f0e444d
add comments
staffik 0b77278
Merge branch 'refactor-signer' into validator-key-hot-swap
staffik 22b1af1
compiler errors
staffik ff4d55d
style fix
staffik 1866a90
fix
staffik c3ce95d
nit
staffik 637d384
Merge remote-tracking branch 'origin/master' into validator-key-hot-swap
staffik a153c73
Turn back into noop
staffik 9ed6095
Fix partial witness actor
staffik d31ff34
Refactor shards_manager_actor
staffik 485da1c
fix
staffik 054c742
fix
staffik 70cc0ed
Merge remote-tracking branch 'origin/master' into validator-key-hot-swap
staffik 044e772
Refactor client validator_signer
staffik 10c1699
Merge remote-tracking branch 'origin/master' into validator-key-hot-swap
staffik dc264e8
cargo fmt
staffik 909e03d
FrozenValidatorConfig
staffik b2646ba
comments
staffik b053500
Reduce me.as_ref() and prefer &Arc<ValidatorSigner>
staffik 2b04477
Enrich NotAValidator error
staffik a465905
comment
staffik 9b6e83c
enrich error
staffik 18b9705
Merge remote-tracking branch 'origin/master' into validator-key-hot-swap
staffik 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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 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.
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.
Can you remind me what is the plan regarding loading memtries when using the hot swap?
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 is the place where we load memtries on startup. We do not have shadow tracking implemented yet, so currently the new node would have to load memtries for all shards