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

Import Extended type directly instead of using rlp.Extended #1050

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ClementWalter
Copy link

What was wrong?

Solves #1049

How was it fixed?

As proposed in the issue, I added the Extended type to the Node union in trie.py.

@SamWilsn
Copy link
Collaborator

SamWilsn commented Dec 9, 2024

Seems reasonable. Bit weird that get_type_hints can't handle what was there before though.

Assuming the tests pass, can you port this to the rest of the forks?

@ClementWalter
Copy link
Author

sure, you mean replace all rlp.Encoded in the whole cancun fork?

@SamWilsn
Copy link
Collaborator

Unless it's causing problems elsewhere in Cancun, I think it's fine to leave as you have it now. I mean make the same change in all the other trie.py files, like:

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.

2 participants