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
0a3a1d48
Unverified
Commit
0a3a1d48
authored
Feb 27, 2023
by
mergify[bot]
Committed by
GitHub
Feb 27, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into dependabot/go_modules/gas-oracle/golang.org/x/sys-0.1.0
parents
f13b31e0
64cebac9
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
131 additions
and
104 deletions
+131
-104
serious-tools-try.md
.changeset/serious-tools-try.md
+5
-0
config.yml
.circleci/config.yml
+62
-72
README.md
README.md
+1
-0
go.mod
indexer/go.mod
+4
-4
go.sum
indexer/go.sum
+8
-5
go.mod
l2geth-exporter/go.mod
+1
-1
go.sum
l2geth-exporter/go.sum
+2
-2
Dockerfile
op-batcher/Dockerfile
+3
-1
Dockerfile
op-node/Dockerfile
+3
-1
utils.go
op-node/withdrawals/utils.go
+2
-2
Dockerfile
op-proposer/Dockerfile
+3
-1
ci-docker-tag-op-stack-release.sh
ops/scripts/ci-docker-tag-op-stack-release.sh
+6
-0
go.mod
proxyd/go.mod
+1
-1
go.sum
proxyd/go.sum
+2
-2
messengers.md
specs/messengers.md
+28
-12
No files found.
.changeset/serious-tools-try.md
0 → 100644
View file @
0a3a1d48
---
"
@eth-optimism/l2geth-exporter"
:
patch
---
build(deps): bump golang.org/x/sys from 0.0.0-20220310020820-b874c991c1a5 to 0.1.0 in /l2geth-exporter
.circleci/config.yml
View file @
0a3a1d48
...
@@ -2,7 +2,7 @@ version: 2.1
...
@@ -2,7 +2,7 @@ version: 2.1
orbs
:
orbs
:
go
:
circleci/go@1.5.0
go
:
circleci/go@1.5.0
gcp-cli
:
circleci/gcp-cli@
2.4
.1
gcp-cli
:
circleci/gcp-cli@
3.0
.1
commands
:
commands
:
gcp-oidc-authenticate
:
gcp-oidc-authenticate
:
description
:
"
Authenticate
with
GCP
using
a
CircleCI
OIDC
token."
description
:
"
Authenticate
with
GCP
using
a
CircleCI
OIDC
token."
...
@@ -189,8 +189,22 @@ jobs:
...
@@ -189,8 +189,22 @@ jobs:
DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|${IMAGE_BASE}:|")
DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|${IMAGE_BASE}:|")
echo -ne $DOCKER_TAGS | tr ' ' '\n' | xargs -L1 docker push
echo -ne $DOCKER_TAGS | tr ' ' '\n' | xargs -L1 docker push
docker-tag-op-stack-release
:
docker-release
:
environment
:
DOCKER_BUILDKIT
:
1
parameters
:
parameters
:
docker_name
:
description
:
Docker image name
type
:
string
docker_tags
:
description
:
Docker image tags as csv
type
:
string
docker_file
:
description
:
Path to Dockerfile
type
:
string
docker_context
:
description
:
Docker build context
type
:
string
registry
:
registry
:
description
:
Docker registry
description
:
Docker registry
type
:
string
type
:
string
...
@@ -199,17 +213,36 @@ jobs:
...
@@ -199,17 +213,36 @@ jobs:
description
:
Docker repo
description
:
Docker repo
type
:
string
type
:
string
default
:
"
oplabs-tools-artifacts/images"
default
:
"
oplabs-tools-artifacts/images"
docker
:
machine
:
-
image
:
cimg/python:3.7
image
:
ubuntu-2204:2022.07.1
resource_class
:
small
resource_class
:
xlarge
steps
:
steps
:
-
gcp-cli/install
-
gcp-cli/install
-
gcp-oidc-authenticate
-
gcp-oidc-authenticate
-
checkout
-
checkout
-
run
:
-
run
:
name
:
Tag
name
:
Build
command
:
|
IMAGE_BASE="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>"
DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|-t ${IMAGE_BASE}:|")
docker build \
$(echo -ne $DOCKER_TAGS | tr '\n' ' ') \
-f <<parameters.docker_file>> \
--build-arg VERSION=$CIRCLE_TAG \
<<parameters.docker_context>>
-
run
:
name
:
Configure Docker
command
:
|
command
:
|
gcloud auth configure-docker <<parameters.registry>>
gcloud auth configure-docker <<parameters.registry>>
-
run
:
name
:
Publish
command
:
|
IMAGE_BASE="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>"
DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|${IMAGE_BASE}:|")
echo -ne $DOCKER_TAGS | tr ' ' '\n' | xargs -L1 docker push
-
run
:
name
:
Tag
command
:
|
./ops/scripts/ci-docker-tag-op-stack-release.sh <<parameters.registry>>/<<parameters.repo>> $CIRCLE_TAG $CIRCLE_SHA1
./ops/scripts/ci-docker-tag-op-stack-release.sh <<parameters.registry>>/<<parameters.repo>> $CIRCLE_TAG $CIRCLE_SHA1
contracts-bedrock-tests
:
contracts-bedrock-tests
:
...
@@ -1117,113 +1150,70 @@ workflows:
...
@@ -1117,113 +1150,70 @@ workflows:
-
op-proposer-docker-build
-
op-proposer-docker-build
release
:
release
:
jobs
:
jobs
:
-
docker-bui
ld
:
-
ho
ld
:
name
:
op-node-docker-build
type
:
approval
filters
:
filters
:
tags
:
tags
:
only
:
/^op-[a-z0-9\-]*\/v.*/
only
:
/^op-[a-z0-9\-]*\/v.*/
branches
:
branches
:
ignore
:
/.*/
ignore
:
/.*/
docker_file
:
op-node/Dockerfile
-
docker-release
:
docker_name
:
op-node
name
:
op-node-docker-release
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
-
docker-publish
:
name
:
op-node-docker-publish
filters
:
filters
:
tags
:
tags
:
only
:
/^op-
[a-z0-9\-]*
\/v.*/
only
:
/^op-
node
\/v.*/
branches
:
branches
:
ignore
:
/.*/
ignore
:
/.*/
docker_file
:
op-node/Dockerfile
docker_name
:
op-node
docker_name
:
op-node
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
context
:
context
:
-
oplabs-gcr
-
oplabs-gcr
-release
requires
:
requires
:
-
op-node-docker-bui
ld
-
ho
ld
-
docker-
build
:
-
docker-
release
:
name
:
op-batcher-docker-
build
name
:
op-batcher-docker-
release
filters
:
filters
:
tags
:
tags
:
only
:
/^op-
[a-z0-9\-]*
\/v.*/
only
:
/^op-
batcher
\/v.*/
branches
:
branches
:
ignore
:
/.*/
ignore
:
/.*/
docker_file
:
op-batcher/Dockerfile
docker_file
:
op-batcher/Dockerfile
docker_name
:
op-batcher
docker_name
:
op-batcher
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
docker_context
:
.
-
docker-publish
:
name
:
op-batcher-docker-publish
filters
:
tags
:
only
:
/^op-[a-z0-9\-]*\/v.*/
branches
:
ignore
:
/.*/
docker_name
:
op-batcher
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
context
:
context
:
-
oplabs-gcr
-
oplabs-gcr
-release
requires
:
requires
:
-
op-batcher-docker-bui
ld
-
ho
ld
-
docker-
build
:
-
docker-
release
:
name
:
op-proposer-docker-
build
name
:
op-proposer-docker-
release
filters
:
filters
:
tags
:
tags
:
only
:
/^op-
[a-z0-9\-]*
\/v.*/
only
:
/^op-
proposer
\/v.*/
branches
:
branches
:
ignore
:
/.*/
ignore
:
/.*/
docker_file
:
op-proposer/Dockerfile
docker_file
:
op-proposer/Dockerfile
docker_name
:
op-proposer
docker_name
:
op-proposer
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
docker_context
:
.
-
docker-publish
:
name
:
op-proposer-docker-publish
filters
:
tags
:
only
:
/^op-[a-z0-9\-]*\/v.*/
branches
:
ignore
:
/.*/
docker_name
:
op-proposer
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
context
:
context
:
-
oplabs-gcr
-
oplabs-gcr
-release
requires
:
requires
:
-
op-proposer-docker-bui
ld
-
ho
ld
-
docker-build
:
-
docker-build
:
name
:
op-migrate-docker-
build
name
:
op-migrate-docker-
release
filters
:
filters
:
tags
:
tags
:
only
:
/^op-
[a-z0-9\-]*
\/v.*/
only
:
/^op-
migrate
\/v.*/
branches
:
branches
:
ignore
:
/.*/
ignore
:
/.*/
docker_file
:
op-chain-ops/Dockerfile
docker_file
:
op-chain-ops/Dockerfile
docker_name
:
op-migrate
docker_name
:
op-migrate
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
docker_context
:
.
-
docker-publish
:
name
:
op-migrate-docker-publish
filters
:
tags
:
only
:
/^op-[a-z0-9\-]*\/v.*/
branches
:
ignore
:
/.*/
docker_name
:
op-migrate
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
context
:
-
oplabs-gcr
requires
:
-
op-migrate-docker-build
-
docker-tag-op-stack-release
:
name
:
docker-tag-op-stack-release
filters
:
tags
:
only
:
/^op-[a-z0-9\-]*\/v.*/
branches
:
ignore
:
/.*/
requires
:
-
op-node-docker-publish
-
op-proposer-docker-publish
-
op-batcher-docker-publish
-
op-migrate-docker-publish
context
:
context
:
-
oplabs-gcr-release
-
oplabs-gcr-release
requires
:
-
hold
\ No newline at end of file
README.md
View file @
0a3a1d48
<div
align=
"center"
>
<div
align=
"center"
>
<br
/>
<br
/>
<br
/>
<br
/>
...
...
indexer/go.mod
View file @
0a3a1d48
...
@@ -148,11 +148,11 @@ require (
...
@@ -148,11 +148,11 @@ require (
go.uber.org/zap v1.23.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.
0.0-20220920183852-bf014ff85ad5
// indirect
golang.org/x/net v0.
7.0
// indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.
0.0-20221013171732-95e765b1cc43
// indirect
golang.org/x/sys v0.
5.0
// indirect
golang.org/x/term v0.
0.0-20220722155259-a9ba230a4035
// indirect
golang.org/x/term v0.
5.0
// indirect
golang.org/x/text v0.
3.8
// indirect
golang.org/x/text v0.
7.0
// indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/tools v0.1.12 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/protobuf v1.28.1 // indirect
...
...
indexer/go.sum
View file @
0a3a1d48
...
@@ -1265,8 +1265,9 @@ golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug
...
@@ -1265,8 +1265,9 @@ golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5 h1:KafLifaRFIuSJ5C+7CyFJOF9haxKNC1CEIDk8GX6X0k=
golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
...
@@ -1389,13 +1390,15 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
...
@@ -1389,13 +1390,15 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43 h1:OK7RB6t2WQX54srQQYSXMW8dF5C6/8+oA/s5QBmmto4=
golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035 h1:Q5284mrmYTpACcm+eAKjKJH48BBwSyfJqmmGDTtT8Vc=
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
...
@@ -1405,8 +1408,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
...
@@ -1405,8 +1408,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.
3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY
=
golang.org/x/text v0.
7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo
=
golang.org/x/text v0.
3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ
=
golang.org/x/text v0.
7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8
=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
...
...
l2geth-exporter/go.mod
View file @
0a3a1d48
...
@@ -44,7 +44,7 @@ require (
...
@@ -44,7 +44,7 @@ require (
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 // indirect
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 // indirect
golang.org/x/sys v0.
0.0-20220310020820-b874c991c1a5
// indirect
golang.org/x/sys v0.
1.0
// indirect
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
google.golang.org/protobuf v1.27.1 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
...
...
l2geth-exporter/go.sum
View file @
0a3a1d48
...
@@ -654,8 +654,8 @@ golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBc
...
@@ -654,8 +654,8 @@ golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.
0.0-20220310020820-b874c991c1a5 h1:y/woIyUBFbpQGKS0u1aHF/40WUDnek3fPOyD08H5Vng
=
golang.org/x/sys v0.
1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U
=
golang.org/x/sys v0.
0.0-20220310020820-b874c991c1a5
/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.
1.0
/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
...
...
op-batcher/Dockerfile
View file @
0a3a1d48
FROM
golang:1.18.0-alpine3.15 as builder
FROM
golang:1.18.0-alpine3.15 as builder
ARG
VERSION=v0.0.0
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-batcher with the shared go.mod & go.sum files
# build op-batcher with the shared go.mod & go.sum files
...
@@ -15,7 +17,7 @@ COPY ./.git /app/.git
...
@@ -15,7 +17,7 @@ COPY ./.git /app/.git
WORKDIR
/app/op-batcher
WORKDIR
/app/op-batcher
RUN
make op-batcher
RUN
make op-batcher
VERSION
=
"
$VERSION
"
FROM
alpine:3.15
FROM
alpine:3.15
...
...
op-node/Dockerfile
View file @
0a3a1d48
FROM
golang:1.18.0-alpine3.15 as builder
FROM
golang:1.18.0-alpine3.15 as builder
ARG
VERSION=v0.0.0
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-node with the shared go.mod & go.sum files
# build op-node with the shared go.mod & go.sum files
...
@@ -13,7 +15,7 @@ COPY ./.git /app/.git
...
@@ -13,7 +15,7 @@ COPY ./.git /app/.git
WORKDIR
/app/op-node
WORKDIR
/app/op-node
RUN
make op-node
RUN
make op-node
VERSION
=
"
$VERSION
"
FROM
alpine:3.15
FROM
alpine:3.15
...
...
op-node/withdrawals/utils.go
View file @
0a3a1d48
...
@@ -262,10 +262,10 @@ func ParseMessagePassed(receipt *types.Receipt) (*bindings.L2ToL1MessagePasserMe
...
@@ -262,10 +262,10 @@ func ParseMessagePassed(receipt *types.Receipt) (*bindings.L2ToL1MessagePasserMe
return
nil
,
errors
.
New
(
"Unable to find MessagePassed event"
)
return
nil
,
errors
.
New
(
"Unable to find MessagePassed event"
)
}
}
// StorageSlotOfWithdrawalHash determines the storage slot of the
Withdraw
er contract to look at
// StorageSlotOfWithdrawalHash determines the storage slot of the
L2ToL1MessagePass
er contract to look at
// given a WithdrawalHash
// given a WithdrawalHash
func
StorageSlotOfWithdrawalHash
(
hash
common
.
Hash
)
common
.
Hash
{
func
StorageSlotOfWithdrawalHash
(
hash
common
.
Hash
)
common
.
Hash
{
// The withdrawals mapping is the
second (0 indexed) storage element in the Withdraw
er contract.
// The withdrawals mapping is the
0th storage slot in the L2ToL1MessagePass
er contract.
// To determine the storage slot, use keccak256(withdrawalHash ++ p)
// To determine the storage slot, use keccak256(withdrawalHash ++ p)
// Where p is the 32 byte value of the storage slot and ++ is concatenation
// Where p is the 32 byte value of the storage slot and ++ is concatenation
buf
:=
make
([]
byte
,
64
)
buf
:=
make
([]
byte
,
64
)
...
...
op-proposer/Dockerfile
View file @
0a3a1d48
FROM
golang:1.18.0-alpine3.15 as builder
FROM
golang:1.18.0-alpine3.15 as builder
ARG
VERSION=v0.0.0
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
RUN
apk add
--no-cache
make gcc musl-dev linux-headers git jq bash
# build op-proposer with the shared go.mod & go.sum files
# build op-proposer with the shared go.mod & go.sum files
...
@@ -14,7 +16,7 @@ COPY ./.git /app/.git
...
@@ -14,7 +16,7 @@ COPY ./.git /app/.git
WORKDIR
/app/op-proposer
WORKDIR
/app/op-proposer
RUN
make op-proposer
RUN
make op-proposer
VERSION
=
"
$VERSION
"
FROM
alpine:3.15
FROM
alpine:3.15
...
...
ops/scripts/ci-docker-tag-op-stack-release.sh
View file @
0a3a1d48
...
@@ -35,5 +35,11 @@ fi
...
@@ -35,5 +35,11 @@ fi
echo
"Tagging
$SOURCE_IMAGE_TAG
with '
$IMAGE_TAG
'"
echo
"Tagging
$SOURCE_IMAGE_TAG
with '
$IMAGE_TAG
'"
gcloud container images add-tag
-q
"
$SOURCE_IMAGE_TAG
"
"
$TARGET_IMAGE_TAG
"
gcloud container images add-tag
-q
"
$SOURCE_IMAGE_TAG
"
"
$TARGET_IMAGE_TAG
"
# Do not tag with latest if the release is a release candidate.
if
[[
"
$IMAGE_TAG
"
==
*
"rc"
*
]]
;
then
echo
"Not tagging with 'latest' because the release is a release candidate."
exit
0
fi
echo
"Tagging
$SOURCE_IMAGE_TAG
with 'latest'"
echo
"Tagging
$SOURCE_IMAGE_TAG
with 'latest'"
gcloud container images add-tag
-q
"
$SOURCE_IMAGE_TAG
"
"
$TARGET_IMAGE_TAG_LATEST
"
gcloud container images add-tag
-q
"
$SOURCE_IMAGE_TAG
"
"
$TARGET_IMAGE_TAG_LATEST
"
proxyd/go.mod
View file @
0a3a1d48
...
@@ -58,7 +58,7 @@ require (
...
@@ -58,7 +58,7 @@ require (
github.com/yuin/gopher-lua v0.0.0-20210529063254-f4c35e4016d9 // indirect
github.com/yuin/gopher-lua v0.0.0-20210529063254-f4c35e4016d9 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 // indirect
golang.org/x/crypto v0.0.0-20220307211146-efcb8507fb70 // indirect
golang.org/x/sys v0.
0.0-20220310020820-b874c991c1a5
// indirect
golang.org/x/sys v0.
1.0
// indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
google.golang.org/protobuf v1.27.1 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
...
...
proxyd/go.sum
View file @
0a3a1d48
...
@@ -683,8 +683,8 @@ golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBc
...
@@ -683,8 +683,8 @@ golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.
0.0-20220310020820-b874c991c1a5 h1:y/woIyUBFbpQGKS0u1aHF/40WUDnek3fPOyD08H5Vng
=
golang.org/x/sys v0.
1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U
=
golang.org/x/sys v0.
0.0-20220310020820-b874c991c1a5
/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.
1.0
/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
...
...
specs/messengers.md
View file @
0a3a1d48
...
@@ -27,20 +27,35 @@ upgrade.
...
@@ -27,20 +27,35 @@ upgrade.
The
`L2CrossDomainMessenger`
is a predeploy contract located at
The
`L2CrossDomainMessenger`
is a predeploy contract located at
`0x4200000000000000000000000000000000000007`
.
`0x4200000000000000000000000000000000000007`
.
The base
`CrossDomainMessenger`
interface is:
```
solidity
```
solidity
interface CrossDomainMessenger {
interface CrossDomainMessenger {
event FailedRelayedMessage(bytes32 indexed msgHash);
event FailedRelayedMessage(bytes32 indexed msgHash);
event RelayedMessage(bytes32 indexed msgHash);
event RelayedMessage(bytes32 indexed msgHash);
event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit);
event SentMessage(address indexed target, address sender, bytes message, uint256 messageNonce, uint256 gasLimit);
event SentMessageExtension1(address indexed sender, uint256 value);
function MESSAGE_VERSION() view external returns (uint16);
function messageNonce() view external returns (uint256);
function MESSAGE_VERSION() external view returns (uint16);
function otherMessenger() view external returns (address);
function MIN_GAS_CALLDATA_OVERHEAD() external view returns (uint64);
function failedMessages(bytes32) view external returns (bool);
function MIN_GAS_CONSTANT_OVERHEAD() external view returns (uint64);
function relayMessage(uint256 _nonce, address _sender, address _target, uint256 _value, uint256 _minGasLimit, bytes memory _message) payable external;
function MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR() external view returns (uint64);
function sendMessage(address _target, bytes memory _message, uint32 _minGasLimit) payable external;
function MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR() external view returns (uint64);
function successfulMessages(bytes32) view external returns (bool);
function OTHER_MESSENGER() external view returns (address);
function xDomainMessageSender() view external returns (address);
function baseGas(bytes memory _message, uint32 _minGasLimit) external pure returns (uint64);
function failedMessages(bytes32) external view returns (bool);
function messageNonce() external view returns (uint256);
function relayMessage(
uint256 _nonce,
address _sender,
address _target,
uint256 _value,
uint256 _minGasLimit,
bytes memory _message
) external payable;
function sendMessage(address _target, bytes memory _message, uint32 _minGasLimit) external payable;
function successfulMessages(bytes32) external view returns (bool);
function xDomainMessageSender() external view returns (address);
}
}
```
```
...
@@ -56,9 +71,10 @@ The user experience when sending from L1 to L2 is a bit different than when
...
@@ -56,9 +71,10 @@ The user experience when sending from L1 to L2 is a bit different than when
sending a transaction from L2 to L1. When going into L2 from L1, the user does
sending a transaction from L2 to L1. When going into L2 from L1, the user does
not need to call
`relayMessage`
on L2 themselves. The user pays for L2 gas on L1
not need to call
`relayMessage`
on L2 themselves. The user pays for L2 gas on L1
and the transaction is automatically pulled into L2 where it is executed on L2.
and the transaction is automatically pulled into L2 where it is executed on L2.
When going from L2 into L1, the user must call
`relayMessage`
on the
When going from L2 into L1, the user proves their withdrawal on OptimismPortal,
`L1CrossDomainMessenger`
to finalize the withdrawal. This function can only
then waits for the finalization window to pass, and then finalizes the withdrawal
be called after the finalization window has passed.
on the OptimismPortal, which calls
`relayMessage`
on the
`L1CrossDomainMessenger`
to finalize the withdrawal.
## Upgradability
## Upgradability
...
...
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