Skip to content

Commit

Permalink
updating protos and codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Feb 23, 2022
1 parent 0555a08 commit aedd359
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 54 deletions.
3 changes: 2 additions & 1 deletion docs/ibc/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,8 @@ This Msg can be used to pay for a packet at a specified sequence (instead of the

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `identified_packet_fee` | [IdentifiedPacketFee](#ibc.applications.fee.v1.IdentifiedPacketFee) | | identified packet to pay fee for identified fee must contain the refund address which is also signer of this message |
| `packet_id` | [ibc.core.channel.v1.PacketId](#ibc.core.channel.v1.PacketId) | | unique packet identifier |
| `packet_fee` | [PacketFee](#ibc.applications.fee.v1.PacketFee) | | packet fee for incentivization |



Expand Down
141 changes: 95 additions & 46 deletions modules/apps/29-fee/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion proto/ibc/applications/fee/v1/ack.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ import "gogoproto/gogo.proto";
message IncentivizedAcknowledgement {
bytes result = 1;
string forward_relayer_address = 2 [(gogoproto.moretags) = "yaml:\"forward_relayer_address\""];
bool underlying_app_success = 3 [(gogoproto.moretags) = "yaml:\"underlying_app_successl\""];
bool underlying_app_success = 3 [(gogoproto.moretags) = "yaml:\"underlying_app_successl\""];
}
2 changes: 1 addition & 1 deletion proto/ibc/applications/fee/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ message FeeEnabledChannel {
message RegisteredRelayerAddress {
string address = 1;
string counterparty_address = 2 [(gogoproto.moretags) = "yaml:\"counterparty_address\""];
string channel_id = 3 [(gogoproto.moretags) = "yaml:\"channel_id\""];
string channel_id = 3 [(gogoproto.moretags) = "yaml:\"channel_id\""];
}

// ForwardRelayerAddress contains the forward relayer address and packetId used for async acknowledgements
Expand Down
12 changes: 7 additions & 5 deletions proto/ibc/applications/fee/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ option go_package = "github.com/cosmos/ibc-go/v3/modules/apps/29-fee/types";

import "gogoproto/gogo.proto";
import "ibc/applications/fee/v1/fee.proto";
import "ibc/core/channel/v1/channel.proto";

// Msg defines the ibc/fee Msg service.
service Msg {
Expand All @@ -32,7 +33,7 @@ message MsgRegisterCounterpartyAddress {

string address = 1;
string counterparty_address = 2 [(gogoproto.moretags) = "yaml:\"counterparty_address\""];
string channel_id = 3 [(gogoproto.moretags) = "yaml:\"channel_id\""];
string channel_id = 3 [(gogoproto.moretags) = "yaml:\"channel_id\""];
}

// MsgRegisterCounterpartyAddressResponse defines the Msg/RegisterCounterypartyAddress response type
Expand Down Expand Up @@ -64,10 +65,11 @@ message MsgPayPacketFeeAsync {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// identified packet to pay fee for
// identified fee must contain the refund address which is also signer of this message
ibc.applications.fee.v1.IdentifiedPacketFee identified_packet_fee = 1
[(gogoproto.moretags) = "yaml:\"identified_packet_fee\"", (gogoproto.nullable) = false];
// unique packet identifier
ibc.core.channel.v1.PacketId packet_id = 1
[(gogoproto.moretags) = "yaml:\"packet_id\"", (gogoproto.nullable) = false];
// packet fee for incentivization
PacketFee packet_fee = 2 [(gogoproto.moretags) = "yaml:\"packet_fee\"", (gogoproto.nullable) = false];
}

// MsgPayPacketFeeAsyncResponse defines the response type for Msg/PayPacketFeeAsync
Expand Down

0 comments on commit aedd359

Please sign in to comment.