-
Notifications
You must be signed in to change notification settings - Fork 283
feat: Implement Delegate Resignation (AIP11) #2538
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8d9eacf
feat: complete the delegate resignation transaction type
vasild 9eb4aba
Merge remote-tracking branch 'ArkEcosystem/core/develop' into feat/de…
vasild 90e4b83
feat: introduce a wallet flag indicating whether a delegate resigned
vasild f334cad
Merge remote-tracking branch 'ArkEcosystem/core/develop' into feat/de…
vasild b58f7dc
feat: do not allow voting for a resigned delegate
vasild 7c9040a
Merge branch 'develop' into feat/delegate-resignation
faustbrian bcfce03
fix: revert all unnecessary changes
758981e
fix(core-transactions): apply resigned flag on boot to delegates
ef434f9
test: adjust expectations of failing tests
e19bfd5
test: add handler and functional tests for delegate resignation
68aef6f
test(crypto): enable AIP11 for delegate resignation signing
d55644b
test(functional): add delegate resignation forging tests
119d03e
test(functional): register a delegate before resigning with 2nd signa…
231169d
chore: remove `delegates` argument from buildDelegateRanking()
vasild 4df1f59
chore: set delegate resignation version to 2
vasild fc0f65c
test: update and enable DelegateResignationTransaction unit tests
vasild 6c8f73c
test: generate a proper tx to test delegate resignation
vasild 049e826
Merge remote-tracking branch 'ArkEcosystem/core/develop' into feat/de…
vasild fb137fa
test: use unitnet for unit tests
vasild 4d9ffda
fix: throw if a delegate already resigned
4200d0d
fix: variable name collision
9031872
Merge remote-tracking branch 'ArkEcosystem/core/develop' into feat/de…
vasild 9cf775b
Merge branch 'develop' into feat/delegate-resignation
faustbrian 0fd5b3c
Merge branch 'develop' into feat/delegate-resignation
faustbrian 14d57b9
test: adjust tests after 1bea3ff4e
vasild 17c6487
Merge branch 'develop' into feat/delegate-resignation
faustbrian eda7137
Apply suggestions from code review
faustbrian 805c3d8
Update __tests__/functional/transaction-forging/delegate-resignation.…
faustbrian 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.