diff --git a/x/bandoracle/types/codec.go b/x/bandoracle/types/codec.go index c189264a3..4faf682ab 100644 --- a/x/bandoracle/types/codec.go +++ b/x/bandoracle/types/codec.go @@ -21,5 +21,6 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { var ( Amino = codec.NewLegacyAmino() - ModuleCdc = codec.NewAminoCodec(Amino) + // ModuleCdc = codec.NewAminoCodec(Amino) + ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )