-
Notifications
You must be signed in to change notification settings - Fork 680
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
ACP-77: Update ConvertSubnetTx
#3397
Merged
StephenButtolph
merged 352 commits into
master
from
implement-acp-77-update-convert-subnet-tx
Nov 6, 2024
Merged
Changes from all commits
Commits
Show all changes
352 commits
Select commit
Hold shift + click to select a range
30efc6d
ACP-77: Add warp message helpers to follow new specification
StephenButtolph 903f7c3
migrate x/sync to p2p
joshua-kim 34fe3a6
nit
joshua-kim b9d5507
add acp-118 implementation
joshua-kim 99f0cde
undo diff
joshua-kim 00fc8d1
nit
joshua-kim c08a1d7
undo
joshua-kim 9d07a45
nit
joshua-kim f91e0a8
nit
joshua-kim a35b090
add context
joshua-kim dd7029c
fix
joshua-kim 8978452
rename attestor -> verifier
joshua-kim a383209
nit
joshua-kim 8b52ead
nit
joshua-kim 3859d98
Merge branch 'master' into implement-acp-77-update-warp-messages
StephenButtolph 0462fda
Merge branch 'acp-118-handler' into implement-acp-77-temp.0
StephenButtolph 5a362bd
Merge branch 'implement-acp-77-temp.0' into implement-acp-77-sov-vali…
StephenButtolph 3927546
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph a3cc8e8
merged
StephenButtolph 32cb1f0
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 7fe9af9
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph ddb9ba6
Add deactivation owner
StephenButtolph d806f8d
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 556f1eb
fix tests
StephenButtolph 6fbbf17
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 443f2b5
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph d49f77b
Update convertSubnetTx
StephenButtolph 891bca4
Store conversionID
StephenButtolph a33e0df
Include validationID
StephenButtolph 8fee2b4
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph 023aa18
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 09c9155
merged
StephenButtolph cc9f7ae
write conversionID
StephenButtolph f13cf7a
Update validationID
StephenButtolph 646ce06
update nodeID to variable length
StephenButtolph c757fac
fix executor
StephenButtolph e64230d
Fix verification
StephenButtolph 0d3d3b9
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph 4ed0a96
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 3cac2b2
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 01c9072
remove unexpected file
StephenButtolph bcd9f34
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 0893cea
Lint
StephenButtolph 39fff73
Fix unit tests
StephenButtolph e39f5c3
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 232b065
Fix executor unit tests
StephenButtolph 01de954
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph 42fdd43
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 30537a9
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 51c7c7a
Fix fee unit tests
StephenButtolph 3ebeaba
Fix more unit tests
StephenButtolph 363e2be
Fix e2e test
StephenButtolph 1ca7524
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph dc0885c
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph fe2a89a
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 237f590
Allow xsvm to sign arbitrary warp messages
StephenButtolph bc53046
Merge branch 'implement-acp-77-allow-xsvm-signing' into implement-acp…
StephenButtolph f1d538a
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 107ed35
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 127a3fa
nit
StephenButtolph 061aa6e
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 3f21dee
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 71b997c
Expand e2e test
StephenButtolph 1562139
Merge branch 'implement-acp-77-update-convert-subnet-tx' of github.co…
StephenButtolph 567b00f
fix test
StephenButtolph 1471214
reduce diff
StephenButtolph 39beefb
backport tests
StephenButtolph 19d4c35
nit cleanup
StephenButtolph ab85ce1
Add ConvertSubnetTx complexity tests
StephenButtolph 2b407e9
Update dynamic fee defaults
StephenButtolph 1986804
nit cleanup
StephenButtolph 8279972
Remove unexpected block unwrapping
StephenButtolph 3d5d6c1
Merge branch 'fix-block-passing' into implement-acp-77-sov-validators…
StephenButtolph b5741c6
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 8d754c0
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 8d7adfc
Remove unused testing code
StephenButtolph d7ba4fb
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph 89603c2
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 56bdf75
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph d550c97
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph 3d3ec3e
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 1cdaac2
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 915de36
Fix merge
StephenButtolph 9226649
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph 281ab34
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 486226d
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 83cc0dc
merged
StephenButtolph 702639a
ACP-77: Add ConversionID to state
StephenButtolph 4b562f0
nit
StephenButtolph 7f3dd5e
nit
StephenButtolph 599f1e6
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph b9c47de
merged
StephenButtolph f40c1b3
nit
StephenButtolph f69ec51
merged
StephenButtolph 51f009b
nit
StephenButtolph 36714ed
Merge branch 'implement-acp-77-add-conversion-id' into implement-acp-…
StephenButtolph 05a7b13
nit
StephenButtolph 09c5126
Merge branch 'implement-acp-77-add-conversion-id' into implement-acp-…
StephenButtolph a1db89e
nit
StephenButtolph 2e7595c
Merge branch 'implement-acp-77-add-conversion-id' into implement-acp-…
StephenButtolph 2fb7637
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 30d788f
merged
StephenButtolph 575b36a
remove unneeded assignment
StephenButtolph d2d0f69
update comment
StephenButtolph b6b6515
update comment
StephenButtolph 6ffcd1b
update doc
StephenButtolph ad00180
Address comments
StephenButtolph f1b07d2
nit
StephenButtolph 7fb99c0
fix unit tests
StephenButtolph 65b5d50
Merge branch 'implement-acp-77-add-conversion-id' into implement-acp-…
StephenButtolph 8791e78
merged
StephenButtolph f31cfc6
Add SoV Excess to P-chain state
StephenButtolph fe9a76d
merged
StephenButtolph 369545d
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 69adceb
merged
StephenButtolph 58d5b8d
Populate BLS key diffs for subnet validators
StephenButtolph 273fbbe
Populate BLS key diffs for subnet validators
StephenButtolph 290ef97
Update mocks
StephenButtolph 9155e1f
Fix tests
StephenButtolph cadf8f7
Merge branch 'master' into populate-subnet-public-key-diffs
StephenButtolph 803d0c4
nit
StephenButtolph 76f4eee
Merge branch 'populate-subnet-public-key-diffs' of github.com:ava-lab…
StephenButtolph a2c7773
Update test and populate public keys during startup
StephenButtolph 95c42a1
comment
StephenButtolph 3d7bd81
Merge branch 'master' into populate-subnet-public-key-diffs
StephenButtolph bbc395b
merged
StephenButtolph 3a03597
merged
StephenButtolph 21cdc32
Update P-chain state staker tests
StephenButtolph 845f1d2
merged
StephenButtolph 91a7cd7
fix test
StephenButtolph df02f3c
Merge branch 'update-state-staker-tests' into populate-subnet-public-…
StephenButtolph c848fee
fix test
StephenButtolph 79c9b40
nit
StephenButtolph d8819fc
Merge branch 'master' into update-state-staker-tests
StephenButtolph 667002e
Merge branch 'update-state-staker-tests' into populate-subnet-public-…
StephenButtolph 31be1e2
merged
StephenButtolph fb7f564
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph cd317f5
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph 8f0a080
merged
StephenButtolph d482de8
Merge branch 'populate-subnet-public-key-diffs' into implement-acp-77…
StephenButtolph fc27346
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph e8b21ec
Verify no SoV + legacy overlap
StephenButtolph 7f517c7
Fix legacy validator migration
StephenButtolph 7d0d7e5
merged
StephenButtolph 08bd9e3
ACP-77: Add subnetIDNodeID struct
StephenButtolph 78c1c3d
nit
StephenButtolph 6547c6d
Merge branch 'master' into implement-acp-77-add-subnetid-nodeid
StephenButtolph 38ee164
Merge branch 'implement-acp-77-add-subnetid-nodeid' into implement-ac…
StephenButtolph d2137ef
fix merge
StephenButtolph 5845d11
Split writeCurrentStakers into multiple functions
StephenButtolph 6c3116a
merged
StephenButtolph d0d1602
reduce diff
StephenButtolph d397375
reduce diff
StephenButtolph 5f8a09c
reduce diff
StephenButtolph 3e9dc01
reduce diff
StephenButtolph da3a726
reduce diff
StephenButtolph 8483ced
cleanup
StephenButtolph 0507ce7
nit
StephenButtolph 0022a65
Merge branch 'refactor-write-current-stakers' into implement-acp-77-s…
StephenButtolph 8bbeee6
Add comment
StephenButtolph 08dd776
comment
StephenButtolph 255b0bf
nit
StephenButtolph 3bc547d
reduce diff
StephenButtolph bff468d
Merge branch 'master' into refactor-write-current-stakers
StephenButtolph 99f3c97
Merge branch 'refactor-write-current-stakers' into implement-acp-77-s…
StephenButtolph 7cf1668
merged
StephenButtolph 41f78f0
nit
StephenButtolph 29cd6ba
nit
StephenButtolph 8dfcbb1
Fix initValidatorSets
StephenButtolph ef29548
nit
StephenButtolph a77fb3c
test subnetIDNodeIDDB
StephenButtolph ce05dc8
fix comments
StephenButtolph 3d04cef
nit
StephenButtolph dc35645
nit
StephenButtolph d472a9f
Reduce diff
StephenButtolph 34ba29b
add comment
StephenButtolph 97029aa
reduce diff
StephenButtolph dbeee70
Add NumSubnets to the validator manager interface
StephenButtolph 729ded5
merged
StephenButtolph 3621e53
add comment
StephenButtolph de2be9f
merged
StephenButtolph 92a2277
Delete empty entries
StephenButtolph 6375aa2
simplify state futher
StephenButtolph aedff15
nit
StephenButtolph 1ac030a
nit
StephenButtolph 9e0d7d5
Add caching
StephenButtolph 9993b05
nit
StephenButtolph 547d426
nit
StephenButtolph 6bcc0ea
Add TODOs
StephenButtolph 6065604
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph a7792c7
Add config changes to readme
StephenButtolph 39b961b
Merge branch 'implement-acp-77-sov-validators-state' of github.com:av…
StephenButtolph 4723c46
Improve doc for PutSubnetOnlyValidator
StephenButtolph 46c4889
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph a576cd1
merged
StephenButtolph f1ca6e6
Add test that decreases weight
StephenButtolph 71f88e8
Fix regression
StephenButtolph c2ffd17
nit
StephenButtolph 2b5d7c7
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 91a6465
nit
StephenButtolph 07370a5
nits
StephenButtolph 23aff43
Add additional test
StephenButtolph 66011f0
Move caching logic
StephenButtolph 32bba0e
Merge branch 'master' into implement-acp-77-sov-validators-state
StephenButtolph d183148
merged
StephenButtolph b1bb458
nit
StephenButtolph ad31107
Add weight diff helpers
StephenButtolph cee236e
nit
StephenButtolph 900eba3
add -> addOrSub
StephenButtolph fd48bde
merged
StephenButtolph 7cbf31b
fix merge
StephenButtolph 33d297d
Add test
StephenButtolph 486f732
nit
StephenButtolph b448a04
reduce diff
StephenButtolph 0685531
Add tests
StephenButtolph bb9f853
test excess and fees
StephenButtolph e6e3e76
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 3077356
merged
StephenButtolph 69837c1
improve caching
StephenButtolph 8611fe4
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph a5d3930
cleanup
StephenButtolph d74cdff
Simplify test
StephenButtolph 7cddfc0
reduce diff
StephenButtolph afc9054
nit
StephenButtolph 3c8246e
nit
StephenButtolph 1268ed1
nit
StephenButtolph f7b75bc
nits
StephenButtolph 82a249b
nit
StephenButtolph d37e9f3
nit
StephenButtolph 9dc642a
num -> net for possibly negative value
StephenButtolph 22de2b1
Address PR comments
StephenButtolph cc0e0ee
add comments
StephenButtolph 33fea00
Merge branch 'implement-acp-77-sov-validators-state' into implement-a…
StephenButtolph 915eb71
nit
StephenButtolph 3811423
Merge branch 'implement-acp-77-deactivation' into implement-acp-77-up…
StephenButtolph b0c6f0b
merged
StephenButtolph 74edd4f
reduce diff
StephenButtolph 7d31e7a
nit
StephenButtolph fca9460
nit
StephenButtolph 158621c
nit
StephenButtolph 4c6462c
nit
StephenButtolph a217d1b
nit
StephenButtolph 3987922
nit
StephenButtolph 56475cf
Add nodeID tests
StephenButtolph db85cf1
ACP-77: Refactor e2e test
StephenButtolph 8a18b14
nit
StephenButtolph 6dc3e84
merged
StephenButtolph f8552ba
reduce diff
StephenButtolph 88fe959
merged
StephenButtolph 5b08c6a
test subnet state prior to conversion
StephenButtolph 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
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.
curious what the expected validatorSet is before the conversion?
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.
Added as part of the test