Skip to content

No Support to input Boolean values as a function method's argument #452

@gitshreevatsa

Description

@gitshreevatsa

For a given function, if there is a function method which accepts type boolean as an argument and if a boolean argument either true or false if given then it would result in error :

Transaction failed

BaseError: Invalid boolean value: "true" (type: string). Expected: `true` or `false`.

Version: viem@2.23.3

Image

Metadata

Metadata

Assignees

Labels

playgroundRelated to playground interface

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions