This release bumps the Cosmos SDK from v0.46.3 to v0.46.4 and introduces a couple of improvements requested by the community. Please see the v5.1.0 changelog for more details.
An optional memo field has been added to FungibleTokenPacketData. Token transfers that include a non-empty memo field will fail if the receiver chain is not running a version of ibc-go that also supports the memo field. Please read this blog post for more information.
apps/27-interchain-accounts
The check in OnChanOpenTry callback on the host submodule that required the port ID on the controller chain to be prefixed by icacontroller- has been removed.
To learn more about ibc-go versioning, please read our RELEASES.md.
IMPORTANT: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.46.4 and ibc-go v5.1.0, please follow:
To learn more about ibc-go versioning, please read our RELEASES.md.
IMPORTANT: Please read the migration guides for any versions of ibc-go that you might be going through when upgrading to this version. For example: if you upgrade from the IBC module contained in the Cosmos SDK 0.42.0 to SDK v0.46.3 and ibc-go v5.0.1, please follow:
27th October 2022: This release is NOT recommended since it uses a version of the Cosmos SDK impacted by the dragonberry security advisory. Please use version >= 5.0.1.
This release bumps the Cosmos SDK to v0.46.1 (for more information, see Cosmos SDK v0.46.1 Release Notes) and Tendermint to v0.34.21 (for more information, see Tendermint 0.34.21 changelog). It also introduces several code style improvements flagged by linting tools. We present here a summary of the most relevant changes, but please see the v5.0.0 changelog for the full set of changes included in this release.
#2647 Bump Cosmos SDK to v0.46.4 and Tendermint to v0.34.22.
State Machine Breaking
(apps/transfer) #2651 Introduce mustProtoMarshalJSON for ics20 packet data marshalling which will skip emission (marshalling) of the memo field if unpopulated (empty).
(27-interchain-accounts) #2580 Removing port prefix requirement from the ICA host channel handshake
(transfer) #2377 Adding sequence to MsgTransferResponse.
Improvements
(testing) #2657 Carry ProposerAddress through committed blocks. Allow DefaultGenTxGas to be modified.
Features
(apps/transfer) #2595 Adding optional memo field to FungibleTokenPacketData and MsgTransfer.
(testing)#2028 New interface ibctestingtypes.StakingKeeper added and set for the testing app StakingKeeper setup.
(core/04-channel) #1418NewPacketId has been renamed to NewPacketID to comply with go linting rules.
(core/ante) #1418AnteDecorator has been renamed to RedundancyDecorator to comply with go linting rules and to give more clarity to the purpose of the Decorator.
(core/ante) #1820RedundancyDecorator has been renamed to RedundantRelayDecorator to make the name for explicit.
(testing) #1418MockIBCApp has been renamed to IBCApp and MockEmptyAcknowledgement has been renamed to EmptyAcknowledgement to comply with go linting rules
(apps/27-interchain-accounts) #2058 Added MessageRouter interface and replaced *baseapp.MsgServiceRouter with it. The controller and host keepers of apps/27-interchain-accounts have been updated to use it.
(apps/27-interchain-accounts)#2302 Handle unwrapping of channel version in interchain accounts channel reopening handshake flow. The host submodule Keeper now requires an ICS4Wrapper similarly to the controller submodule.
Improvements
(27-interchain-accounts) #1352 Add support for Cosmos-SDK simulation to ics27 module.
(linting) #1418 Fix linting errors, resulting compatiblity with go1.18 linting style, golangci-lint 1.46.2 and the revivie linter. This caused breaking changes in core/04-channel, core/ante, and the testing library.
Features
(apps/27-interchain-accounts) #2193 Adding InterchainAccount gRPC query endpont to ICS27 controller submodule to allow users to retrieve registered interchain account addresses.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/cosmos/ibc-go/v5 from 5.0.0-rc1 to 5.1.0.
Release notes
Sourced from github.com/cosmos/ibc-go/v5's releases.
... (truncated)
Changelog
Sourced from github.com/cosmos/ibc-go/v5's changelog.
... (truncated)
Commits
c0acd5b
prepare changelog for v5.1.0 release9bef08b
Update incorrect PR link in changelog regarding "check x/bank send enabled" f...fcf8034
deps: updating sdk to v0.46.4 (backport #2647) (#2703)035e174
Testing: fix block proposer and allow Default gas to be modified (backport #2...f450a21
add check send enabled (backport #2679) (#2690)92d6f81
fix: skip emission of unpopulated memo field in ics20 (backport #2651) (#2655)625c02f
remove port prefix requirement (backport #2590) (#2634)b15b372
use controller module address instead of module name for NewMsgChannelOpenIni...97a493b
docs: updating docs for memo field in ics20 transfer (#2602) (#2605)a9728be
refactor: adapting transfer metadata bytes field to memo string (backport #25...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)