Skip to content

Commit

Permalink
add missing msg registeration
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 12, 2024
1 parent 44b09ba commit bfc5634
Show file tree
Hide file tree
Showing 8 changed files with 1,366 additions and 490 deletions.
206 changes: 179 additions & 27 deletions api/opinit/opchild/v1/genesis.pulsar.go

Large diffs are not rendered by default.

620 changes: 582 additions & 38 deletions api/opinit/opchild/v1/types.pulsar.go

Large diffs are not rendered by default.

724 changes: 404 additions & 320 deletions api/opinit/ophost/v1/tx.pulsar.go

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions api/opinit/ophost/v1/tx_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions proto/opinit/ophost/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ service Msg {
// UpdateMetadata defines a rpc handler method for MsgUpdateMetadata.
rpc UpdateMetadata(MsgUpdateMetadata) returns (MsgUpdateMetadataResponse);

// UpdateOracleConfig defines a rpc handler method for MsgUpdateOracleConfig.
rpc UpdateOracleConfig(MsgUpdateOracleConfig) returns (MsgUpdateOracleConfigResponse);

// UpdateParams defines an operation for updating the
// x/opchild module parameters.
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
Expand Down
2 changes: 2 additions & 0 deletions x/ophost/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
legacy.RegisterAminoMsg(cdc, &MsgUpdateBatchInfo{}, "ophost/MsgUpdateBatchInfo")
legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "ophost/MsgUpdateParams")
legacy.RegisterAminoMsg(cdc, &MsgUpdateMetadata{}, "ophost/MsgUpdateMetadata")
legacy.RegisterAminoMsg(cdc, &MsgUpdateOracleConfig{}, "ophost/MsgUpdateOracleConfig")

cdc.RegisterConcrete(Params{}, "ophost/Params", nil)
cdc.RegisterConcrete(&BridgeAccount{}, "ophost/BridgeAccount", nil)
Expand All @@ -41,6 +42,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
&MsgUpdateBatchInfo{},
&MsgUpdateParams{},
&MsgUpdateMetadata{},
&MsgUpdateOracleConfig{},
)

// auth account registration
Expand Down
Loading

0 comments on commit bfc5634

Please sign in to comment.