ethereum-optimism / superchain-registry

An index of chains which serves as the source of truth for who’s in the Superchain Ecosystem
MIT License
73 stars 75 forks source link

Infer other addresses from SystemConfig once MCP L1 is launched #71

Open zchn opened 8 months ago

zchn commented 8 months ago
          The goal of this file to serve as a reference and source of truth, which we verify in the `CheckSecurityConfigs` script? I ask because as of https://github.com/ethereum-optimism/optimism/pull/6555, we can now only define a chain's `SystemConfig` and then discover everything else. Wondering if we can leverage that in this repo (once everyone is on MCP L1 contracts)

_Originally posted by @mds1 in https://github.com/ethereum-optimism/superchain-registry/pull/69#discussion_r1471464207_

geoknee commented 2 months ago

The downside of this is that the other addresses will no longer be tracked in the repository, and therefore not inspectable by humans / services / software packages that want to read them.

mds1 commented 2 months ago

@geoknee What do you mean exactly? We can, for example, only ask for their SystemConfig address if it simplifies the add chain process, but still generate output files that contain all other system addresses for humans / services / software packages that want to read them.

geoknee commented 1 month ago

Yeah you're right that should work well. I think I was skipping all the way to "only store the SystemConfig address" which is not what this ticket is about.