Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
290202b
feat: add CLAUDE.md file
jonastheis Sep 10, 2025
d6a3109
fix: use correct function to recover signer
yiweichi Sep 11, 2025
13a8c89
Merge remote-tracking branch 'origin/fix-persist-signature-recover-si…
jonastheis Sep 11, 2025
49d5606
Merge remote-tracking branch 'origin/main' into feat/improve-docker-e…
jonastheis Sep 11, 2025
30d3079
enable gossip to all on l2geth nodes and make gaslimit the same as RN…
jonastheis Sep 11, 2025
eef09ed
do not statically connect peers, disable discovery and make block tim…
jonastheis Sep 11, 2025
feaee36
dump logs before cleanup and provide convenience functions for nodes …
jonastheis Sep 11, 2025
8bbc5e2
fix: use sig_encode_hash to calculate block hash
yiweichi Sep 11, 2025
2df3745
Revert "fix: use sig_encode_hash to calculate block hash"
yiweichi Sep 11, 2025
31fbefb
fix: use sig_encode_hash to calculate block hash
yiweichi Sep 11, 2025
20a00d1
fix: ci
yiweichi Sep 11, 2025
a15e0dd
rename value
yiweichi Sep 11, 2025
7dbfc26
Merge branch 'main' into fix-persist-signature-recover-signer
yiweichi Sep 11, 2025
c1b7c34
Merge remote-tracking branch 'origin/fix-persist-signature-recover-si…
jonastheis Sep 11, 2025
0db5561
fix using wrong hash when computing signature and loading signature f…
jonastheis Sep 12, 2025
31b23cb
add caching to Dockerfile.test to speed up consecutive builds
jonastheis Sep 12, 2025
d141c22
add test_heterogeneous_client_sync_and_sequencer_handoff
jonastheis Sep 12, 2025
5ab3286
fix: correctly encode signature when handling block import
yiweichi Sep 14, 2025
f32a549
move all reth dependencies to workspace Cargo.toml and reference fix …
jonastheis Sep 15, 2025
c61058a
restore initial network topology after reth broadcast to all is enabled
jonastheis Sep 15, 2025
e57ee93
add more verbose logs
jonastheis Sep 15, 2025
ed95405
Merge remote-tracking branch 'origin/main' into feat/improve-docker-e…
jonastheis Sep 16, 2025
73599a3
Merge remote-tracking branch 'origin/main' into feat/improve-docker-e…
jonastheis Sep 16, 2025
9552ce4
update reth dependency
jonastheis Sep 16, 2025
5f4f03c
Merge remote-tracking branch 'origin/main' into feat/improve-docker-e…
jonastheis Sep 17, 2025
8d47314
fix issues after merge
jonastheis Sep 18, 2025
aaf4500
fix issues after merge
jonastheis Sep 18, 2025
b3a0501
build docker image by default
jonastheis Sep 18, 2025
d4edd0d
Merge remote-tracking branch 'origin/main' into feat/improve-docker-e…
jonastheis Sep 18, 2025
5afc355
fix typo
jonastheis Sep 18, 2025
17fb709
Merge branch 'main' into feat/improve-docker-e2e-test
jonastheis Sep 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,29 +138,50 @@ scroll-alloy-consensus = { git = "https://github.com/scroll-tech/reth.git", defa
scroll-alloy-hardforks = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-network = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-provider = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-evm = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-rpc-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-rpc-types-engine = { git = "https://github.com/scroll-tech/reth.git", default-features = false }

# reth
reth-chainspec = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-e2e-test-utils = { git = "https://github.com/scroll-tech/reth.git" }
reth-eth-wire = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-eth-wire-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-p2p = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-peers = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-builder = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-core = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-payload-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-provider = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-builder = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-eth-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-eth-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-server-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-storage-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-tasks = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-tokio-util = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-tracing = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-transaction-pool = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-trie-db = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-testing-utils = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-revm = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-evm = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-engine-local = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-cli-util = { git = "https://github.com/scroll-tech/reth.git", default-features = false }

# reth-scroll
reth-scroll-chainspec = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-cli = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-evm = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-rpc = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-engine-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-forks = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-node = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG CARGO_FEATURES=""

# Install basic packages
RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config
RUN cargo install cargo-chef --locked --version 0.1.71
RUN cargo install cargo-chef sccache --locked
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to configure cargo to use sccache; currently, it's not being used.

ENV RUSTC_WRAPPER=sccache SCCACHE_DIR=/sccache

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it bc it caused some problems after Greg's upstream changes

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh ok, shall we remove the installation of sccache entirely then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep I will remove it


FROM chef AS planner
WORKDIR /app
Expand All @@ -23,17 +23,18 @@ RUN mkdir -p tests/src && \
echo 'name = "tests"' >> tests/Cargo.toml && \
echo 'path = "src/lib.rs"' >> tests/Cargo.toml && \
echo 'pub fn dummy() {}' > tests/src/lib.rs
RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo chef prepare --recipe-path /recipe.json
RUN cargo chef prepare --recipe-path /recipe.json

FROM chef AS builder
WORKDIR /app
COPY --from=planner /recipe.json recipe.json
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/usr/local/cargo/git \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add sccache:

    --mount=type=cache,target=$SCCACHE_DIR,sharing=locked \

cargo chef cook --release --recipe-path recipe.json

COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/usr/local/cargo/git \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add sccache:

    --mount=type=cache,target=$SCCACHE_DIR,sharing=locked \

cargo build ${CARGO_FEATURES:+--features $CARGO_FEATURES} --release --target-dir=/app-target

# Release
Expand Down
2 changes: 1 addition & 1 deletion crates/chain-orchestrator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ scroll-network.workspace = true

# reth
reth-chainspec.workspace = true
reth-network-p2p = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-p2p.workspace = true
reth-network-peers.workspace = true
reth-primitives-traits.workspace = true

Expand Down
4 changes: 2 additions & 2 deletions crates/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ reth-primitives-traits.workspace = true
# reth-scroll
reth-scroll-chainspec.workspace = true
reth-scroll-primitives.workspace = true
reth-scroll-engine-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-engine-primitives.workspace = true

# rollup-node
rollup-node-primitives.workspace = true
Expand All @@ -56,7 +56,7 @@ tracing.workspace = true
alloy-consensus.workspace = true
arbitrary.workspace = true
async-trait.workspace = true
reth-testing-utils = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-testing-utils.workspace = true
rollup-node-providers = { workspace = true, features = ["test-utils"] }
scroll-alloy-consensus.workspace = true
scroll-alloy-rpc-types-engine = { workspace = true, features = ["arbitrary"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ reth-chainspec.workspace = true
reth-eth-wire-types.workspace = true
reth-network.workspace = true
reth-network-api.workspace = true
reth-network-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-types.workspace = true
reth-network-peers.workspace = true
reth-primitives-traits.workspace = true
reth-storage-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-storage-api.workspace = true
reth-tokio-util.workspace = true

# scroll
Expand Down
4 changes: 2 additions & 2 deletions crates/network/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ impl<

// Announce block to the filtered set of peers
for peer_id in peers {
trace!(target: "scroll::network::manager", peer_id = %peer_id, block_hash = %hash, "Announcing new block to peer");
trace!(target: "scroll::network::manager", peer_id = %peer_id, block_number = %block.block.header.number, block_hash = %hash, "Announcing new block to peer");
self.scroll_wire.announce_block(peer_id, &block, hash);
}
}
Expand Down Expand Up @@ -315,7 +315,7 @@ impl<
if self.blocks_seen.contains(&(block_hash, signature)) {
return None;
}
trace!(target: "scroll::bridge::import", peer_id = %peer_id, block_hash = %block_hash, "Received new block from eth-wire protocol");
trace!(target: "scroll::bridge::import", peer_id = %peer_id, block_hash = %block_hash, signature = %signature.to_string(), extra_data = %extra_data.to_string(), "Received new block from eth-wire protocol");

// Update the state of the peer cache i.e. peer has seen this block.
self.scroll_wire
Expand Down
32 changes: 16 additions & 16 deletions crates/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,37 @@ alloy-signer = "1.0.30"
alloy-transport.workspace = true

scroll-alloy-consensus.workspace = true
scroll-alloy-evm = { git = "https://github.com/scroll-tech/reth.git" }
scroll-alloy-evm.workspace = true
scroll-alloy-hardforks.workspace = true
scroll-alloy-network.workspace = true
scroll-alloy-provider.workspace = true

reth-primitives-traits.workspace = true
reth-scroll-engine-primitives.workspace = true
reth-scroll-evm = { git = "https://github.com/scroll-tech/reth.git" }
reth-scroll-cli = { git = "https://github.com/scroll-tech/reth.git" }
reth-scroll-evm.workspace = true
reth-scroll-cli.workspace = true
reth-scroll-primitives.workspace = true
reth-scroll-chainspec.workspace = true
reth-scroll-node.workspace = true
reth-scroll-rpc = { git = "https://github.com/scroll-tech/reth.git" }
reth-scroll-rpc.workspace = true

reth-chainspec.workspace = true
reth-cli-util = { git = "https://github.com/scroll-tech/reth.git" }
reth-cli-util.workspace = true
reth-eth-wire-types.workspace = true
reth-evm = { git = "https://github.com/scroll-tech/reth.git" }
reth-evm.workspace = true
reth-node-builder.workspace = true
reth-node-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-api.workspace = true
reth-node-core.workspace = true
reth-node-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-types.workspace = true
reth-network.workspace = true
reth-network-api.workspace = true
reth-revm = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-eth-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-eth-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-revm.workspace = true
reth-rpc-api.workspace = true
reth-rpc-eth-api.workspace = true
reth-rpc-eth-types.workspace = true
reth-tasks.workspace = true
reth-transaction-pool = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-trie-db = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-transaction-pool.workspace = true
reth-trie-db.workspace = true

# rollup node
rollup-node-chain-orchestrator.workspace = true
Expand All @@ -76,12 +76,12 @@ aws-sdk-kms = "1.76.0"
# test-utils
alloy-rpc-types-engine = { workspace = true, optional = true }
reth-e2e-test-utils = { workspace = true, optional = true }
reth-engine-local = { git = "https://github.com/scroll-tech/reth.git", default-features = false, optional = true }
reth-engine-local = { workspace = true, optional = true }
reth-provider = { workspace = true, optional = true }
reth-rpc-server-types = { workspace = true, optional = true }
scroll-alloy-rpc-types-engine = { workspace = true, optional = true }
scroll-derivation-pipeline = { workspace = true, optional = true }
scroll-alloy-rpc-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-rpc-types.workspace = true

scroll-db.workspace = true
scroll-engine.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/scroll-wire/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ alloy-primitives = { workspace = true, features = ["map-foldhash"] }
alloy-rlp = { version = "0.3.10", default-features = false }

# reth
reth-eth-wire = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-eth-wire.workspace = true
reth-network.workspace = true
reth-network-api.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion crates/sequencer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ scroll-alloy-consensus.workspace = true
# reth
reth-e2e-test-utils.workspace = true
reth-node-core.workspace = true
reth-tracing = { git = "https://github.com/scroll-tech/reth.git" }
reth-tracing.workspace = true

# reth-scroll
reth-scroll-chainspec.workspace = true
Expand Down
1 change: 1 addition & 0 deletions tests/l2geth-genesis-e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"feynmanTime": 0,
"systemContract": {
"period": 1,
"blocks_per_second": 2,
"system_contract_address": "0x55B150d210356452e4E79cCb6B778b4e1B167091",
"system_contract_slot": "0x0000000000000000000000000000000000000000000000000000000000000067"
},
Expand Down
10 changes: 3 additions & 7 deletions tests/launch_l2geth_follower.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@ set -e

geth init --datadir=/l2geth /l2geth-genesis-e2e.json

# Create config.toml with static nodes instead of bootnodes
echo '[Node.P2P]' > /l2geth/config.toml
echo 'StaticNodes = ["enode://8fc4f6dfd0a2ebf56560d0b0ef5e60ad7bcb01e13f929eae53a4c77086d9c1e74eb8b8c8945035d25c6287afdd871f0d41b3fd7e189697decd0f13538d1ac620@l2geth-sequencer:30303","enode://e7f7e271f62bd2b697add14e6987419758c97e83b0478bd948f5f2d271495728e7edef5bd78ad65258ac910f28e86928ead0c42ee51f2a0168d8ca23ba939766@rollup-node-sequencer:30303"]' >> /l2geth/config.toml

echo "Starting l2geth as follower..."
exec geth --datadir=/l2geth \
--config /l2geth/config.toml \
--port 30303 --syncmode full --networkid 938471 --nodiscover \
--http --http.addr 0.0.0.0 --http.port 8545 --http.vhosts "*" --http.corsdomain "*" --http.api "eth,scroll,net,web3,debug" \
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api "eth,scroll,net,web3,debug" \
--http --http.addr 0.0.0.0 --http.port 8545 --http.vhosts "*" --http.corsdomain "*" --http.api "admin,eth,scroll,net,web3,debug" \
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api "admin,eth,scroll,net,web3,debug" \
--pprof --pprof.addr 0.0.0.0 --pprof.port 6060 --metrics --verbosity 5 --log.debug \
--l1.endpoint "http://l1-node:8545" --l1.confirmations finalized --l1.sync.startblock 0 \
--gcmode archive --cache.noprefetch --cache.snapshot=0 --snapshot=false \
--gossip.enablebroadcasttoall \
--nat extip:0.0.0.0
7 changes: 4 additions & 3 deletions tests/launch_l2geth_sequencer.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ echo "test" > /l2geth/keystore/password.txt
echo "Starting l2geth as sequencer..."
exec geth --datadir=/l2geth \
--port 30303 --syncmode full --networkid 938471 --nodiscover \
--http --http.addr 0.0.0.0 --http.port 8545 --http.vhosts "*" --http.corsdomain "*" --http.api "eth,scroll,net,web3,debug,miner" \
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api "eth,scroll,net,web3,debug,miner" \
--http --http.addr 0.0.0.0 --http.port 8545 --http.vhosts "*" --http.corsdomain "*" --http.api "admin,eth,scroll,net,web3,debug,miner" \
--ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.api "admin,eth,scroll,net,web3,debug,miner" \
--pprof --pprof.addr 0.0.0.0 --pprof.port 6060 --metrics --verbosity 5 --log.debug \
--l1.endpoint "http://l1-node:8545" --l1.confirmations finalized --l1.sync.startblock 0 \
--gcmode archive --cache.noprefetch --cache.snapshot=0 --snapshot=false \
--nat extip:0.0.0.0 \
--gossip.enablebroadcasttoall \
--unlock "0xb674ff99cca262c99d3eab5b32796a99188543da" --password "/l2geth/keystore/password.txt" --allow-insecure-unlock \
--miner.allowempty
--miner.allowempty --miner.gaslimit 30000000
7 changes: 4 additions & 3 deletions tests/launch_rollup_node_follower.bash
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
#!/usr/bin/env bash
set -e

export RUST_LOG=sqlx=off,scroll=trace,reth=trace,rollup=trace,info
export RUST_LOG=sqlx=off,scroll=trace,reth=trace,rollup=trace,trace

exec rollup-node node --chain /l2reth/l2reth-genesis-e2e.json --datadir=/l2reth --metrics=0.0.0.0:6060 --network.scroll-wire --network.bridge \
exec rollup-node node --chain /l2reth/l2reth-genesis-e2e.json --datadir=/l2reth --metrics=0.0.0.0:6060 \
--network.scroll-wire --network.bridge --disable-discovery \
--network.valid_signer "0xb674ff99cca262c99d3eab5b32796a99188543da" \
--http --http.addr=0.0.0.0 --http.port=8545 --http.corsdomain "*" --http.api admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,miner,mev \
--ws --ws.addr=0.0.0.0 --ws.port=8546 --ws.api admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,miner,mev \
--log.stdout.format log-fmt -vvv \
--txpool.pending-max-count=1000 \
--builder.gaslimit=30000000 \
--rpc.max-connections=5000 \
--trusted-peers enode://8fc4f6dfd0a2ebf56560d0b0ef5e60ad7bcb01e13f929eae53a4c77086d9c1e74eb8b8c8945035d25c6287afdd871f0d41b3fd7e189697decd0f13538d1ac620@l2geth-sequencer:30303,enode://e7f7e271f62bd2b697add14e6987419758c97e83b0478bd948f5f2d271495728e7edef5bd78ad65258ac910f28e86928ead0c42ee51f2a0168d8ca23ba939766@rollup-node-sequencer:30303 \
--engine.sync-at-startup false \
--l1.url http://l1-node:8545 \
--blob.mock
11 changes: 6 additions & 5 deletions tests/launch_rollup_node_sequencer.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,23 @@ echo -n "0xd510c4b7c61a604f800c4f06803b1ee14b9a63de345e53426ae50425f2dbb058" > /
echo -n "01c0d9156e199d89814d4b18e9eb64e25de3927f3f6d27b778177f3ff6b610ad" > /l2reth/nodekey
# -> enode://e7f7e271f62bd2b697add14e6987419758c97e83b0478bd948f5f2d271495728e7edef5bd78ad65258ac910f28e86928ead0c42ee51f2a0168d8ca23ba939766@rollup-node-sequencer:30303

export RUST_LOG=sqlx=off,scroll=trace,reth=trace,rollup=trace,info
export RUST_LOG=sqlx=off,scroll=trace,reth=trace,rollup=trace,trace

exec rollup-node node --chain /l2reth/l2reth-genesis-e2e.json --datadir=/l2reth --metrics=0.0.0.0:6060 --network.scroll-wire --network.bridge \
exec rollup-node node --chain /l2reth/l2reth-genesis-e2e.json --datadir=/l2reth --metrics=0.0.0.0:6060 \
--network.scroll-wire --network.bridge --disable-discovery \
--network.valid_signer "0xb674ff99cca262c99d3eab5b32796a99188543da" \
--http --http.addr=0.0.0.0 --http.port=8545 --http.corsdomain "*" --http.api admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,miner,mev \
--ws --ws.addr=0.0.0.0 --ws.port=8546 --ws.api admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,miner,mev \
--log.stdout.format log-fmt -vvv \
--sequencer.enabled \
--sequencer.allow-empty-blocks \
--signer.key-file /l2reth/sequencer-key \
--sequencer.block-time 1000 \
--sequencer.payload-building-duration 800 \
--sequencer.block-time 500 \
--sequencer.payload-building-duration 400 \
--txpool.pending-max-count=1000 \
--builder.gaslimit=30000000 \
--rpc.max-connections=5000 \
--p2p-secret-key /l2reth/nodekey \
--trusted-peers enode://8fc4f6dfd0a2ebf56560d0b0ef5e60ad7bcb01e13f929eae53a4c77086d9c1e74eb8b8c8945035d25c6287afdd871f0d41b3fd7e189697decd0f13538d1ac620@l2geth-sequencer:30303 \
--engine.sync-at-startup false \
--l1.url http://l1-node:8545 \
--blob.mock
Loading
Loading