primev / contracts

Smart Contracts deployed on mev-commit
Other
6 stars 2 forks source link

deploy: whitelist with gateway #84

Closed shaspitz closed 7 months ago

shaspitz commented 7 months ago

Previously with hyperlane, the bridge contract on our settlement layer did not use foundry for deployment. Consequently we had to pass the bridge contract address to the whitelist deployment script as an environment variable. Now that our bridge contracts reside within this repo, we can use a single deploy script that deploys both the Whitelist and SettlementGateway together. The gateway contract is deployed first, then the whitelist, and finally the address of the gateway contract is whitelisted. This simplifies scripts that use DeploySettlementGateway and prevents the need for greping addresses out of deployment stdout