-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add sepolia option to L2 GH action scripts #1529
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 (but don't know much about this)
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, would add a comment explaining the need of the duplicate l1ws
L1_WS_URL_0: ${{ steps.outputVars.outputs.L1_WS_URL_0 }} | ||
L1_WS_URL_1: ${{ steps.outputVars.outputs.L1_WS_URL_1 }} |
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.
Worth adding a comment explaining the 2 WS
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.
looks good 👍
6d19051
to
b071c29
Compare
@@ -90,7 +90,7 @@ func (n *ContractDeployer) WaitForFinish() error { | |||
defer cli.Close() | |||
|
|||
// make sure the container has finished execution | |||
err = docker.WaitForContainerToFinish(n.containerID, 3*time.Minute) | |||
err = docker.WaitForContainerToFinish(n.containerID, 10*time.Minute) |
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.
3mins was sometimes too quick for sepolia, this script does quite a lot now with a few waits - don't think there's a need to rush it.
@@ -10,15 +10,15 @@ | |||
"author": "", | |||
"license": "ISC", | |||
"devDependencies": { | |||
"@nomicfoundation/hardhat-toolbox": "^2.0.0", | |||
"@nomicfoundation/hardhat-toolbox": "~2.0.0", |
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.
Fixing these versions solved the docker image compile problem on main.
Why this change is needed
Add sepolia-testnet as a third option in deploy and upgrade deployment scripts.
This will require updating of github secrets to provide infura API keys and to replace PKs with more securely guarded ones.
PR checks pre-merging
Please indicate below by ticking the checkbox that you have read and performed the required
PR checks