feat(staking)!: add consensus and validator address codec in staking (backport #16959) (#16977)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2023-07-13 11:40:57 +00:00
committed by GitHub
co-authored by Julien Robert
parent 914e4e5136
commit 4076c6a918
38 changed files with 191 additions and 148 deletions
-2
View File
@@ -46,7 +46,6 @@ func Example() {
authtypes.ProtoBaseAccount,
map[string][]string{minttypes.ModuleName: {authtypes.Minter}},
addresscodec.NewBech32Codec("cosmos"),
addresscodec.NewBech32Codec("cosmosvaloper"),
"cosmos",
authority,
)
@@ -136,7 +135,6 @@ func Example_oneModule() {
authtypes.ProtoBaseAccount,
map[string][]string{minttypes.ModuleName: {authtypes.Minter}},
addresscodec.NewBech32Codec("cosmos"),
addresscodec.NewBech32Codec("cosmosvaloper"),
"cosmos",
authority,
)