Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
9483e3bb
Unverified
Commit
9483e3bb
authored
Oct 22, 2024
by
Matthew Slipper
Committed by
GitHub
Oct 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-deployer: Fix standard artifacts urls (#12575)
parent
90fb25f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
standard.go
op-deployer/pkg/deployer/opcm/standard.go
+2
-2
calculate-checksum.sh
packages/contracts-bedrock/scripts/ops/calculate-checksum.sh
+1
-0
publish-artifacts.sh
packages/contracts-bedrock/scripts/ops/publish-artifacts.sh
+1
-0
No files found.
op-deployer/pkg/deployer/opcm/standard.go
View file @
9483e3bb
...
...
@@ -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
)
}
...
...
packages/contracts-bedrock/scripts/ops/calculate-checksum.sh
View file @
9483e3bb
...
...
@@ -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
packages/contracts-bedrock/scripts/ops/publish-artifacts.sh
View file @
9483e3bb
...
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment