Closed nazarhussain closed 11 months ago
The transaction:create command should take input for the asset and parse the values correctly.
transaction:create
For boolean value the below code consider input as string which caused failure for schema validation
boolean
string
https://github.com/LiskHQ/lisk-sdk/blob/8467d5a9004eee2d55bdfb1497c99d397fe6a259/commander/src/utils/reader.ts#L329
> ./bin/run transaction:create 1024 0 1000
5.x
Closing this issue since this is no longer valid
Expected behavior
The
transaction:create
command should take input for the asset and parse the values correctly.Actual behavior
For
boolean
value the below code consider input asstring
which caused failure for schema validationhttps://github.com/LiskHQ/lisk-sdk/blob/8467d5a9004eee2d55bdfb1497c99d397fe6a259/commander/src/utils/reader.ts#L329
Steps to reproduce
> ./bin/run transaction:create 1024 0 1000
Which version(s) does this affect? (Environment, OS, etc...)
5.x