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

[Deployment] use create2 in the deployment script #58

Open
ChefMist opened this issue Jul 4, 2024 · 1 comment
Open

[Deployment] use create2 in the deployment script #58

ChefMist opened this issue Jul 4, 2024 · 1 comment

Comments

@ChefMist
Copy link
Collaborator

ChefMist commented Jul 4, 2024

ref: #57 (review)

@chef-omelette
Copy link
Contributor

chef-omelette commented Jul 4, 2024

can ref this https://0xfoobar.substack.com/i/95943893/create-the-solution to use create2 factory for consistent msg.sender cross-chain
furthermore, we can even use create3 https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol so that the address will not be affected by the initcode, that is, not affected by the constructor arguments.

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

No branches or pull requests

2 participants