Skip to content

Commit

Permalink
Merge branch 'main' into Linea-mono
Browse files Browse the repository at this point in the history
  • Loading branch information
huperts authored Jan 22, 2025
2 parents 3d3e1bd + 728487b commit c1652c5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docker/compose-local-dev-traces-v2.overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ services:
prover-v3: # prover compatible with the traces from zkbesu
container_name: prover-v3
hostname: prover-v3
image: consensys/linea-prover:${PROVER_TAG:-31389b1}
image: consensys/linea-prover:${PROVER_TAG:-543aedd}
platform: linux/amd64
# to avoid spinning up on CI for now
profiles: [ "l2" ]
Expand Down
25 changes: 12 additions & 13 deletions docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
sequencer:
hostname: sequencer
container_name: sequencer
image: consensys/linea-besu-package:${SEQUENCER_TAG:-mainnet-b297345}
image: consensys/linea-besu-package:${BESU_PACKAGE_TAG:-mainnet-fc27c01}
profiles: [ "l2", "l2-bc", "debug", "external-to-monorepo" ]
ports:
- "8545:8545"
Expand Down Expand Up @@ -100,7 +100,7 @@ services:
l2-node-besu:
hostname: l2-node-besu
container_name: l2-node-besu
image: consensys/linea-besu-package:${SEQUENCER_TAG:-mainnet-811f30b}
image: consensys/linea-besu-package:${BESU_PACKAGE_TAG:-mainnet-fc27c01}
profiles: [ "l2", "l2-bc", "debug", "external-to-monorepo" ]
depends_on:
sequencer:
Expand Down Expand Up @@ -206,7 +206,7 @@ services:
postman:
container_name: postman
hostname: postman
image: consensys/linea-postman:${POSTMAN_TAG:-f58c12a}
image: consensys/linea-postman:${POSTMAN_TAG:-1f8647e}
profiles: [ "l2", "debug" ]
platform: linux/amd64
restart: on-failure
Expand All @@ -225,7 +225,7 @@ services:
traces-api:
hostname: traces-api
container_name: traces-api
image: consensys/linea-traces-api-facade:${TRACES_API_TAG:-e9f2bcc}
image: consensys/linea-traces-api-facade:${TRACES_API_TAG:-1f8647e}
profiles: [ "l2", "debug" ]
restart: on-failure
depends_on:
Expand All @@ -246,7 +246,7 @@ services:
transaction-exclusion-api:
hostname: transaction-exclusion-api
container_name: transaction-exclusion-api
image: consensys/linea-transaction-exclusion-api:${TRANSACTION_EXCLUSION_API_TAG:-8749f92}
image: consensys/linea-transaction-exclusion-api:${TRANSACTION_EXCLUSION_API_TAG:-1f8647e}
profiles: [ "l2", "debug" ]
restart: on-failure
depends_on:
Expand All @@ -267,7 +267,7 @@ services:
coordinator:
hostname: coordinator
container_name: coordinator
image: consensys/linea-coordinator:${COORDINATOR_TAG:-a5119c4}
image: consensys/linea-coordinator:${COORDINATOR_TAG:-1f8647e}
platform: linux/amd64
profiles: [ "l2", "debug" ]
depends_on:
Expand Down Expand Up @@ -363,7 +363,7 @@ services:
l1-el-node:
container_name: l1-el-node
hostname: l1-el-node
image: hyperledger/besu:24.10.0
image: consensys/linea-besu-package:${BESU_PACKAGE_TAG:-mainnet-fc27c01}
profiles: [ "l1", "debug", "external-to-monorepo" ]
depends_on:
l1-node-genesis-generator:
Expand All @@ -380,6 +380,7 @@ services:
- /bin/bash
- -c
- |
rm -fr /opt/besu/plugins && \
/opt/besu/bin/besu --config-file=/config/config.toml
volumes:
- ./config/l1-node/el/besu.key:/config/keys/besu.key:ro
Expand All @@ -400,7 +401,7 @@ services:
l1-cl-node:
container_name: l1-cl-node
hostname: l1-cl-node
image: consensys/teku:24.10.3
image: consensys/teku:24.12.1
profiles: [ "l1", "debug", "external-to-monorepo" ]
depends_on:
l1-el-node:
Expand Down Expand Up @@ -471,7 +472,7 @@ services:
- l1network

zkbesu-shomei:
image: consensys/linea-besu-package:${SEQUENCER_TAG:-devnet-87bbd7c}
image: consensys/linea-besu-package:${BESU_PACKAGE_TAG:-devnet-fc27c01}
hostname: zkbesu-shomei
container_name: zkbesu-shomei
profiles: [ "l2", "l2-bc", "external-to-monorepo" ]
Expand Down Expand Up @@ -551,7 +552,7 @@ services:
# - ../tmp/local/shomei:/data/shomei/:z

shomei-frontend:
image: consensys/linea-shomei:2.2.0
image: consensys/linea-shomei:2.3.0
hostname: shomei-frontend
container_name: shomei-frontend
profiles: [ "l2", "l2-bc", "external-to-monorepo" ]
Expand Down Expand Up @@ -697,12 +698,11 @@ services:
ipv4_address: 10.10.10.205

zkbesu-shomei-sr:
image: consensys/linea-besu-package:${SEQUENCER_TAG:-devnet-87bbd7c}
image: consensys/linea-besu-package:${BESU_PACKAGE_TAG:-devnet-fc27c01}
hostname: zkbesu-shomei-sr
container_name: zkbesu-shomei-sr
profiles: [ "external-to-monorepo", "staterecovery" ]
privileged: true
# restart: none
user: root
ports:
- "9145:8545" # http
Expand All @@ -727,7 +727,6 @@ services:
- /bin/bash
- -c
- |
chown -R besu:besu /opt/besu/plugins && \
rm /opt/besu/plugins/linea-staterecovery-besu-plugin-v* && \
ls -lh /opt/besu/plugins && \
sed -i '/^CLASSPATH/c\CLASSPATH=/opt/besu/lib/\*\:/opt/besu/plugins/\*' /opt/besu/bin/besu && \
Expand Down
7 changes: 4 additions & 3 deletions docker/config/l1-node/cl/network-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ CONFIG_NAME: testnet # needs to exist because of Prysm. Otherwise it conflicts w
# Genesis
# ---------------------------------------------------------------
# `2**14` (= 16,384)
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 4
MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 1
# Mar-01-2021 08:53:32 AM +UTC
# This is an invalid valid and should be updated when you create the genesis
MIN_GENESIS_TIME: $GENESIS_TIME
GENESIS_FORK_VERSION: 0x10000038
GENESIS_DELAY: 30
GENESIS_DELAY: 10
MAX_BLOBS_PER_BLOCK: 18


# Forking
Expand Down Expand Up @@ -39,7 +40,7 @@ DENEB_FORK_EPOCH: 0

# Time parameters
# ---------------------------------------------------------------
# 12 seconds
# 1 seconds
SECONDS_PER_SLOT: 1
# 14 (estimate from Eth1 mainnet)
SECONDS_PER_ETH1_BLOCK: 1
Expand Down
1 change: 1 addition & 0 deletions docker/config/l1-node/el/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ node-private-key-file="/config/keys/besu.key"

# beahvior
revert-reason-enabled=true
plugins=[]
4 changes: 2 additions & 2 deletions prover/cmd/controller/controller/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func runCmd(cmd string, job *Job, retry bool) Status {
if err != nil {
// Failing to start the process can happen for various different
// reasons. It can be that the commands contains invalid characters
// like "\0". In practice, some of theses errors might be retriable
// like "\0". In practice, some of theses errors might be retryable
// and remains to see which one can. Until then, they will need to
// be manually retried.
logrus.Errorf("unexpected : failed to start process %v with error", pname)
Expand All @@ -228,7 +228,7 @@ func runCmd(cmd string, job *Job, retry bool) Status {
// Here it means, the "os" package could not start the process. It
// can happen for many different reasons essentially pertaining to
// the initialization of the process. It may be that some of theses
// errors are retriables but it remains to see which one. Until then
// errors are retryables but it remains to see which one. Until then
// we exited with a fatal code and the files will need to be
// manually reprocessed.
logrus.Errorf("unexpected : got an error trying to lock on %v : %v", pname, err)
Expand Down
4 changes: 2 additions & 2 deletions prover/cmd/controller/controller/job_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ func AggregatedDefinition(conf *config.Config) JobDefinition {
"{{.Start}}-{{.End}}-{{.ContentHash}}-getZkAggregatedProof.json",
),

// Execution job are at utmost priority
Priority: 1,
// Aggregation prover executes with the lowest priority
Priority: 2,

// Parameters of the regexp, they can loose in the sense that these
// regexp are only called if the `InputFileRegexp` is matched.
Expand Down

0 comments on commit c1652c5

Please sign in to comment.