-
Notifications
You must be signed in to change notification settings - Fork 75
feat: Added OP foundry deploy script #1131
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - one question on proxy deployment.
script/025DeployOPSpokePool.s.sol
Outdated
| "OP_SpokePool", | ||
| constructorArgs, | ||
| initArgs, | ||
| true // implementationOnly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to read this from the environment, or try to infer it from existing config. If they find a proxy then they skip deploying a new one, and otherwise they deploy both implementation and proxy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is already being done here upstream, this flag is just for when we want to forcefully deploy the implementation only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set the flag to false 0625b2f
script/025DeployOPSpokePool.s.sol
Outdated
| // 2. forge script script/039DeployOPSpokePool.s.sol:DeployOPSpokePool --rpc-url $NODE_URL_1 -vvvv | ||
| // 3. Verify the above works in simulation mode. | ||
| // 4. Deploy with: | ||
| // forge script script/039DeployOPSpokePool.s.sol:DeployOPSpokePool --rpc-url \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor:
| // 2. forge script script/039DeployOPSpokePool.s.sol:DeployOPSpokePool --rpc-url $NODE_URL_1 -vvvv | |
| // 3. Verify the above works in simulation mode. | |
| // 4. Deploy with: | |
| // forge script script/039DeployOPSpokePool.s.sol:DeployOPSpokePool --rpc-url \ | |
| // 2. forge script script/025DeployOPSpokePool.s.sol:DeployOPSpokePool --rpc-url $NODE_URL_1 -vvvv | |
| // 3. Verify the above works in simulation mode. | |
| // 4. Deploy with: | |
| // forge script script/025DeployOPSpokePool.s.sol:DeployOPSpokePool --rpc-url \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done 0625b2f
Signed-off-by: Faisal Usmani <[email protected]>
It was missing as part of #1087