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 typing issue when 10e10 is interpreted as float #3810

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

etan-status
Copy link
Contributor

On macOS Python, passing 10e10 to rng.randint results in an error when generating certain tests. Forcing int avoids the problem.

On macOS Python, passing `10e10` to `rng.randint` results in an error
when generating certain tests. Forcing `int` avoids the problem.
@hwwhww
Copy link
Contributor

hwwhww commented Jun 24, 2024

It seems Python3.12 disallows using floats in randint arguments. Thanks @etan-status!

@hwwhww hwwhww merged commit fed320c into ethereum:dev Jun 24, 2024
26 checks passed
@etan-status etan-status deleted the bf-payloadinit branch September 19, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants