Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions axelar/auxiliary/v1beta1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ import "axelar/auxiliary/v1beta1/tx.proto";

option (gogoproto.goproto_registration) = true;

// Msg defines the nexus Msg service.
// Msg defines the auxiliary Msg service.
service MsgService {
rpc Batch(BatchRequest) returns (BatchResponse) {
option (google.api.http) = {
post : "/axelar/auxiliary/batch"
post : "/axelar/auxiliary/v1beta1/batch"
body : "*"
// Deprecated: use /axelar/auxiliary/v1beta1/batch instead
additional_bindings : {post : "/axelar/auxiliary/batch" body : "*"}
};
}
}
5 changes: 5 additions & 0 deletions axelar/axelarnet/v1beta1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@ message Params {
reserved 2; // transaction_fee_rate was removed in v0.15
uint64 transfer_limit = 3;
uint64 end_blocker_limit = 4;
// Deprecated in v1.4: call_contracts_proposal_min_deposits is no longer used
repeated CallContractProposalMinDeposit call_contracts_proposal_min_deposits =
5 [
deprecated = true,
(gogoproto.castrepeated) = "CallContractProposalMinDeposits",
(gogoproto.nullable) = false
];
}

// Deprecated in v1.4: CallContractProposalMinDeposit is no longer used
message CallContractProposalMinDeposit {
option deprecated = true;

string chain = 1
[ (gogoproto.casttype) =
"github.com/axelarnetwork/axelar-core/x/nexus/exported.ChainName" ];
Expand Down
7 changes: 5 additions & 2 deletions axelar/axelarnet/v1beta1/proposal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import "amino/amino.proto";
option go_package = "github.com/axelarnetwork/axelar-core/x/axelarnet/types";
option (gogoproto.goproto_getters_all) = false;

// CallContractsProposal is a gov Content type for calling contracts on other
// chains
// Deprecated in v1.4: CallContractsProposal is no longer supported.
// Use the new governance proposal flow instead.
message CallContractsProposal {
option deprecated = true;
option (amino.name) = "axelarnet/CallContractsProposal";
option (gogoproto.goproto_stringer) = false;

Expand All @@ -19,7 +20,9 @@ message CallContractsProposal {
repeated ContractCall contract_calls = 3 [ (gogoproto.nullable) = false ];
}

// Deprecated in v1.4: ContractCall is no longer supported
message ContractCall {
option deprecated = true;
option (gogoproto.goproto_stringer) = false;

string chain = 1
Expand Down
73 changes: 45 additions & 28 deletions axelar/axelarnet/v1beta1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,78 +12,95 @@ option (gogoproto.goproto_registration) = true;

// Msg defines the axelarnet Msg service.
service MsgService {
rpc Link(LinkRequest) returns (LinkResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/link"
body : "*"
};
}

rpc ConfirmDeposit(ConfirmDepositRequest) returns (ConfirmDepositResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/confirm_deposit"
body : "*"
};
}

rpc ExecutePendingTransfers(ExecutePendingTransfersRequest)
returns (ExecutePendingTransfersResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/execute_pending_transfers"
post : "/axelar/axelarnet/v1beta1/execute_pending_transfers"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/execute_pending_transfers
// instead
additional_bindings : {
post : "/axelar/axelarnet/execute_pending_transfers"
body : "*"
}
};
}

rpc AddCosmosBasedChain(AddCosmosBasedChainRequest)
returns (AddCosmosBasedChainResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/add_cosmos_based_chain"
post : "/axelar/axelarnet/v1beta1/add_cosmos_based_chain"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/add_cosmos_based_chain
// instead
additional_bindings : {
post : "/axelar/axelarnet/add_cosmos_based_chain"
body : "*"
}
};
}

rpc RegisterAsset(RegisterAssetRequest) returns (RegisterAssetResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/register_asset"
post : "/axelar/axelarnet/v1beta1/register_asset"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/register_asset instead
additional_bindings : {
post : "/axelar/axelarnet/register_asset"
body : "*"
}
};
}

rpc RouteIBCTransfers(RouteIBCTransfersRequest)
returns (RouteIBCTransfersResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/route_ibc_transfers"
post : "/axelar/axelarnet/v1beta1/route_ibc_transfers"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/route_ibc_transfers instead
additional_bindings : {
post : "/axelar/axelarnet/route_ibc_transfers"
body : "*"
}
};
}

rpc RegisterFeeCollector(RegisterFeeCollectorRequest)
returns (RegisterFeeCollectorResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/register_fee_collector"
post : "/axelar/axelarnet/v1beta1/register_fee_collector"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/register_fee_collector
// instead
additional_bindings : {
post : "/axelar/axelarnet/register_fee_collector"
body : "*"
}
};
}

rpc RetryIBCTransfer(RetryIBCTransferRequest)
returns (RetryIBCTransferResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/retry_ibc_transfer"
post : "/axelar/axelarnet/v1beta1/retry_ibc_transfer"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/retry_ibc_transfer instead
additional_bindings : {
post : "/axelar/axelarnet/retry_ibc_transfer"
body : "*"
}
};
}

rpc RouteMessage(RouteMessageRequest) returns (RouteMessageResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/route_message"
body : "*"
};
}

rpc CallContract(CallContractRequest) returns (CallContractResponse) {
option (google.api.http) = {
post : "/axelar/axelarnet/call_contract"
post : "/axelar/axelarnet/v1beta1/route_message"
body : "*"
// Deprecated: use /axelar/axelarnet/v1beta1/route_message instead
additional_bindings : {
post : "/axelar/axelarnet/route_message"
body : "*"
}
};
}

Expand Down
5 changes: 4 additions & 1 deletion axelar/axelarnet/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ message RouteMessageRequest {

message RouteMessageResponse {}

// Deprecated in v1.4: CallContractRequest is no longer supported
message CallContractRequest {
option deprecated = true;
option (amino.name) = "axelarnet/CallContract";
option (permission.exported.v1beta1.permission_role) = ROLE_UNRESTRICTED;
option (cosmos.msg.v1.signer) = "sender";
Expand All @@ -296,7 +298,8 @@ message CallContractRequest {
string sender = 6 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
}

message CallContractResponse {}
// Deprecated in v1.4: CallContractResponse is no longer supported
message CallContractResponse { option deprecated = true; }

message UpdateParamsRequest {
option (amino.name) = "axelarnet/UpdateParams";
Expand Down
4 changes: 4 additions & 0 deletions axelar/evm/v1beta1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ message ConfirmKeyTransferStarted {
[ (gogoproto.nullable) = false, (gogoproto.embed) = true ];
}

// Deprecated in v0.22: use ConfirmGatewayTxsStarted instead
message ConfirmGatewayTxStarted {
option deprecated = true;

Expand Down Expand Up @@ -283,7 +284,10 @@ message ContractCallWithMintApproved {
cosmos.base.v1beta1.Coin asset = 8 [ (gogoproto.nullable) = false ];
}

// Deprecated in v1.4: link-deposit protocol removed
message TokenSent {
option deprecated = true;

string chain = 1
[ (gogoproto.casttype) =
"github.com/axelarnetwork/axelar-core/x/nexus/exported.ChainName" ];
Expand Down
15 changes: 7 additions & 8 deletions axelar/evm/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ message GenesisState {

message Chain {
Params params = 1 [ (gogoproto.nullable) = false ];
repeated BurnerInfo burner_infos = 2 [ (gogoproto.nullable) = false ];
utils.v1beta1.QueueState command_queue = 3 [ (gogoproto.nullable) = false ];
repeated ERC20Deposit confirmed_deposits = 4
[ (gogoproto.nullable) = false ];
repeated ERC20Deposit burned_deposits = 5 [ (gogoproto.nullable) = false ];

repeated CommandBatchMetadata command_batches = 8
[ (gogoproto.nullable) = false ];
Expand All @@ -29,10 +25,13 @@ message GenesisState {
repeated Event events = 11 [ (gogoproto.nullable) = false ];
utils.v1beta1.QueueState confirmed_event_queue = 12
[ (gogoproto.nullable) = false ];
repeated ERC20Deposit legacy_confirmed_deposits = 13
[ (gogoproto.nullable) = false ];
repeated ERC20Deposit legacy_burned_deposits = 14
[ (gogoproto.nullable) = false ];

// Deprecated in v1.4: link-deposit protocol removed
reserved 2; // burner_infos
reserved 4; // confirmed_deposits
reserved 5; // burned_deposits
reserved 13; // legacy_confirmed_deposits
reserved 14; // legacy_burned_deposits
}

repeated Chain chains = 3 [ (gogoproto.nullable) = false ];
Expand Down
16 changes: 14 additions & 2 deletions axelar/evm/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@ message KeyAddressResponse {
string threshold = 3;
}

// Deprecated in v0.19
message QueryTokenAddressResponse {
option deprecated = true; // Deprecated in v19
option deprecated = true;

string address = 1;
bool confirmed = 2;
}

// Deprecated in v1.4: link-deposit protocol removed
message QueryDepositStateParams {
option deprecated = true;

Expand All @@ -88,6 +90,7 @@ message QueryDepositStateParams {
[ (gogoproto.nullable) = false, (gogoproto.customtype) = "Address" ];
}

// Deprecated in v1.4: link-deposit protocol removed
message DepositStateRequest {
option deprecated = true;

Expand All @@ -97,6 +100,7 @@ message DepositStateRequest {
QueryDepositStateParams params = 2;
}

// Deprecated in v1.4: link-deposit protocol removed
message DepositStateResponse {
option deprecated = true;

Expand Down Expand Up @@ -157,12 +161,18 @@ message QueryCommandResponse {
uint32 max_gas_cost = 5;
}

// Deprecated in v1.4: BurnerInfoRequest is no longer used (link-deposit
// protocol removed)
message BurnerInfoRequest {
option deprecated = true;
bytes address = 1
[ (gogoproto.nullable) = false, (gogoproto.customtype) = "Address" ];
}

// Deprecated in v1.4: BurnerInfoResponse is no longer used (link-deposit
// protocol removed)
message BurnerInfoResponse {
option deprecated = true;
string chain = 1
[ (gogoproto.casttype) =
"github.com/axelarnetwork/axelar-core/x/nexus/exported.ChainName" ];
Expand All @@ -179,7 +189,9 @@ message GatewayAddressResponse { string address = 1; }

message BytecodeRequest {
string chain = 1;
string contract = 2;
// Deprecated: contract is no longer used. The query now only returns token
// bytecode.
string contract = 2 [ deprecated = true ];
}

message BytecodeResponse { string bytecode = 1; }
Expand Down
Loading