Skip to content

Commit

Permalink
fixed: adding arbitrary to codec
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Jun 25, 2024
1 parent 4a989cf commit 10074ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions x/rarimocore/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 10074ac

Please sign in to comment.