Skip to content

Commit

Permalink
fix(proto): fix nested msg signer annoation (#4336)
Browse files Browse the repository at this point in the history
Co-authored-by: Damian Nolan <damiannolan@gmail.com>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
  • Loading branch information
3 people authored Aug 14, 2023
1 parent 1a2b439 commit 89515bc
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 75 deletions.
64 changes: 33 additions & 31 deletions modules/apps/29-fee/types/fee.pb.go

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

85 changes: 42 additions & 43 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.

3 changes: 3 additions & 0 deletions proto/ibc/applications/fee/v1/fee.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option go_package = "github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types";
import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
import "ibc/core/channel/v1/channel.proto";
import "cosmos/msg/v1/msg.proto";

// Fee defines the ICS29 receive, acknowledgement and timeout fees
message Fee {
Expand All @@ -23,6 +24,8 @@ message Fee {

// PacketFee contains ICS29 relayer fees, refund address and optional list of permitted relayers
message PacketFee {
option (cosmos.msg.v1.signer) = "refund_address";

// fee encapsulates the recv, ack and timeout fees associated with an IBC packet
Fee fee = 1 [(gogoproto.nullable) = false];
// the refund address for unspent fees
Expand Down
2 changes: 1 addition & 1 deletion proto/ibc/applications/fee/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ message MsgPayPacketFeeResponse {}
// MsgPayPacketFeeAsync defines the request type for the PayPacketFeeAsync rpc
// This Msg can be used to pay for a packet at a specified sequence (instead of the next sequence send)
message MsgPayPacketFeeAsync {
option (cosmos.msg.v1.signer) = "packet_fee.refundaddress";
option (cosmos.msg.v1.signer) = "packet_fee";
option (gogoproto.goproto_getters) = false;

// unique packet identifier comprised of the channel ID, port ID and sequence
Expand Down

0 comments on commit 89515bc

Please sign in to comment.