Skip to content

Deployment revert when using CREATE2 OPCode #873

Answered by popzxc
thomas-nguy asked this question in Deployments
Discussion options

You must be logged in to vote

I think that the issue stems from the fact that constructor parameters are passed differently from L1, so abi.encodePacked doesn't work as intended here.

Could you try deploying it using salted syntax? e.g.

DeBridgeTokenProxy deBridgeTokenProxy = new DeBridgeTokenProxy{salt: salt}(<constructorArgs>);

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@popzxc
Comment options

Comment options

You must be logged in to vote
1 reply
@popzxc
Comment options

Answer selected by popzxc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Questions for deployment
3 participants