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

Fix test helpers to not depend on leaked execution data #3833

Open
potuz opened this issue Jul 4, 2024 · 0 comments
Open

Fix test helpers to not depend on leaked execution data #3833

potuz opened this issue Jul 4, 2024 · 0 comments

Comments

@potuz
Copy link
Contributor

potuz commented Jul 4, 2024

The current beacon state contains unnecessary information about the execution layer state. See for example #3612

This information is nowhere used in the consensus layer, yet the testsuite assume it is there in many places. The generators for empty execution payloads for example take only a beacon state as argument, and gather the latest state root of the execution layer from it.

The testsuite should be refactor so that the caller of these helpers passes the execution layer data and should not assume that a beacon state will forever hold this leaked information.

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