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

Implement EIP-2935 #941

Merged
merged 1 commit into from
May 13, 2024
Merged

Implement EIP-2935 #941

merged 1 commit into from
May 13, 2024

Conversation

gurukamath
Copy link
Collaborator

What was wrong?

EIP-2935 is not currently implemented.

Related to Issue #938

How was it fixed?

Implemented the EIP for Prague.

Cute Animal Picture

Cute Animals - 1 of 1

@gurukamath
Copy link
Collaborator Author

Re-based on forks/prague

@gurukamath gurukamath marked this pull request as ready for review May 4, 2024 14:22
src/ethereum/prague/fork.py Outdated Show resolved Hide resolved
src/ethereum/prague/fork.py Outdated Show resolved Hide resolved
recent_block_hashes.append(most_recent_block_hash)
# At fork block, store the hashes for earlier blocks.
current_block = block
for i in range(HISTORY_SERVE_WINDOW - 1):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently old.blocks is only 256 blocks long. So this function will fail if we run the transition on a real chain.

I don't think this is a blocker for this PR, but we should open an issue.

@petertdavies petertdavies merged commit 6eb1cb7 into forks/prague May 13, 2024
5 checks passed
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.

None yet

4 participants