Skip to content

FIX: array of coin is not support as a autoCLI param #4622

@Pantani

Description

@Pantani

Create types as array.coin / coins will not be able to send parameters through the CLI; the autoCLI does not support parsing the coins as slices in this new version of the SDK:

https://github.com/cosmos/cosmos-sdk/blob/main/client/v2/autocli/flag/coin.go#L45-L45

Eg:

  • Scaffold a chain with a coins type and run it:
ignite s chain venus && cd venus && \
ignite s list employee salary:coins && \
ignite chain serve
  • Try to create a new transaction:
venusd tx venus create-employee "2token,4stake"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions