-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: broadcast barrier #4207
Merged
Merged
feat: broadcast barrier #4207
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
d127712
feat: broadcast pause
ramizhasan111 5af74d7
feat: removed key locking and non-optimistic activation
ramizhasan111 d777537
fix: tests
ramizhasan111 078cded
Merge branch 'main' into feat/broadcast-pause
ramizhasan111 51c49b5
fix: bouncer prettier check
ramizhasan111 c2a2e20
feat: broadcast pause unit test
ramizhasan111 fe789b9
chore: comments
ramizhasan111 b42ef29
chore: test
ramizhasan111 06b7df2
chore: addressed comments
ramizhasan111 4d445bb
feat: use same broadcast_id for tx, chain-specific broadcast barriers
ramizhasan111 56dbec5
chore: reinstate test
ramizhasan111 2d3cdc5
feat: storage migration
ramizhasan111 1bd142b
Merge branch 'main' into feat/broadcast-pause
ramizhasan111 41a7f08
fix: check for all broadcasts before the barrier
ramizhasan111 24de28d
feat: more tests, test fixes
ramizhasan111 0852b66
chore: addressed comments
ramizhasan111 7efd2e5
feat: on_sig_ready call migration
ramizhasan111 dd513d1
Merge branch 'main' into feat/broadcast-pause
ramizhasan111 51f014b
fix: vec import for tr-runtime
ramizhasan111 d9a0be7
fix: use only specific key for signing
ramizhasan111 ba13b6b
chore: addressed comments
ramizhasan111 c267707
fix: only add barriers if there are already pending txs before it
ramizhasan111 c9daf2d
feat: remove aborted broadcasts from pending
ramizhasan111 20fd42a
chore: remove CurrentKey variant in RequestType
ramizhasan111 455ebcf
Merge branch 'main' into feat/broadcast-pause
dandanlen 7ddeea6
fix: all tests passing (bouncer tbc)
dandanlen 0c056b5
fix: remove defenisve_proof
dandanlen dd06205
fix: always remove barrier with pending broadcast
dandanlen 6f3ff2a
chore: readability
dandanlen 5ce1a17
fix: typo
dandanlen 6abf06f
fix: use BTreeSet to avoid duplicates.
dandanlen 8b46d1a
fix: check attempt count >= not ==
dandanlen 7267a8b
test: test that the broadcast is aborted when all broadcasters attempt
kylezs 4cb5d89
Merge branch 'main' into feat/broadcast-pause
dandanlen 558a57a
fix: simplify signature refresh logic
dandanlen 7a0ab45
fix: add PendingBroadcast migration
dandanlen 43d44eb
fix: migrations
kylezs cd84ee0
fix: use correct spec version
kylezs 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 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
This file was deleted.
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.
If we use
RequestType::CurrentKey
it will fail more gracefully (it will emitCurrentKeyUnavailable
and retry with CurrentKey until one is available).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 have removed the
CurrentKey
variant in theRequestType
since we dont use it anymore. The ceremonies will always be signed with key active at the time of threshold signature request since do optimistic rotation for all chains now and every ceremony has a key associated to it.