diff --git a/app/params/proto.go b/app/params/proto.go index c499108e..f774759b 100644 --- a/app/params/proto.go +++ b/app/params/proto.go @@ -3,9 +3,15 @@ package params import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/types/module/testutil" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) // MakeEncodingConfig creates an EncodingConfig for Amino-based tests. func MakeEncodingConfig(modules ...module.AppModuleBasic) testutil.TestEncodingConfig { - return testutil.MakeTestEncodingConfig(modules...) + encCfg := testutil.MakeTestEncodingConfig(modules...) + + // register auth type interfaces + authtypes.RegisterInterfaces(encCfg.InterfaceRegistry) + + return encCfg }