Skip to content

Files

Latest commit

b3dc857 · Nov 11, 2023

History

History
This branch is 331 commits ahead of, 5160 commits behind ethereum-optimism/optimism:develop.

op-chain-ops

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 25, 2023
Oct 16, 2023
Aug 3, 2023
Aug 17, 2023
Jul 25, 2023
Nov 11, 2023
Aug 16, 2023
Oct 5, 2023
Aug 4, 2023
Oct 12, 2023
Oct 11, 2023
Nov 30, 2022
Oct 20, 2023
Aug 3, 2023

op-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