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

Add random execution_payload_header to Bellatrix state in tests #4047

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

KatyaRyazantseva
Copy link
Contributor

This PR adds random execution_payload_header to random Bellatrix state in tests

@jtraglia
Copy link
Member

jtraglia commented Dec 13, 2024

Hey Katya. I've pulled some updates to the Makefile into your branch. Please run git pull, then make clean (just this once, because of the Makefile changes), and then make lint to see some linter issues that need to be fixed.

@KatyaRyazantseva KatyaRyazantseva marked this pull request as ready for review December 19, 2024 18:21
@@ -330,6 +366,7 @@ def build_empty_execution_payload(spec, state, randao_mix=None):


def build_randomized_execution_payload(spec, state, rng):
from eth2spec.test.helpers.random import exit_random_validators
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jtraglia I have a circular import error when I put the import at the beginning. Is there a way to avoid it here?

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