ethpandaops/optimism-package

How to find L1 contract addresses

Opened this issue · 2 comments

Like title. I want to launch L1 and L2 to experiment dispute game. In old version, I can see contract addresses which about dispute game on console logs, like disputegameproxy.sol, faultdisputegame.sol and so on, but new version I can not find them. In this new version, How to find L1 contract addresses?

The only way I've found is to docker exec into the op-node container and cat /network-configs/rollup-* to print the system address, from there you can use the storage slots and get the other addresses. There are also other files where you can get the implementations addresses but I didn't find one that has all the proxies

tynes commented

It would be ideal if op-deployer could print this to stdout cc @mslipper