Skip to content

L1: NodeHash's from_slice() panics #2649

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

Open
xqft opened this issue Apr 29, 2025 · 0 comments
Open

L1: NodeHash's from_slice() panics #2649

xqft opened this issue Apr 29, 2025 · 0 comments
Labels
bug Something isn't working L1 Ethereum client

Comments

@xqft
Copy link
Contributor

xqft commented Apr 29, 2025

H256::from_slice() panics when passed a slice longer than 32 bytes, which makes this function panic in that case.

The panic appeared when incorrectly deserializing a leaf node into an extension node, fixed in #2647.

@xqft xqft added bug Something isn't working L1 Ethereum client labels Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working L1 Ethereum client
Projects
Status: No status
Development

No branches or pull requests

1 participant