ethereum-optimism / superchain-registry

Superchain-configuration data in a portable, extensible format.
MIT License
59 stars 50 forks source link

Fix add-chain bug to robustly set filepaths #344

Closed bitwiseguy closed 4 days ago

bitwiseguy commented 5 days ago

Previously the add-chain script would not correctly set filepaths if invoked by the scripts/add-chain.sh script. This PR fixes that bug so invoking add-chain will work either way