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

Evaluated and plain versions of the slot tree key computation function give different results #394

Open
gballet opened this issue Feb 29, 2024 · 0 comments

Comments

@gballet
Copy link
Owner

gballet commented Feb 29, 2024

The evaluated and plain versions of the slot tree key computation function give different results.

That is, the output of GetTreeKeyStorageSlot gives a different result than doing EvaluateAddressPoint first, and then use it to compute the slot key in GetTreeKeyStorageSlotWithEvaluatedAddress. This could come from how the parameters to the first function were calculated. Since other clients find the same value, the plain version is probably the wrong one, but it might be that everyone "fixed" their code when they saw it gave a different result from what geth was giving.

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