-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp: refactor
send-coins-*()
and add memo
field to escrow-*
and…
… `burn-*` methods (#836) * split send_coins_*() functions and introduce extra data * arg name change * add error variant * add error * add `Other` variant to `TokenTransferError` * fmt * fix: restore `no_std` support for `serde` feature (#790) * fix: restore no_std support for serde feature * deps: bump ibc-proto-rs to v0.34.0 * fix: reflect changes b/c of ibc-proto-rs * imp: comply naming + use better domain type for host_consensus_state * fix: apply host_cons_state_proof changes for conn_open_ack * fix: use domain TmEvent instead of proto for upgrade client proposal handler * misc: add a unclog for ibc-proto-rs upgrade * bump ibc-proto to v0.34.1 and borsh to v0.10 (#844) * bump ibc-proto and borsh * changelog * add borsh derive for `MsgTransfer` * derive JsonSchema for MsgTransfer * fix JsonSchema derive for MsgTransfer Fix is in implementing it properly for our `Timestamp` * execute() methods must have &mut self * nit: spell checker * imp: simplify escrow/unescrow abstraction + using memo instead * chore: dress up with unclogs * nit: adjust unlogs * nit: remove confusing InternalTransferFailed error variant * imp: add memo field to burn-coins-* * docs: adjust & add missing docstrings --------- Co-authored-by: Farhad Shabani <[email protected]>
- Loading branch information
1 parent
cf485ad
commit 4b5004c
Showing
14 changed files
with
140 additions
and
61 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
.changelog/unreleased/breaking-changes/837-split-sent-coins-method copy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- `[ibc-app-transfer]` Refactor `send-coins-*()` methods by breaking them down | ||
into distinct escrow and unescrow methods, enhancing both clarity and | ||
specificity in functionality. | ||
([\#837](https://github.com/cosmos/ibc-rs/issues/837)) | ||
|
5 changes: 5 additions & 0 deletions
5
.changelog/unreleased/breaking-changes/839-add-memo-field-for-token-escrow.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- `[ibc-app-transfer]` Add `memo` field to `escrow-coins-*()` and | ||
`burn-coins-*()` methods, allowing implementors to pass in arbitrary data | ||
necessary for their use case. | ||
([\#839](https://github.com/cosmos/ibc-rs/issues/837)) | ||
|
4 changes: 2 additions & 2 deletions
4
.changelog/unreleased/breaking-changes/978-identifier-error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
- Optimize `IdentifierError` variants and make them mutually exclusive. | ||
([\#978](https://github.com/cosmos/ibc-rs/issues/978)) | ||
- `[ibc-core-host-type]` Optimize `IdentifierError` variants and make them | ||
mutually exclusive. ([\#978](https://github.com/cosmos/ibc-rs/issues/978)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/breaking-changes/993-bump-ibc-proto-rs.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- `[ibc-data-types]` Bump ibc-proto-rs dependency to v0.39.1. | ||
([\#993](https://github.com/cosmos/ibc-rs/issues/993)) |
2 changes: 1 addition & 1 deletion
2
.changelog/unreleased/breaking-changes/997-minimize-prost-dependency.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.changelog/unreleased/improvements/992-more-rigorous-cosmwasm-check.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
- [`cw-check`] More rigorous CosmWasm check by upgrading dependencies and | ||
- `[cw-check]` More rigorous CosmWasm check by upgrading dependencies and | ||
including `std` and `schema` features for `ibc-core`. | ||
([\#992](https://github.com/cosmos/ibc-rs/pull/992)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters