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

feat: Option to not hash the salt #82

Closed

Conversation

0xkowloon
Copy link

@0xkowloon 0xkowloon commented Oct 28, 2022

PR Checklist

  • Because this PR includes a bug fix, relevant tests have been included.
  • Because this PR includes a new feature, the change was previously discussed in an issue or in the discussions section.
  • I didn't do anything of this.

Provide an option to use the salt provided as is instead of hashing the salt because xdeployer doesn't work in the case where the salt is found by a program to find gas-efficient contract addresses.

@pcaversaccio pcaversaccio self-assigned this Oct 28, 2022
@pcaversaccio pcaversaccio added the feature 💥 New feature or request label Oct 28, 2022
@pcaversaccio
Copy link
Owner

@0xkowloon thanks for this PR. As discussed on GitHub we first discuss it here: #83. There are currently a couple of things missing:

  • Add unit tests for the false case;
  • A verification step that the salt is bytes32
  • Adjust the example in the README

My suggestion is that we first discuss this feature request and if we see enough people want this feature we can consider merging the PR. For the moment being I will close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💥 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants