diff --git a/app/app_test.go b/app/app_test.go index 329618da..87059d45 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -30,6 +30,19 @@ func Test_MsgServiceRouter(t *testing.T) { sdk.MsgTypeURL(&erc20types.MsgUpdateDenomAlias{}): {}, sdk.MsgTypeURL(&erc20types.MsgRegisterERC20{}): {}, sdk.MsgTypeURL(&erc20types.MsgRegisterCoin{}): {}, + + // MsgClaim + sdk.MsgTypeURL(&crosschaintypes.MsgSendToExternalClaim{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgSendToFxClaim{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgBridgeCallClaim{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgBridgeTokenClaim{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgOracleSetUpdatedClaim{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgBridgeCallResultClaim{}): {}, + + // MsgConfirm + sdk.MsgTypeURL(&crosschaintypes.MsgConfirmBatch{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgOracleSetConfirm{}): {}, + sdk.MsgTypeURL(&crosschaintypes.MsgBridgeCallConfirm{}): {}, } for _, msg := range myApp.InterfaceRegistry().ListImplementations(sdk.MsgInterfaceProtoName) { if _, ok := deprecated[msg]; ok { diff --git a/app/interface_registry.json b/app/interface_registry.json index 764c27ab..32f3c834 100644 --- a/app/interface_registry.json +++ b/app/interface_registry.json @@ -413,7 +413,10 @@ "/fx.gravity.crosschain.v1.MsgAddDelegate", "/fx.gravity.crosschain.v1.MsgAddOracleDeposit", "/fx.gravity.crosschain.v1.MsgBondedOracle", + "/fx.gravity.crosschain.v1.MsgBridgeCallClaim", "/fx.gravity.crosschain.v1.MsgBridgeCallConfirm", + "/fx.gravity.crosschain.v1.MsgBridgeCallResultClaim", + "/fx.gravity.crosschain.v1.MsgBridgeTokenClaim", "/fx.gravity.crosschain.v1.MsgCancelSendToExternal", "/fx.gravity.crosschain.v1.MsgClaim", "/fx.gravity.crosschain.v1.MsgConfirm", @@ -421,9 +424,12 @@ "/fx.gravity.crosschain.v1.MsgEditBridger", "/fx.gravity.crosschain.v1.MsgIncreaseBridgeFee", "/fx.gravity.crosschain.v1.MsgOracleSetConfirm", + "/fx.gravity.crosschain.v1.MsgOracleSetUpdatedClaim", "/fx.gravity.crosschain.v1.MsgReDelegate", "/fx.gravity.crosschain.v1.MsgRequestBatch", "/fx.gravity.crosschain.v1.MsgSendToExternal", + "/fx.gravity.crosschain.v1.MsgSendToExternalClaim", + "/fx.gravity.crosschain.v1.MsgSendToFxClaim", "/fx.gravity.crosschain.v1.MsgSetOrchestratorAddress", "/fx.gravity.crosschain.v1.MsgUnbondedOracle", "/fx.gravity.crosschain.v1.MsgUpdateChainOracles", diff --git a/x/crosschain/types/codec.go b/x/crosschain/types/codec.go index 478c9866..4dcc5a92 100644 --- a/x/crosschain/types/codec.go +++ b/x/crosschain/types/codec.go @@ -37,7 +37,17 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &MsgUpdateChainOracles{}, &MsgClaim{}, + &MsgSendToExternalClaim{}, + &MsgSendToFxClaim{}, + &MsgBridgeCallClaim{}, + &MsgBridgeTokenClaim{}, + &MsgOracleSetUpdatedClaim{}, + &MsgBridgeCallResultClaim{}, + &MsgConfirm{}, + &MsgConfirmBatch{}, + &MsgOracleSetConfirm{}, + &MsgBridgeCallConfirm{}, ) registry.RegisterImplementations(