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
2099be12
Unverified
Commit
2099be12
authored
Jul 13, 2023
by
mergify[bot]
Committed by
GitHub
Jul 13, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into jg/game_scripts
parents
9e26eea2
124cfdca
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
10 deletions
+66
-10
Dockerfile.l1
ops-bedrock/Dockerfile.l1
+1
-1
Dockerfile.l2
ops-bedrock/Dockerfile.l2
+1
-1
entrypoint-l1.sh
ops-bedrock/entrypoint-l1.sh
+0
-0
entrypoint-l2.sh
ops-bedrock/entrypoint-l2.sh
+51
-0
Dockerfile
ops/docker/ci-builder/Dockerfile
+13
-8
No files found.
ops-bedrock/Dockerfile.l1
View file @
2099be12
...
...
@@ -2,7 +2,7 @@ FROM ethereum/client-go:v1.11.2
RUN apk add --no-cache jq
COPY entrypoint.sh /entrypoint.sh
COPY entrypoint
-l1
.sh /entrypoint.sh
VOLUME ["/db"]
...
...
ops-bedrock/Dockerfile.l2
View file @
2099be12
...
...
@@ -2,7 +2,7 @@ FROM us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:optimism
RUN apk add --no-cache jq
COPY entrypoint.sh /entrypoint.sh
COPY entrypoint
-l2
.sh /entrypoint.sh
VOLUME ["/db"]
...
...
ops-bedrock/entrypoint.sh
→
ops-bedrock/entrypoint
-l1
.sh
View file @
2099be12
File moved
ops-bedrock/entrypoint-l2.sh
0 → 100644
View file @
2099be12
#!/bin/sh
set
-exu
VERBOSITY
=
${
GETH_VERBOSITY
:-
3
}
GETH_DATA_DIR
=
/db
GETH_CHAINDATA_DIR
=
"
$GETH_DATA_DIR
/geth/chaindata"
GENESIS_FILE_PATH
=
"
${
GENESIS_FILE_PATH
:-
/genesis.json
}
"
CHAIN_ID
=
$(
cat
"
$GENESIS_FILE_PATH
"
| jq
-r
.config.chainId
)
RPC_PORT
=
"
${
RPC_PORT
:-
8545
}
"
WS_PORT
=
"
${
WS_PORT
:-
8546
}
"
if
[
!
-d
"
$GETH_CHAINDATA_DIR
"
]
;
then
echo
"
$GETH_CHAINDATA_DIR
missing, running init"
echo
"Initializing genesis."
geth
--verbosity
=
"
$VERBOSITY
"
init
\
--datadir
=
"
$GETH_DATA_DIR
"
\
"
$GENESIS_FILE_PATH
"
else
echo
"
$GETH_CHAINDATA_DIR
exists."
fi
# Warning: Archive mode is required, otherwise old trie nodes will be
# pruned within minutes of starting the devnet.
exec
geth
\
--datadir
=
"
$GETH_DATA_DIR
"
\
--verbosity
=
"
$VERBOSITY
"
\
--http
\
--http
.corsdomain
=
"*"
\
--http
.vhosts
=
"*"
\
--http
.addr
=
0.0.0.0
\
--http
.port
=
"
$RPC_PORT
"
\
--http
.api
=
web3,debug,eth,txpool,net,engine
\
--ws
\
--ws
.addr
=
0.0.0.0
\
--ws
.port
=
"
$WS_PORT
"
\
--ws
.origins
=
"*"
\
--ws
.api
=
debug,eth,txpool,net,engine
\
--syncmode
=
full
\
--nodiscover
\
--maxpeers
=
0
\
--networkid
=
$CHAIN_ID
\
--authrpc
.addr
=
"0.0.0.0"
\
--authrpc
.port
=
"8551"
\
--authrpc
.vhosts
=
"*"
\
--authrpc
.jwtsecret
=
/config/jwt-secret.txt
\
--gcmode
=
archive
\
--metrics
\
--metrics
.addr
=
0.0.0.0
\
--metrics
.port
=
6060
\
"
$@
"
ops/docker/ci-builder/Dockerfile
View file @
2099be12
...
...
@@ -6,10 +6,10 @@ WORKDIR /opt
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
&&
\
apt-get
install
-y
curl build-essential git
&&
\
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
>
rustup.sh
&&
\
chmod
+x ./rustup.sh
&&
\
./rustup.sh
-y
apt-get
install
-y
curl build-essential git
&&
\
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
>
rustup.sh
&&
\
chmod
+x ./rustup.sh
&&
\
./rustup.sh
-y
COPY
./.foundryrc ./.foundryrc
...
...
@@ -21,10 +21,10 @@ RUN git clone https://github.com/foundry-rs/foundry.git ./foundry \
WORKDIR
/opt/foundry
RUN
source
$HOME
/.profile
&&
\
cargo build
--release
&&
\
strip /opt/foundry/target/release/forge
&&
\
strip /opt/foundry/target/release/cast
&&
\
strip /opt/foundry/target/release/anvil
cargo build
--release
&&
\
strip /opt/foundry/target/release/forge
&&
\
strip /opt/foundry/target/release/cast
&&
\
strip /opt/foundry/target/release/anvil
FROM
ethereum/client-go:alltools-v1.10.25 as geth
...
...
@@ -105,3 +105,8 @@ RUN echo "downloading mockery tool" && \
cp
mockery-tmp-dir/mockery /usr/local/bin/mockery
&&
\
chmod
+x /usr/local/bin/mockery
&&
\
rm
-rf
mockery-tmp-dir
RUN
echo
"installing mips binutils"
&&
\
apt-get
install
-y
binutils-mips-linux-gnu python3 python3-pip
&&
\
pip3
install
capstone pyelftools
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