Skip to content

Better EIP-1898 support #5025

@Termina1

Description

@Termina1

Nethermind nodes does doesn't handle blockNumber argument from EIP-1898 draft.
https://eips.ethereum.org/EIPS/eip-1898

Steps to reproduce
If you send request:

{
  "method": "eth_getBalance",
  "params": ["0xdefe33795803f2353c69fd8cdb432f9d5cee6762", {
    "blockNumber": "latest"
  }],
  "id": "101",
  "jsonrpc": "2.0"
}

You will get BlockHash could not be found error.

Expected behavior
Interpret it the same way as

{
  "method": "eth_getBalance",
  "params": ["0xdefe33795803f2353c69fd8cdb432f9d5cee6762", "latest"],
  "id": "101",
  "jsonrpc": "2.0"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions