Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions docker/compose-tracing-v2-fleet-ci-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
extends:
file: compose-spec-l2-services.yml
service: l2-node-besu
image: consensys/${BESU_PACKAGE_IMAGE_NAME:-linea-besu-package-with-fleet}:${BESU_PACKAGE_TAG:-beta-v4.4-rc5-20251126225622-d4ef83e}
image: consensys/${BESU_PACKAGE_IMAGE_NAME:-linea-besu-package-with-fleet}:${BESU_PACKAGE_TAG:-beta-v4.4-rc5-20251127094207-a7201ae}
command:
- --config-file=/var/lib/besu/l2-node-besu.config.toml
- --genesis-file=/initialization/genesis-besu.json
Expand All @@ -41,7 +41,7 @@ services:
extends:
file: compose-spec-l2-services.yml
service: l2-node-besu-follower
image: consensys/${BESU_PACKAGE_IMAGE_NAME:-linea-besu-package-with-fleet}:${BESU_PACKAGE_TAG:-beta-v4.4-rc5-20251126225622-d4ef83e}
image: consensys/${BESU_PACKAGE_IMAGE_NAME:-linea-besu-package-with-fleet}:${BESU_PACKAGE_TAG:-beta-v4.4-rc5-20251127094207-a7201ae}
command:
- --config-file=/var/lib/besu/l2-node-besu.config.toml
- --genesis-file=/initialization/genesis-besu.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"terminalTotalDifficulty": 0,
"shanghaiTime": 0,
"cancunTime": 0,
"pragueTime": %PRAGUE_TIME%,
"pragueTime": 0,
"osakaTime": %FORK_TIME%,
"depositContractAddress": "0x3a69eD7FA6f6CA1dB2649327c4A2E666130823bE",
"withdrawalRequestContractAddress": "0x3a69eD7FA6f6CA1dB2649327c4A2E666130823bE",
"consolidationRequestContractAddress": "0x9AFC00F4CEaadb97A3822FCA2225FaD78839FBde",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"type": "qbft",
"blockTimeSeconds": 1,
"validatorSet": ["0x083e11f14b68d5ebeb4be3e3e0237ebbc5675ab5"],
"elFork": "Cancun"
"elFork": "Prague"
},
"%PRAGUE_TIME%": {
"%FORK_TIME%": {
"type": "qbft",
"validatorSet": ["0x083e11f14b68d5ebeb4be3e3e0237ebbc5675ab5"],
"blockTimeSeconds": 1,
"elFork": "Prague"
"elFork": "Osaka"
}
}
}
17 changes: 6 additions & 11 deletions docker/config/l2-genesis-initialization/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@ cp -T "genesis-maru.json.template" "genesis-maru.json"
cp -T "genesis-besu.json.template" "genesis-besu.json"
cp -T "/coordinator/coordinator-config-v2.toml" "coordinator-config-v2-hardforks.toml"

cancun_timestamp=0
echo "Cancun Timestamp: $cancun_timestamp"
sed -i "s/%CANCUN_TIME%/$cancun_timestamp/g" genesis-maru.json
sed -i "s/%CANCUN_TIME%/$cancun_timestamp/g" genesis-besu.json
fork_timestamp=$(($(date +%s) + 100))
echo "Fork Timestamp: $fork_timestamp"
sed -i "s/%FORK_TIME%/$fork_timestamp/g" genesis-maru.json
sed -i "s/%FORK_TIME%/$fork_timestamp/g" genesis-besu.json

prague_timestamp=$(($(date +%s) + 100))
echo "Prague Timestamp: $prague_timestamp"
sed -i "s/%PRAGUE_TIME%/$prague_timestamp/g" genesis-maru.json
sed -i "s/%PRAGUE_TIME%/$prague_timestamp/g" genesis-besu.json

prague_timestamp_ms=$((prague_timestamp * 1000))
sed -i'' "s/^\(timestamp-based-hard-forks[ ]*=[ ]*\).*/\1[${prague_timestamp_ms}]/" coordinator-config-v2-hardforks.toml
fork_timestamp_ms=$((fork_timestamp * 1000))
sed -i'' "s/^\(timestamp-based-hard-forks[ ]*=[ ]*\).*/\1[${fork_timestamp_ms}]/" coordinator-config-v2-hardforks.toml
Loading