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

chore: improve address regex #7037

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Feb 7, 2024

closes #7035

this doesn't prevent all cases, but should catch the most

I get why we have this regex, so we don't run into incorrect checksum errors, so this regex makes it more convenient.

The safe approach would be to not use the regex at all...

@mattsse mattsse force-pushed the matt/improve-address-regex branch from ad8c784 to 71fef90 Compare February 7, 2024 18:59
@mattsse mattsse merged commit b320f35 into foundry-rs:master Feb 8, 2024
18 of 19 checks passed
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.

Literal strings receive address checksumming even if not addresses
2 participants