optimism
optimism copied to clipboard
contracts: update deploy script to read from superchain-registry toml configs
Description
The current contracts-bedrock
deploy script is able to read contract addresses from json files located in the local file system. This PR updates the deploy script such that a developer can also point to one of the new superchain-registry/superchain/config
.toml files and the script can pull addresses from there. The code will remain backwards compatible with the old json address files.
Tests
None yet