Skip to content

Commit

Permalink
updated links with rc0 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodriguez committed Jun 9, 2023
1 parent 9183ef3 commit 53811d3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/migrations/v7-to-v7_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ There are four sections based on the four potential user groups of this document

In the previous release of ibc-go, the localhost `v1` light client module was deprecated and removed. The ibc-go `v7.1.0` release introduces `v2` of the 09-localhost light client module.

<!-- TODO: Update the links to use release version instead of feat branch -->
An [automatic migration handler](https://github.com/cosmos/ibc-go/blob/release/v7.1.x/modules/core/module.go#L127-L145) is configured in the core IBC module to set the localhost `ClientState` and sentinel `ConnectionEnd` in state.
An [automatic migration handler](https://github.com/cosmos/ibc-go/blob/v7.1.0-rc0/modules/core/module.go#L127-L145) is configured in the core IBC module to set the localhost `ClientState` and sentinel `ConnectionEnd` in state.

In order to use the 09-localhost client chains must update the `AllowedClients` parameter in the 02-client submodule of core IBC. This can be configured directly in the application upgrade handler or alternatively updated via the legacy governance parameter change proposal.
We __strongly__ recommend chains to perform this action so that intra-ledger communication can be carried out using the familiar IBC interfaces.

See the upgrade handler code sample provided below or [follow this link](https://github.com/cosmos/ibc-go/blob/release/v7.1.x/testing/simapp/upgrades/upgrades.go#L85) for the upgrade handler used by the ibc-go simapp.
See the upgrade handler code sample provided below or [follow this link](https://github.com/cosmos/ibc-go/blob/v7.1.0-rc0/testing/simapp/upgrades/upgrades.go#L85) for the upgrade handler used by the ibc-go simapp.

```go
func CreateV7LocalhostUpgradeHandler(
Expand All @@ -45,7 +44,7 @@ func CreateV7LocalhostUpgradeHandler(

### Transfer migration

An [automatic migration handler](https://github.com/cosmos/ibc-go/blob/release/v7.1.x/modules/apps/transfer/module.go#L111-L113) is configured in the transfer module to set the total amount in escrow for all denominations of coins that have been sent out. For each denomination a state entry is added with the total amount of coins in escrow regardless of the channel from which they were transferred.
An [automatic migration handler](https://github.com/cosmos/ibc-go/blob/v7.1.0-rc0/modules/apps/transfer/module.go#L111-L113) is configured in the transfer module to set the total amount in escrow for all denominations of coins that have been sent out. For each denomination a state entry is added with the total amount of coins in escrow regardless of the channel from which they were transferred.

## IBC Apps

Expand Down

0 comments on commit 53811d3

Please sign in to comment.