From ca8b1966a4eb4a6e8da1c482d7210f250c0ea329 Mon Sep 17 00:00:00 2001 From: Haiyi Zhong Date: Tue, 3 Dec 2024 14:06:47 -0500 Subject: [PATCH] refactor(axelarnet)!: remove CallContract message type --- app/codec/codec.go | 1 + client/docs/static/openapi/index.html | 96 +++--- client/docs/static/openapi/openapi.yaml | 281 ----------------- client/docs/static/swagger/swagger.yaml | 303 ------------------- client/docs/statik/statik.go | 2 +- docs/proto/proto-docs.md | 1 - proto/axelar/axelarnet/v1beta1/service.proto | 7 - proto/axelar/axelarnet/v1beta1/tx.proto | 3 +- x/axelarnet/client/cli/tx.go | 61 ---- x/axelarnet/handler.go | 7 - x/axelarnet/keeper/msg_server.go | 82 ----- x/axelarnet/keeper/msg_server_test.go | 211 ------------- x/axelarnet/types/codec.go | 2 - x/axelarnet/types/msg_call_contract.go | 64 ---- x/axelarnet/types/service.pb.go | 140 ++++----- x/axelarnet/types/service.pb.gw.go | 78 ----- x/axelarnet/types/tx.pb.go | 138 ++++----- 17 files changed, 172 insertions(+), 1305 deletions(-) delete mode 100644 x/axelarnet/types/msg_call_contract.go diff --git a/app/codec/codec.go b/app/codec/codec.go index cdeaa8e02..af934bb9b 100644 --- a/app/codec/codec.go +++ b/app/codec/codec.go @@ -32,6 +32,7 @@ func RegisterLegacyMsgInterfaces(registry cdctypes.InterfaceRegistry) { r.RegisterCustomTypeURL((*sdk.Msg)(nil), "/axelar.evm.v1beta1.CreateTransferOwnershipRequest", &evmtypes.CreateTransferOwnershipRequest{}) r.RegisterCustomTypeURL((*sdk.Msg)(nil), "/axelar.axelarnet.v1beta1.RegisterIBCPathRequest", &axelarnettypes.RegisterIBCPathRequest{}) + r.RegisterCustomTypeURL((*sdk.Msg)(nil), "/axelar.axelarnet.v1beta1.CallContractRequest", &axelarnettypes.CallContractRequest{}) r.RegisterCustomTypeURL((*sdk.Msg)(nil), "/axelarnet.v1beta1.LinkRequest", &axelarnettypes.LinkRequest{}) r.RegisterCustomTypeURL((*sdk.Msg)(nil), "/axelarnet.v1beta1.ConfirmDepositRequest", &axelarnettypes.ConfirmDepositRequest{}) diff --git a/client/docs/static/openapi/index.html b/client/docs/static/openapi/index.html index bf009273b..befc2db57 100644 --- a/client/docs/static/openapi/index.html +++ b/client/docs/static/openapi/index.html @@ -2124,7 +2124,7 @@ -