Skip to content

Commit

Permalink
Deprecating Token field on MsgTransfer (#6492)
Browse files Browse the repository at this point in the history
* chore: deprecating Token field on MsgTransfer

* chore: adding PR number to changelog

* chore: remove extra char
  • Loading branch information
chatton committed Jun 5, 2024
1 parent ead6127 commit 4a67849
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 45 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Features

* (apps/transfer) [\#6492](https://github.com/cosmos/ibc-go/pull/6492) Added new `Tokens` field to `MsgTransfer` to enable sending of multiple denoms, and deprecated the `Token` field.

### Bug Fixes

## [v8.3.0](https://github.com/cosmos/ibc-go/releases/tag/v8.3.0) - 2024-05-16
Expand Down
86 changes: 43 additions & 43 deletions modules/apps/transfer/types/tx.pb.go

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

4 changes: 2 additions & 2 deletions proto/ibc/applications/transfer/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ message MsgTransfer {
string source_port = 1;
// the channel by which the packet will be sent
string source_channel = 2;
// the tokens to be transferred
cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
// the token to be transferred. this field has been replaced by the tokens field.
cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true, deprecated = true];
// the sender address
string sender = 4;
// the recipient address on the destination chain
Expand Down

0 comments on commit 4a67849

Please sign in to comment.