Skip to content

Conversation

@gligneul
Copy link
Contributor

This change guarantees StylusDeployer will have the same address across different networks.

Close NIT-3203

This is the same bytecode used by the Nitro testnode. This bytecode was
generated on Nitro contracts version 3.0.1-beta.0.
This change guarantees StylusDeployer will have the same address across
different networks.
@gligneul
Copy link
Contributor Author

I am leaving this as a draft until OffchainLabs/nitro-testnode#121 is merged so I can update the final StylusDeployer bytecode.

@gligneul gligneul marked this pull request as ready for review April 16, 2025 18:23
@gligneul
Copy link
Contributor Author

The testnode PR was merged, so I updated this PR to use the same bytecode and deploy the contract to the same address.

@gligneul
Copy link
Contributor Author

I confirmed that the contract is being deployed to the correct address:

StylusDeployer deployed at address: 0x6ac4839Bfe169CadBBFbDE3f29bd8459037Bf64e

@rauljordan rauljordan merged commit 4c7e5f2 into main Apr 18, 2025
@gligneul gligneul deleted the gligneul/stylus-deployer-create2 branch June 24, 2025 16:57
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

Successfully merging this pull request may close these issues.

3 participants