Skip to content

Commit

Permalink
Merge branch 'main' into feat/capability-check-module
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored Jun 27, 2024
2 parents 4457b44 + c44315b commit a695393
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion docs/docs/02-apps/01-transfer/04-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ This message is expected to fail if:
- `Amount` must be positive.
- `Denom` must be a valid IBC denomination, as defined in [ADR 001 - Coin Source Tracing](/architecture/adr-001-coin-source-tracing).
- `Sender` is empty.
- `Receiver` is empty.
- `Receiver` is empty or contains more than 2048 bytes.
- `Memo` contains more than 32768 bytes.
- `TimeoutHeight` and `TimeoutTimestamp` are both zero.

Please note that the `Token` field is deprecated and users should now use `Tokens` instead. If `Token` is used then `Tokens` must be empty. Similarly, if `Tokens` is used then `Token` should be left empty.
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/02-apps/02-interchain-accounts/05-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type MsgRegisterInterchainAccount struct {

This message is expected to fail if:

- `Owner` is an empty string.
- `Owner` is an empty string or contains more than 2048 bytes.
- `ConnectionID` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).

This message will construct a new `MsgChannelOpenInit` on chain and route it to the core IBC message server to initiate the opening step of the channel handshake.
Expand Down Expand Up @@ -55,7 +55,7 @@ type MsgSendTx struct {

This message is expected to fail if:

- `Owner` is an empty string.
- `Owner` is an empty string or contains more than 2048 bytes.
- `ConnectionID` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).
- `PacketData` contains an `UNSPECIFIED` type enum, the length of `Data` bytes is zero or the `Memo` field exceeds 256 characters in length.
- `RelativeTimeout` is zero.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type MsgRegisterCounterpartyPayee struct {
> - `PortId` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators).
> - `ChannelId` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).
> - `Relayer` is an invalid address (see [Cosmos SDK Addresses](https://github.com/cosmos/cosmos-sdk/blob/main/docs/learn/beginner/03-accounts.md#addresses)).
> - `CounterpartyPayee` is empty.
> - `CounterpartyPayee` is empty or contains more than 2048 bytes.
See below for an example CLI command:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ This message is expected to fail if:
- `Token.Amount` is not positive.
- `Token.Denom` is not a valid IBC denomination as per [ADR 001 - Coin Source Tracing](/architecture/adr-001-coin-source-tracing).
- `Sender` is empty.
- `Receiver` is empty.
- `Receiver` is empty or contains more than 2048 bytes.
- `Memo` contains more than 32768 bytes.
- `TimeoutHeight` and `TimeoutTimestamp` are both zero.

This message will send a fungible token to the counterparty chain represented by the counterparty Channel End connected to the Channel End with the identifiers `SourcePort` and `SourceChannel`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type MsgRegisterInterchainAccount struct {

This message is expected to fail if:

- `Owner` is an empty string.
- `Owner` is an empty string or contains more than 2048 bytes.
- `ConnectionID` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).

This message will construct a new `MsgChannelOpenInit` on chain and route it to the core IBC message server to initiate the opening step of the channel handshake.
Expand Down Expand Up @@ -55,7 +55,7 @@ type MsgSendTx struct {

This message is expected to fail if:

- `Owner` is an empty string.
- `Owner` is an empty string or contains more than 2048 bytes.
- `ConnectionID` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).
- `PacketData` contains an `UNSPECIFIED` type enum, the length of `Data` bytes is zero or the `Memo` field exceeds 256 characters in length.
- `RelativeTimeout` is zero.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type MsgRegisterCounterpartyPayee struct {
> - `PortId` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators).
> - `ChannelId` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).
> - `Relayer` is an invalid address (see [Cosmos SDK Addresses](https://github.com/cosmos/cosmos-sdk/blob/main/docs/learn/beginner/03-accounts.md#addresses)).
> - `CounterpartyPayee` is empty.
> - `CounterpartyPayee` is empty or contains more than 2048 bytes.
See below for an example CLI command:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type MsgRegisterInterchainAccount struct {

This message is expected to fail if:

- `Owner` is an empty string.
- `Owner` is an empty string or contains more than 2048 bytes.
- `ConnectionID` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).

This message will construct a new `MsgChannelOpenInit` on chain and route it to the core IBC message server to initiate the opening step of the channel handshake.
Expand Down Expand Up @@ -55,7 +55,7 @@ type MsgSendTx struct {

This message is expected to fail if:

- `Owner` is an empty string.
- `Owner` is an empty string or contains more than 2048 bytes.
- `ConnectionID` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).
- `PacketData` contains an `UNSPECIFIED` type enum, the length of `Data` bytes is zero or the `Memo` field exceeds 256 characters in length.
- `RelativeTimeout` is zero.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type MsgRegisterCounterpartyPayee struct {
> - `PortId` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators).
> - `ChannelId` is invalid (see [24-host naming requirements](https://github.com/cosmos/ibc/blob/master/spec/core/ics-024-host-requirements/README.md#paths-identifiers-separators)).
> - `Relayer` is an invalid address (see [Cosmos SDK Addresses](https://github.com/cosmos/cosmos-sdk/blob/main/docs/learn/beginner/03-accounts.md#addresses)).
> - `CounterpartyPayee` is empty.
> - `CounterpartyPayee` is empty or contains more than 2048 bytes.
See below for an example CLI command:

Expand Down

0 comments on commit a695393

Please sign in to comment.