Commit 9483e3bb authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

op-deployer: Fix standard artifacts urls (#12575)

parent 90fb25f1
......@@ -119,9 +119,9 @@ func ManagerOwnerAddrFor(chainID uint64) (common.Address, error) {
func StandardArtifactsURLForTag(tag string) (*url.URL, error) {
switch tag {
case "op-contracts/v1.6.0":
return url.Parse(standardArtifactsURL("ee07c78c3d8d4cd8f7a933c050f5afeebaa281b57b226cc6f092b19de2a8d61f"))
return url.Parse(standardArtifactsURL("5ff7fb7f5d3ff30d165fef6cec22c7af8eceb102dd964034762cf988a6678d51"))
case "op-contracts/v1.7.0-beta.1+l2-contracts":
return url.Parse(standardArtifactsURL("40ca65dc738f0f5fbb05ec9ec953d9be94bc1c02a09fd871a36b152f6b36c1fe"))
return url.Parse(standardArtifactsURL("b0fb1f6f674519d637cff39a22187a5993d7f81a6d7b7be6507a0b50a5e38597"))
default:
return nil, fmt.Errorf("unsupported tag: %s", tag)
}
......
......@@ -20,6 +20,7 @@ sha256sum foundry.toml >> manifest.txt
LC_ALL=C sort -o manifest.txt manifest.txt
checksum=$(sha256sum manifest.txt | awk '{print $1}')
rm manifest.txt
echoerr "> Checksum: $checksum"
echoerr "> Done."
echo -n "$checksum"
\ No newline at end of file
......@@ -25,6 +25,7 @@ fi
checksum=$(bash scripts/ops/calculate-checksum.sh)
echoerr "> Checksum: $checksum"
echoerr "> Checking for existing artifacts..."
exists=$(curl -s -o /dev/null --fail -LI "https://storage.googleapis.com/$DEPLOY_BUCKET/artifacts-v1-$checksum.tar.gz" || echo "fail")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment