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

BEP-440: Implement EIP-2935: Serve historical block hashes from state #2721

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

buddh0
Copy link
Collaborator

@buddh0 buddh0 commented Sep 24, 2024

Description

BEP-440: Implement EIP-2935: Serve historical block hashes from state

Rationale

tell us why we need these changes...

Example

after prague enabled, call as following

curl http://127.0.0.1:8545/ --data '{
      "jsonrpc": "2.0",
      "id": 0,
      "method": "eth_call",
      "params": [ {
            "to": "0x0aae40965e6800cd9b1f4b05ff21581047e3f91e",
            "data": "0x000000000000000000000000000000000000000000000000000000000000000E"
        }, "latest"]
    }'  -H "Content-Type: application/json"  -X POST

get

{"jsonrpc":"2.0","id":0,"result":"0xcf5f9c18f3507c377aa505ffcbebc8e2ea849a152da869d39e493aa7c70d9e64"}

Changes

code implement following ethereum/go-ethereum#29465

but the logic for deployment is different from the raw eip-2935, outcome the second commit

Notable changes:

  • add each change in a bullet point here
  • ...

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

Successfully merging this pull request may close these issues.

1 participant