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(cheatcodes): support non-0x prefixed hex strings as uints for EnvUint #6268

Closed
wants to merge 3 commits into from

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented Nov 9, 2023

Motivation

Closes #6070. While we had settled into not accepting these, we're getting way too many requests about it and an exception for this seems fine.

Solution

Support them

crates/cheatcodes/src/env.rs Outdated Show resolved Hide resolved
crates/cheatcodes/src/env.rs Outdated Show resolved Hide resolved
@Evalir
Copy link
Member Author

Evalir commented Nov 9, 2023

Closing in favor of #6269

@Evalir Evalir closed this Nov 9, 2023
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.

parse $PRIVATE_KEY as type uint256: digit 10 is out of range for base 10
2 participants