ethereum-optimism / superchain-registry

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

validation: add tests for the tests #686

Open geoknee opened 1 week ago

geoknee commented 1 week ago

Much or our validation code is untested, which means we are very prone to bugs like this #685.

We should be using local dummy data to ensure validation checks catch chains with non-standard or missing data. We should refactor tests as necessary to enable them to be tested in this way.