From 10074ac416c8562a579aca586655d502681602fa Mon Sep 17 00:00:00 2001 From: olegfomenko Date: Tue, 25 Jun 2024 16:49:55 +0300 Subject: [PATCH] fixed: adding arbitrary to codec --- x/rarimocore/types/codec.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x/rarimocore/types/codec.go b/x/rarimocore/types/codec.go index 3411be99..5a44d6d3 100644 --- a/x/rarimocore/types/codec.go +++ b/x/rarimocore/types/codec.go @@ -32,6 +32,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&SlashProposal{}, "rarimocore/SlashProposal", nil) cdc.RegisterConcrete(&DropPartiesProposal{}, "rarimocore/DropPartiesProposal", nil) cdc.RegisterConcrete(&ArbitrarySigningProposal{}, "rarimocore/ArbitrarySigningProposal", nil) + cdc.RegisterConcrete(&Arbitrary{}, "rarimocore/Arbitrary", nil) // this line is used by starport scaffolding # 2 } @@ -144,6 +145,12 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { (*proto.Message)(nil), &ViolationReport{}, ) + + registry.RegisterInterface( + "rarimo.rarimocore.rarimocore.Arbitrary", + (*proto.Message)(nil), + &Arbitrary{}, + ) // this line is used by starport scaffolding # 3 msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)