Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy: whitelist with gateway #84

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Conversation

shaspitz
Copy link
Contributor

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

@shaspitz shaspitz requested a review from ckartik February 27, 2024 07:51
@shaspitz shaspitz marked this pull request as ready for review February 27, 2024 07:51
@shaspitz shaspitz requested a review from Mikelle February 29, 2024 03:01
@shaspitz shaspitz merged commit 511b6f5 into main Feb 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants