refactor(x/group)!: remove MustAccAddressFromBech32 (#20082)

This commit is contained in:
Julián Toledano
2024-04-18 11:01:21 +00:00
committed by GitHub
parent c6b8d7d146
commit 90a0114992
22 changed files with 147 additions and 99 deletions
+6 -3
View File
@@ -1,11 +1,14 @@
package testdata
import "cosmossdk.io/errors"
import (
"cosmossdk.io/core/address"
"cosmossdk.io/errors"
)
var ErrTest = errors.Register("table_testdata", 2, "test")
func (g TableModel) PrimaryKeyFields() []interface{} {
return []interface{}{g.Id}
func (g TableModel) PrimaryKeyFields(_ address.Codec) ([]interface{}, error) {
return []interface{}{g.Id}, nil
}
func (g TableModel) ValidateBasic() error {