Skip to content

JSON RPC encoder doesn't convert zero bigints correctly #2402

@sirasistant

Description

@sirasistant

0n is converted to a string representation, instead of handled like any non-zero bigint.
This causes that methods that send a zero bigint (such as a view function with a numerical param) fail to be called.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions