-
Notifications
You must be signed in to change notification settings - Fork 58
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
Proxy change check #1755
Proxy change check #1755
Conversation
noisekit
commented
Aug 9, 2023
•
edited
Loading
edited
- add scripts for each workspace with contracts to simulate release and to check for proxy change
- update gh action to run over all the workspaces with contracts
- comment out workspaces that were not published yet or have issues with build (re-enable after fixed)
- wait for Fix Infura URL for optimism mainnet #1763 to be merged first
7c46907
to
3ef8f9c
Compare
Codecov Report
@@ Coverage Diff @@
## main #1755 +/- ##
=======================================
Coverage 72.77% 72.77%
=======================================
Files 57 57
Lines 720 720
Branches 236 236
=======================================
Hits 524 524
Misses 167 167
Partials 29 29
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
64835f0
to
759d79b
Compare
759d79b
to
0a33409
Compare
- project: protocol/synthetix | ||
cannonPackage: synthetix:latest | ||
proxy: "InitialCoreProxy" | ||
chains: "mainnet optimistic-mainnet goerli optimistic-goerli" |
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.
Th reason to check all chains in one matrix run is that env setup has a big overhead and testing only one release per run is very inefficient (actual build is much faster than env setup). Bundling multiple networks for each package makes builds run slightly slower than build setup and makes matrix split more reasonable.
--upgrade-from ${{ matrix.cannonPackage }}:latest \ | ||
--impersonate ${{ matrix.impersonate }} | tee deployment.log | ||
|
||
grep 'Successfully built package ${{ matrix.cannonPackage }}' deployment.log |
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 need to ensure that build actually happened and not simply failed (as it used to be), so the step will fail if hardhat does not actually build anything.
@@ -35,19 +71,34 @@ jobs: | |||
- uses: actions/checkout@v3 | |||
- uses: actions/setup-node@v3 | |||
with: | |||
node-version: "18.16.0" | |||
node-version: "16.20.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.
downgrade to 16 on purpose?
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.
Just saw thread on discord
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.
Yeah it is a bit messier than I'd like it to be
8f6f993
to
eaf72ce
Compare
0a33409
to
48963ce
Compare
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