-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add memo to IBC transfers of ICS rewards (#2290)
* add consumer ID to consumer genesis * add RewardMemo to token transfer * handle memo on provider side * fix democ tests * wip * add e2e-test * refactor consumer reward tests * add consumer migration info * add changelog * fix changelog filename --------- Co-authored-by: Simon Noetzlin <[email protected]> (cherry picked from commit 0d78295) # Conflicts: # UPGRADING.md # tests/e2e/actions.go # tests/e2e/state.go # tests/e2e/steps_democracy.go # tests/e2e/steps_inactive_vals.go # tests/e2e/test_driver.go # tests/e2e/testlib/types.go # tests/e2e/v4/state.go # x/ccv/consumer/migrations/v3/legacy_params.go # x/ccv/provider/ibc_middleware.go # x/ccv/provider/keeper/consumer_lifecycle.go # x/ccv/provider/keeper/consumer_lifecycle_test.go # x/ccv/provider/keeper/grpc_query.go # x/ccv/provider/types/errors.go # x/ccv/provider/types/msg.go # x/ccv/provider/types/msg_test.go # x/ccv/types/errors.go # x/ccv/types/shared_consumer.pb.go # x/ccv/types/shared_params.go
- Loading branch information
1 parent
e2469d3
commit 9a1b02f
Showing
34 changed files
with
5,998 additions
and
32 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
.changelog/unreleased/features/2290-add-memo-to-ICS-rewards.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,4 @@ | ||
- `[x/consumer]` Populate the memo on the IBC transfer packets used to send ICS rewards. | ||
with the required consumer chain Id to identify the consumer to the provider. | ||
- `[x/provider]` Identify the source of ICS rewards from the IBC transfer packet memo. | ||
([\#2290](https://github.com/cosmos/interchain-security/pull/2290)) |
4 changes: 4 additions & 0 deletions
4
.changelog/unreleased/state-breaking/2290-add-memo-to-ICS-rewards.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,4 @@ | ||
- `[x/consumer]` Populate the memo on the IBC transfer packets used to send ICS rewards. | ||
with the required consumer chain Id to identify the consumer to the provider. | ||
- `[x/provider]` Identify the source of ICS rewards from the IBC transfer packet memo. | ||
([\#2290](https://github.com/cosmos/interchain-security/pull/2290)) |
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
Oops, something went wrong.