-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
0.39->0.40 CLI migrate
command
#6839
Merged
Merged
Changes from 18 commits
Commits
Show all changes
234 commits
Select commit
Hold shift + click to select a range
9f216fd
WIP on BaseAccount protobuf pub_key
aaronc b8a0523
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc 8a086a1
WIP on BaseAccount.PubKey
aaronc 09361c4
Migrate supply
amaury1093 09307ad
Change validator_slash_event
amaury1093 df33386
Add evidence
amaury1093 5d0aa26
Add evidence to genutil migrate
amaury1093 5de7d11
Fix lint
amaury1093 c91c836
Merge branch 'master' into am-6751-migrate
amaury1093 971e6f4
Merge branch 'master' into am-6751-migrate
amaury1093 ce0afd2
Add println
amaury1093 78f8d73
Merge branch 'master' into aaronc/revert-5682
aaronc aeb3a51
Merge branch 'master' into am-6751-migrate
amaury1093 754be4c
No _ in package name
amaury1093 9dc0198
Add slashing migrate
amaury1093 efadf72
Add tests for slashing
amaury1093 6027250
Add capacity to array
amaury1093 bb2097d
stray fmt.Prinlnt
amaury1093 671edfb
WIP on BaseAccount pub key
aaronc 92d0cdf
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc 15b8799
Merge remote-tracking branch 'origin/aaronc/revert-5682' into aaronc/…
aaronc 05211e8
Put current types in v0_40
amaury1093 c06e6c7
Add evidence old types
amaury1093 10e7fc3
Remove useless impl
amaury1093 b48160a
Add RegisterInterface
amaury1093 eec171f
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc 00b48a6
Add clientCtx to argument
amaury1093 766bb7e
Register evidence interfaces
amaury1093 405c669
Merge branch 'master' into am-6751-migrate
amaury1093 7d44cac
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 5f6020e
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 7f12c37
Update PubKey
aaronc 5e9a549
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aa…
aaronc d145ca1
Update Account
aaronc a6c6d5c
Docs
aaronc 3a7dbd2
WIP on protobuf keys
aaronc 67ea545
Use Type() and Bytes() in sr25519 pub key Equals
blushi 8f3be04
Add tests
blushi 7c2d693
Add few more tests
blushi 7c53579
Update other pub/priv key types Equals
blushi 92c73ec
Fix PrivKey's Sign method
blushi d81291e
Rename variables in tests
blushi 03a086d
Fix infinite recursive calls
blushi ad81bd4
Use tm ed25519 keys
blushi 9587c2b
Add Sign and VerifySignature tests
blushi a6c6610
Merge branch 'master' into marie/protobuf-pubkeys
blushi 41261d1
Remove ed25519 and sr25519 references
blushi 4c1358b
proto linting
blushi d6a2751
Add proto crypto file
blushi eb020c2
Implement some of the new multisig proto type methods
blushi a4f6dd6
Add tests for MultisigThresholdPubKey
blushi e1a20ce
Add tests for pubkey pb/amino conversion functions
blushi c17e7e4
Merge branch 'master' into marie/protobuf-pubkeys
blushi 0a77078
Merge branch 'aaronc/revert-5682' into marie/6928-baseacc-pk
blushi a5d2874
Merge branch 'marie/protobuf-pubkeys' into marie/6928-baseacc-pk
blushi bc5af8b
Move crypto types.go and register new proto pubkeys
blushi f4a1fd5
Add missing pointer ref
blushi a0753a0
Merge branch 'marie/protobuf-pubkeys' into marie/6928-baseacc-pk
blushi ca063bf
Merge branch 'master' into marie/protobuf-pubkeys
blushi b9ab6c9
Address review comments
blushi 6fc4073
panic in MultisigThresholdPubKey VerifySignature
blushi 6609369
Merge branch 'marie/protobuf-pubkeys' of github.com:cosmos/cosmos-sdk…
blushi 64d44cb
Merge branch 'master' into marie/protobuf-pubkeys
blushi b210837
Merge branch 'marie/protobuf-pubkeys' into marie/6928-baseacc-pk
blushi 09db3e9
Fix compile errors
blushi 3103c29
Merge branch 'master' into marie/protobuf-pubkeys
blushi e0fc222
Remove pk conversion in ante handler
blushi 5c30dc6
Merge branch 'master' into marie/6928-baseacc-pk
blushi d9eee8d
Use internal crypto.PubKey in multisig
blushi a221994
Merge branch 'master' into marie/protobuf-pubkeys
blushi 339f460
Add tests for MultisigThresholdPubKey VerifyMultisignature
blushi 9ee65fa
Merge branch 'master' into marie/protobuf-pubkeys
blushi 190bee2
Merge branch 'master' into marie/protobuf-pubkeys
blushi af94272
Only keep LegacyAminoMultisigThresholdPubKey and move to proto keys t…
blushi b4393b4
Remove conversion functions and introduce internal PubKey type
blushi b67f9d4
Override Amino marshaling for proto pubkeys
amaury1093 08cd25a
Merge master
amaury1093 9a4dc25
Make proto-gen
amaury1093 fb8e7a9
Start removal of old PubKeyMultisigThreshold references
blushi 4e4ce4e
Fix tests
amaury1093 d3c76f5
Fix solomachine
amaury1093 01175d3
Fix ante handler tests
amaury1093 3c4ddbb
Pull latest go-amino
amaury1093 cee8f30
Remove ed25519
amaury1093 ba95f50
Remove old secp256k1 PubKey and PrivKey
blushi 330a0be
Uncomment test case
blushi e88c126
Fix linting issues
blushi 54fb9a3
More linting
blushi 07228ba
Merge branch 'master' into marie/protobuf-pubkeys
blushi 2b63374
Merge branch 'marie/protobuf-pubkeys' into marie/7109-multisig
blushi 34ed4a0
Revert tests keys values
blushi a39dd4c
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into mari…
amaury1093 34e3f89
Add Amino overrides to proto keys
amaury1093 ddd1a72
Add pubkey test
amaury1093 935c51b
Fix tests
amaury1093 f31d625
Use threshold isntead of K
amaury1093 f8af7fc
Merge branch 'master' into marie/protobuf-pubkeys
amaury1093 e410121
Merge branch 'master' into marie/protobuf-pubkeys
amaury1093 4114ce9
Standardize Type
amaury1093 af415fc
Revert standardize types commit
amaury1093 0934a00
Merge branch 'master' into marie/protobuf-pubkeys
alexanderbez 0006cb7
Merge branch 'marie/protobuf-pubkeys' of ssh://github.com/cosmos/cosm…
amaury1093 d9294ee
Merge branch 'master' into marie/protobuf-pubkeys
amaury1093 7177df5
Fix build
amaury1093 794bc35
Fix lint
amaury1093 8001673
Fix lint
amaury1093 ee712f1
Add comment
amaury1093 912561f
Merge branch 'marie/protobuf-pubkeys' of ssh://github.com/cosmos/cosm…
amaury1093 9623425
Merge branch 'marie/protobuf-pubkeys' of ssh://github.com/cosmos/cosm…
amaury1093 56ecf47
Register crypto.PubKey
amaury1093 d3e4d1e
Add empty key in BuildSimTx
amaury1093 c5d5c81
Simplify proto names
amaury1093 37be659
Merge branch 'marie/protobuf-pubkeys' of ssh://github.com/cosmos/cosm…
amaury1093 afddbc9
Unpack interfaces for signing desc
amaury1093 f70ab56
Fix IBC tests?
amaury1093 9d0ac0a
Format proto
amaury1093 d3b2896
Use secp256k1 in ibc
amaury1093 e8b30d7
Merge branch 'marie/protobuf-pubkeys' of ssh://github.com/cosmos/cosm…
amaury1093 96c27ec
Fixed merge issues
amaury1093 9e0a4bb
Uncomment tests
amaury1093 f2dafe7
Update x/ibc/testing/solomachine.go
colin-axner ccc3afe
Merge branch 'am-7147-aminojson' of ssh://github.com/cosmos/cosmos-sd…
amaury1093 e5778a0
UnpackInterfaces for solomachine types
amaury1093 0a47ff3
Remove old multisig
amaury1093 bb0b56d
Add amino marshal for multisig
amaury1093 9f9921e
Fix lint
amaury1093 f5d3701
Correctly register amino
amaury1093 18eeb67
One test left!
amaury1093 bf72fbd
Remove old struct
amaury1093 9c07e68
Fix test
amaury1093 66f78cd
Fix test
amaury1093 9f8aab7
Unpack into tmcrypto
amaury1093 5a0490f
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into mari…
amaury1093 c7c289e
Merge branch 'marie/7109-multisig' of ssh://github.com/cosmos/cosmos-…
amaury1093 7a596dc
Remove old threshold pubkey tests
blushi 04b86d9
Fix register amino
amaury1093 3211baa
Fix lint
amaury1093 2103eca
Use sdk crypto PubKey in multisig UnpackInterfaces
blushi bf3ffbe
Merge branch 'master' into marie/7109-multisig
blushi 421f948
Potential fix?
amaury1093 fa3840a
Merge branch 'marie/7109-multisig' of ssh://github.com/cosmos/cosmos-…
amaury1093 c63f3e7
Register LegacyAminoPubKey
amaury1093 9e5f57c
Merge branch 'master' into marie/7109-multisig
amaury1093 d195542
Register our own PubKey
amaury1093 b35c35e
Register tmcrypto PubKey
amaury1093 b19450f
Register both PubKeys
amaury1093 7175814
Register interfaces in test
amaury1093 bf2347d
Refactor fiels
amaury1093 09e1fbc
Add comments
amaury1093 49830d2
Merge branch 'am-7147-aminojson' into marie/6928-baseacc-pk
blushi ed01620
Remove old cosmos-sdk/crypto/keys reference
blushi ec1c22d
Merge branch 'master' into marie/7109-multisig
alexanderbez 8f1fda1
Use anil's suggestion
amaury1093 27ae607
Add norace back
amaury1093 aa0867e
Merge branch 'marie/7109-multisig' into am-7147-aminojson
amaury1093 529eef4
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-7…
amaury1093 006d596
Use our own ed25519
amaury1093 6f7555a
Merge branch 'master' into am-7147-aminojson
amaury1093 57850e7
Fix pubkey types
amaury1093 56f5ec3
Fix network tests
amaury1093 fe58118
Fix more tests
amaury1093 7218bf6
Make ibc work?
amaury1093 92454ea
Use TM pubkey in NewValidator
amaury1093 5fe532c
Fix lint
amaury1093 7a423d8
Put interface in tpyes
amaury1093 f2e47fb
rerun CI
amaury1093 99ae231
Better name register
amaury1093 8ceb11f
Remove stray code
amaury1093 07c181d
Add ed25519 tests
amaury1093 c1d283e
Merge branch 'master' into am-7147-aminojson
alexanderbez 3d90dd6
Check nil
amaury1093 7bd4538
Correct interface impl assert
amaury1093 ecaac5e
rerun CI
amaury1093 0b770a3
Merge branch 'master' into am-7147-aminojson
amaury1093 2d35e5e
Add fix for Bech32
amaury1093 6f6f3f2
Address comments
amaury1093 3c14018
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-7…
amaury1093 451e490
FIx lint
amaury1093 00f6a67
Add tests for solomachine unpack interfaces
amaury1093 cb16dbc
Fix query tx by hash
amaury1093 edba7cb
Better name in amino register
amaury1093 c1dbaa9
Merge branch 'am-7147-aminojson' of ssh://github.com/cosmos/cosmos-sd…
amaury1093 423b370
Merge branch 'am-own-ed25519' into marie/6928-baseacc-pk
amaury1093 a5a866e
Fix lint
amaury1093 990ef48
Add back ed25519 test (fixes #7352)
amaury1093 0286d53
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into mari…
amaury1093 572ea4f
go mod tidy
amaury1093 0e0e11f
Fix merge issues
amaury1093 afbaec0
Sort import
amaury1093 69212c3
Add test for backwards-compatibility
amaury1093 ca916de
Fix tests
amaury1093 ab924f3
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into mari…
amaury1093 a849010
Fix merge issue
amaury1093 2af2162
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 eba9b77
Fix merge issues
amaury1093 e59ff1d
Fix tests build
amaury1093 63b90e3
Fix tests
amaury1093 abfc8d8
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 fee5ce4
Marshal to proto
amaury1093 ac5f813
Fix 040 marshalling
amaury1093 c4edcfd
Remove dontcover
amaury1093 02aad5e
Fix equivocation
amaury1093 69fd362
Add vesting
amaury1093 e2cf55e
Merge branch 'marie/6928-baseacc-pk' into am-6751-migrate
amaury1093 56bf45b
Fix vesting
amaury1093 ebf67bc
Fix slashing test
amaury1093 829e275
Fix evidence test
amaury1093 07276d0
Remove pb.go files
amaury1093 20ad98b
Fix legacy auth tests
amaury1093 2633331
deterministic tests help
amaury1093 851becf
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 0fb92ab
Fix auth tests
amaury1093 10a071a
Remove useless code
amaury1093 93da98f
Small cleanups
amaury1093 2a1ab88
Add comment
amaury1093 86c4046
Fix migrate hub
amaury1093 d1345a2
fmt.Println
amaury1093 4e8b135
No need to marshal indent
amaury1093 660b507
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 d7e7e73
Update proto comment
amaury1093 7ef30db
Fix merge issues
amaury1093 69a90e1
Support nil pubkey
amaury1093 2a3b43e
Use protobuf empty
amaury1093 a3bb883
Merge branch 'master' into am-6751-migrate
amaury1093 c0bf888
Merge branch 'master' into am-6751-migrate
amaury1093 165f0c2
Address comments
amaury1093 e707f63
Fix tests
amaury1093 e28a430
Merge branch 'master' into am-6751-migrate
amaury1093 ced08d3
Merge branch 'master' into am-6751-migrate
amaury1093 963723c
Merge branch 'master' into am-6751-migrate
zmanian 7dc4520
Merge branch 'master' into am-6751-migrate
amaury1093 448f572
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am-6…
amaury1093 5283491
Unify legacy package names
amaury1093 1d4fd00
Merge branch 'master' into am-6751-migrate
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// DONTCOVER | ||
// nolint | ||
package v0_34 | ||
package v034 | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package v0_36 | ||
package v036 | ||
|
||
import ( | ||
"testing" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// DONTCOVER | ||
// nolint | ||
package v0_36 | ||
package v036 | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// DONTCOVER | ||
// nolint | ||
package v0_34 | ||
package v034 | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package v0_36 | ||
package v036 | ||
|
||
import ( | ||
v034distr "github.com/cosmos/cosmos-sdk/x/distribution/legacy/v0_34" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package v0_36 | ||
package v036 | ||
|
||
import ( | ||
"testing" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// DONTCOVER | ||
// nolint | ||
package v0_36 | ||
package v036 | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package v0_38 | ||
package v038 | ||
|
||
// DONTCOVER | ||
// nolint | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package v0_38 | ||
package v038 | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
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.
This was
validator_slash_event
in v0.39cosmos-sdk/x/distribution/types/genesis.go
Line 51 in 89ceb62
don't want to create a migrate script for this