feat(auth,client/v2): add validator address codec (backport #16768) (#16789)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2023-06-30 10:33:40 +00:00
committed by GitHub
co-authored by Julien Robert
parent a1507450b7
commit 0bbfc654a3
55 changed files with 2334 additions and 1722 deletions
+2
View File
@@ -46,6 +46,7 @@ func Example() {
authtypes.ProtoBaseAccount,
map[string][]string{minttypes.ModuleName: {authtypes.Minter}},
addresscodec.NewBech32Codec("cosmos"),
addresscodec.NewBech32Codec("cosmosvaloper"),
"cosmos",
authority,
)
@@ -135,6 +136,7 @@ func Example_oneModule() {
authtypes.ProtoBaseAccount,
map[string][]string{minttypes.ModuleName: {authtypes.Minter}},
addresscodec.NewBech32Codec("cosmos"),
addresscodec.NewBech32Codec("cosmosvaloper"),
"cosmos",
authority,
)