Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add blockParameter support #30

Open
bitrocks opened this issue Apr 28, 2021 · 0 comments
Open

add blockParameter support #30

bitrocks opened this issue Apr 28, 2021 · 0 comments

Comments

@bitrocks
Copy link
Owner

bitrocks commented Apr 28, 2021

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
classicalliu pushed a commit to classicalliu/godwoken-web3-old that referenced this issue Aug 5, 2021
refactor: Prefix godwoken rpc with `gw_` prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant