Skip to content

Latest commit

 

History

History
 
 

bl-chain-ops

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bl-chain-ops

This package contains utilities for working with chain state.

check-l2

The check-l2 binary is used for verifying that an OP Stack L2 has been configured correctly. It iterates over all 2048 predeployed proxies to make sure they are configured correctly with the correct proxy admin address. After that, it checks that all predeploys are configured and aliased correctly. Additional contract-specific checks ensure configuration like ownership, version, and storage is set correctly for the predeploys.

Usage

It can be built and run using the Makefile check-l2 target. Run make check-l2 to create a binary in ./bin/check-l2 that can be executed by providing the --l1-rpc-url and --l2-rpc-url flags.

./bin/check-l2 \
  --l2-rpc-url http://localhost:9545 \
  --l1-rpc-url http://localhost:8545