You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR is fixes#2090. The `--salt` option will now be checked to be a
valid hex string before being loaded into a `Buffer`.
The cli will now reject salts containing invalid characters (outside of
`[0-9a-f]`) and in case a in case a string with an add number of
characters is passed then it will be left padded with a zero in order to
for it to be loaded into a Buffer.
# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [x] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [x] Every change is related to the PR description.
- [x] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
A bug reported by a sandbox user.
Apparently a salt of 0 and 1 results in the same contract address.
The text was updated successfully, but these errors were encountered: