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

This commit is contained in:
Julien Robert
2023-06-30 09:44:28 +00:00
committed by GitHub
parent 9f8e507219
commit 02b7607768
56 changed files with 2333 additions and 1718 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,
)