From 0b936453cbda2c6292b5dfb03c20fd6f6a05f44f Mon Sep 17 00:00:00 2001 From: Sean King Date: Thu, 22 Jul 2021 19:20:10 +0200 Subject: [PATCH] fix: remove hidden file --- .../middleware/fee/v1/genesis.proto~ | 19 ---- .../middleware/fee/v1/query.proto~ | 98 ------------------- 2 files changed, 117 deletions(-) delete mode 100644 proto/ibc/applications/middleware/fee/v1/genesis.proto~ delete mode 100644 proto/ibc/applications/middleware/fee/v1/query.proto~ diff --git a/proto/ibc/applications/middleware/fee/v1/genesis.proto~ b/proto/ibc/applications/middleware/fee/v1/genesis.proto~ deleted file mode 100644 index 588480c1d19..00000000000 --- a/proto/ibc/applications/middleware/fee/v1/genesis.proto~ +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.middleware.fee.v1; - -import "gogoproto/gogo.proto"; -import "ibc/applications/middleware/fee/v1/fee.proto"; -import "ibc/core/channel/v1/channel.proto"; -option go_package = "github.com/cosmos/ibc-go/modules/apps/29-fee/types"; - -// GenesisState defines the fee middleware genesis state -message GenesisState { - // An entry for the PacketsFees map - message PacketsFeesMapEntry { - ibc.core.channel.v1.PacketId packet_id = 1; - ibc.applications.middleware.fee.v1.Fee fee = 2; - } - // A mapping of packets -> escrowed fees - repeated PacketsFeesMapEntry packets_fees_map = 1; -} diff --git a/proto/ibc/applications/middleware/fee/v1/query.proto~ b/proto/ibc/applications/middleware/fee/v1/query.proto~ deleted file mode 100644 index 86fca24ab91..00000000000 --- a/proto/ibc/applications/middleware/fee/v1/query.proto~ +++ /dev/null @@ -1,98 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.middleware.fee.v1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/applications/middleware/fee/v1/fee.proto"; -import "google/api/annotations.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; - -option go_package = "github.com/cosmos/ibc-go/modules/apps/29-fee/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Gets the fee expected for submitting ReceivePacket msg for the given packet - rpc ReceiveFee(QueryReceiveFeeRequest) returns (QueryReceiveFeeResponse) { - option (google.api.http).get = "/ibc/apps/middleware/fee/v1/receive_fee/packet/{packet_id.channel_id}/relayer/" - "{relayer_address}/height/{query_height}"; - } - - // Gets the fee expected for submitting AcknowledgePacket msg for the given packet - rpc AckFee(QueryAckFeeRequest) returns (QueryAckFeeResponse) { - option (google.api.http).get = "/ibc/apps/middleware/fee/v1/ack_fee/packet/{packet_id.sequence}/relayer/" - "{relayer_address}/height/{query_height}"; - } - - // Gets the fee expected for submitting TimeoutPacket msg for the given packet - rpc TimeoutFee(QueryTimeoutFeeRequest) returns (QueryTimeoutFeeResponse) { - option (google.api.http).get = "/ibc/apps/middleware/fee/v1/timeout_fee/packet/{packet_id.channel_id}/relayer/" - "{relayer_address}/height/{query_height}"; - } - - // Gets all incentivized packets - rpc IncentivizedPackets(QueryIncentivizedPacketsRequest) returns (QueryIncentivizedPacketsResponse) { - option (google.api.http).get = "/ibc/apps/middleware/fee/v1/incentivized_packets"; - } -} - -// QueryReceiveRequestFee is the request type for quering the receive fee -message QueryReceiveFeeRequest { - // PacketID - ibc.core.channel.v1.PacketId packet_id = 1 [(gogoproto.moretags) = "yaml:\"packet_id\""]; - // Caller should provide the intended relayer address in case the fee is dependent on specific relayer(s). - string relayer_address = 2 [(gogoproto.moretags) = "yaml:\"relayer_address\""]; - // Height to query at - uint64 query_height = 3 [(gogoproto.moretags) = "yaml:\"query_height\""]; -} - -// QueryReceiveFeeResponse is the response type for the ReceiveFee RPC -message QueryReceiveFeeResponse { - ibc.applications.middleware.fee.v1.Fee fee = 1; -} - -// QueryAckFeeRequest is the request type for querying the acknowledgement fee -message QueryAckFeeRequest { - // PacketID - ibc.core.channel.v1.PacketId packet_id = 1 [(gogoproto.moretags) = "yaml:\"packet_id\""]; - // Caller should provide the intended relayer address in case the fee is dependent on specific relayer(s). - string relayer_address = 2 [(gogoproto.moretags) = "yaml:\"relayer_address\""]; - // Height to query at - uint64 query_height = 3 [(gogoproto.moretags) = "yaml:\"query_height\""]; -} - -// QueryAckFeeResponse is the response type for the AckFee RPC -message QueryAckFeeResponse { - ibc.applications.middleware.fee.v1.Fee fee = 1; -} - -// QueryTimeoutFeeRequest is the request type for querying the timeout fee -message QueryTimeoutFeeRequest { - // PacketID - ibc.core.channel.v1.PacketId packet_id = 1 [(gogoproto.moretags) = "yaml:\"packet_id\""]; - // Caller should provide the intended relayer address in case the fee is dependent on specific relayer(s). - string relayer_address = 2 [(gogoproto.moretags) = "yaml:\"relayer_address\""]; - // Height to query at - uint64 query_height = 3 [(gogoproto.moretags) = "yaml:\"query_height\""]; -} - -// QueryTimeoutFeeResponse is the response type for the timeout RPC -message QueryTimeoutFeeResponse { - ibc.applications.middleware.fee.v1.Fee fee = 1; -} - -// QueryIncentivizedPacketRequest is the request type for querying for all incentivized packets -message QueryIncentivizedPacketsRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryTimeoutFeeResponse is the response type for the timeout RPC -message QueryIncentivizedPacketsResponse { - // Map of all incentivized_packets - repeated ibc.applications.middleware.fee.v1.IdentifiedPacketFee incentivized_packets = 1 - [(gogoproto.moretags) = "yaml:\"incentivized_packets\""]; - // Height to query at - uint64 query_height = 2 [(gogoproto.moretags) = "yaml:\"query_height\""]; -}