Skip to content

Script arguments of type Bool not accepted #203

@alxflw

Description

@alxflw

Describe the bug
If a user is required to enter a script argument of type Bool, they will not be able to do so. An error is returned:


[Error Code: 1101] cadence runtime error Execution failed:
error: invalid argument at index 0: decodeing argument failed: [Error Code: 1052] transaction arguments are invalid: (argument is not json decodable: failed to decode value: invalid JSON Cadence structure)
--> 02d4b91c8463cfc134f15b38505f2b54c7b1764f266ba205f3249a283987f428

To Reproduce
Steps to reproduce the behavior:

  • Open playground
  • Update script to have a Bool argument
  • Run script and enter true
  • Spinner is shown and console error is logged:

Expected behavior
Bool input as true or false is accepted

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions