Skip to content

Unable to process authorizationList with leading zero in hash to call eth_estimateGas #32061

Open
@EthanBlockson

Description

@EthanBlockson

System information

Geth version: unknown
CL client & version: unknown
OS & Version: unknown
Commit hash : unknown

Expected behaviour

Successful call to eth_estimateGas

Actual behaviour

error: {
  code: -32602,
  message: 'invalid argument 0: json: cannot unmarshal hex number with leading zero digits into Go struct field TransactionArgs.authorizationList of type *uint256.Int'
},

Steps to reproduce the behaviour

Send authorizationList where s have leading zero in hash (e.g. 0x0c9d7fa682ab5de9af0e202f96bd3c5fc78921b44e14954ea13b091c309d9748) and call eth_estimateGas

PS

I can't provide software version etc because its coming from response from some public RPC.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions