-
Notifications
You must be signed in to change notification settings - Fork 12k
Create2 improvements #2106
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
Comments
By adding support for including |
I'm actually not sure, from the EIP it doesn't look like its possible to include value in the contract construction. It could certainly be sent after the fact, but I wouldn't add a new function just for that. @MicahZoltu perhaps you could clarify your request? |
That would make a lot more sense as it answers my followup Q of how would that be done! |
From the CREATE2 EIP:
Solidity inline assembly for create/create2 from Solidity docs:
Note that |
Here is an example of calling CREATE2 with value from a contract: |
@MicahZoltu Thank you for documenting it further here |
Ah silly me, I should've paid more attention. That parameter is even present (and hard-coded to 0) in our current implementation. Thanks! |
Motivated by @MicahZoltu's comments on the forum:
The text was updated successfully, but these errors were encountered: