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: unmarshal standard release into exported struct member #685

Closed geoknee closed 1 week ago

geoknee commented 1 week ago

and panic if we get an empty string.

This fixes a bug where the effective standard contract versions were not bound to the TOML files properly. This was causing contract version validation to always pass regardless of the contract versions used by any particular chain.

geoknee commented 1 week ago

See #687 which adds a test for this scenario.