Skip to content

add blockParameter support #30

@bitrocks

Description

@bitrocks

According to eth.wiki rpc, the following methods have an extra default block parameter:

  1. eth_getBalance
  2. eth_getCode
  3. eth_getTransactionCount
  4. eth_getStorageAt
  5. eth_call

Current Impl ignored block parameter, as the state snapshot was not supported until this pr.

To support block parameter:

  1. the web3 rpc layer need handle block parameter;
  2. godwoken rpc need handle block parameter;
    • get_balance
    • get_storage_at
    • get_nonce
    • get_data
    • execute_raw_l2transaction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions