Skip to content

Commit

Permalink
docs: document that version string can be empty as argument of Regist…
Browse files Browse the repository at this point in the history
…erInterchainAccount (#1582)

Co-authored-by: Carlos Rodriguez <[email protected]>
  • Loading branch information
2 people authored and AdityaSripal committed Dec 17, 2024
1 parent a5b69ec commit 7cd750a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ channel type that provides ordering of packets without the channel closing on ti
When an Interchain Account is registered using the `RegisterInterchainAccount` API, a new channel is created on a particular port. During the `OnChanOpenAck` and `OnChanOpenConfirm` steps (controller & host chain) the `Active Channel` for this interchain account
is stored in state.

<<<<<<< HEAD:docs/versioned_docs/version-v4.6.x/02-apps/02-interchain-accounts/03-active-channels.md
It is possible to create a new channel using the same controller chain portID if the previously set `Active Channel` is now in a `CLOSED` state. This channel creation can be initialized programmatically by sending a new `MsgChannelOpenInit` message like so:
=======
It is possible to create a new channel using the same controller chain portID if the previously set `Active Channel` is now in a `CLOSED` state. This channel creation can be initialized programatically by sending a new `MsgChannelOpenInit` message like so:
>>>>>>> docs: document that version string can be empty as argument of RegisterInterchainAccount (#1582):docs/apps/interchain-accounts/active-channels.md
```go
msg := channeltypes.NewMsgChannelOpenInit(portID, string(versionBytes), channeltypes.ORDERED, []string{connectionID}, icatypes.PortID, icatypes.ModuleName)
Expand Down

0 comments on commit 7cd750a

Please sign in to comment.