Skip to content

Commit e59be2e

Browse files
committed
refac: update to enable useSurgeGasPriceOracle
1 parent c63bbcf commit e59be2e

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

β€Ž.env.devnetβ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############################### IMAGES #####################################
22
PACAYA_PROTOCOL_IMAGE=nethermind/catalyst-taiko-protocol:taiko-alethia-protocol-v2.3.1-new
33
PROTOCOL_IMAGE=nethermind/surge-protocol:sha-b85d39a
4-
NETHERMIND_CLIENT_IMAGE=nethermindeth/nethermind:master-d6befe8
4+
NETHERMIND_CLIENT_IMAGE=nethermindeth/nethermind:master
55
TAIKO_CLIENT_IMAGE=nethermind/taiko-client:pr-260-3b8a522d
66
CATALYST_IMAGE=nethermind/catalyst-node:v1.30.0
77
RAIKO_IMAGE=nethermind/surge-raiko-zk:sha-76f481b
@@ -303,6 +303,12 @@ TX_SAFE_ABORT_NONCE_TOO_LOW_COUNT=
303303
# Timeout for sending transactions. If 0 it is disabled.
304304
TX_SEND_TIMEOUT=
305305

306+
############################### CATALYST #####################################
307+
MAX_BLOCKS_PER_BATCH=10
308+
PRECONF_MIN_TXS=1
309+
MIN_BYTES_PER_TX_LIST=128
310+
RUST_LOG=info
311+
306312
############################### RELAYER #####################################
307313
# Database
308314
MYSQL_USER=admin

β€Ždeploy-surge-full.shβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ generate_l2_genesis() {
15331533

15341534
update_env_var "$ENV_FILE" "SHASTA_TIMESTAMP" "$HEX_TIMESTAMP"
15351535

1536-
cat "$SURGE_GENESIS_FILE" | jq --arg hex_timestamp "$HEX_TIMESTAMP" '. * {difficulty: 0, config: {taiko: true, londonBlock: 0, ontakeBlock: 0, pacayaBlock: 1, shastaTimestamp: $hex_timestamp, feeCollector: "0x0000000000000000000000000000000000000000", shanghaiTime: 0}} | del(.config.clique)' | jq --from-file <(curl -s https://raw.githubusercontent.com/NethermindEth/core-scripts/refs/heads/main/gen2spec/gen2spec.jq) | jq --arg hex_timestamp "$HEX_TIMESTAMP" '.engine.Taiko.shastaTimestamp = $hex_timestamp' > "$DEPLOYMENT_DIR/surge_chainspec.json"
1536+
cat "$SURGE_GENESIS_FILE" | jq --arg hex_timestamp "$HEX_TIMESTAMP" '. * {difficulty: 0, config: {taiko: true, londonBlock: 0, ontakeBlock: 0, pacayaBlock: 1, shastaTimestamp: $hex_timestamp, useSurgeGasPriceOracle: true, feeCollector: "0x0000000000000000000000000000000000000000", shanghaiTime: 0}} | del(.config.clique)' | jq --from-file <(curl -s https://raw.githubusercontent.com/NethermindEth/core-scripts/refs/heads/main/gen2spec/gen2spec.jq) | jq --arg hex_timestamp "$HEX_TIMESTAMP" '.engine.Taiko.shastaTimestamp = $hex_timestamp' > "$DEPLOYMENT_DIR/surge_chainspec.json"
15371537

15381538
echo
15391539
echo "╔══════════════════════════════════════════════════════════════╗"

β€Ždocker-compose.ymlβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,6 @@ services:
221221
TAIKO_WRAPPER_ADDRESS: ${PACAYA_TAIKO_WRAPPER}
222222
FORCED_INCLUSION_STORE_ADDRESS: ${PACAYA_FORCED_INCLUSION_STORE}
223223
TAIKO_BRIDGE_L2_ADDRESS: ${SHASTA_BRIDGE}
224-
MAX_BLOCKS_PER_BATCH: 10
225-
PRECONF_MIN_TXS: 1
226-
MIN_BYTES_PER_TX_LIST: 128
227-
RUST_LOG: "info"
228224
extra_hosts:
229225
- "host.docker.internal:host-gateway"
230226
networks:

β€Žscript/start-nethermind.shβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ ARGS="${ARGS} \
3535
--HealthChecks.Enabled=true \
3636
--Pruning.PruningBoundary=1000 \
3737
--log=${EL_LOG_LEVEL} \
38+
--Surge.L1EthApiEndpoint=${L1_ENDPOINT_HTTP} \
39+
--Surge.TaikoInboxAddress=${SHASTA_SURGE_INBOX} \
3840
--logger-config=/nethermind/NLog.config"
3941

4042
echo "Starting Nethermind Execution Client with args: ${ARGS}"

0 commit comments

Comments
Β (0)