Overview
After deploying the L1 smart contracts for your OP Stack chain, it’s crucial to verify that your deployment conforms to the standard configuration. This guide walks you through usingop-validator
to validate your deployment against the Superchain standard.
Prerequisites
- Complete deployment of L1 smart contracts using op-deployer.
- Generate genesis and rollup files.
- Install op-validator.
Validation process
1
Install op-validator
If you haven’t already installed op-validator, follow the installation instructions.
2
Gather required information
You’ll need the following information to validate your deployment:
- L1 RPC URL: A reliable RPC endpoint for your L1 network
- Absolute prestate: The absolute prestate hash of your deployment
- Proxy admin address: Your chain’s proxy admin contract address (not the proxy admin owner)
- System config address: Your chain’s SystemConfig contract address
- L2 chain ID: The chain ID of your L2 network
op-deployer
to retrieve the following information:3
Run validation for your contract version
Run the op-validator with the appropriate version parameter matching your deployed contracts:For op-contracts v1.8.0:For op-contracts v2.0.0:
4
Review the validation results
The validator will check multiple aspects of your deployment against the standard configuration:
- Contract implementations and versions
- Proxy configurations
- System parameters
- Cross-component relationships
- Security settings
ERROR | DESCRIPTION |
---|---|
SYSCON-10 | SystemConfig version mismatch |
SYSCON-40 | SystemConfig implementation address mismatch |
L1xDM-10 | L1CrossDomainMessenger version mismatch |
L1xDM-20 | L1CrossDomainMessenger implementation address mismatch |
L1SB-10 | L1StandardBridge version mismatch |
L1SB-20 | L1StandardBridge implementation address |
5
Address any validation errors
If your deployment has validation errors:
- Understand the errors - Review the error codes and descriptions.
- Consider redeployment - For critical issues, redeploying with corrected parameters may be necessary.
Next Steps
- If you plan to join the Superchain, follow the Standard Rollup Charter.
- Configure monitoring and maintenance
- Read the op-deployer docs