From bbddbea34b9e9546c5338d9407a3ad7c3846072d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Miko=C5=82ajczyk?= Date: Wed, 1 Oct 2025 11:03:15 +0200 Subject: [PATCH 1/2] Use correct timeboost config path --- scripts/config.ts | 4 ++-- test-node.bash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/config.ts b/scripts/config.ts index c0e4bf1c..3f71b78d 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -326,8 +326,8 @@ function writeConfigs(argv: any) { sequencerConfig.execution["sequencer"].enable = true sequencerConfig.node["delayed-sequencer"].enable = true if (argv.timeboost) { - sequencerConfig.execution.sequencer.dangerous = {}; - sequencerConfig.execution.sequencer.dangerous.timeboost = { + sequencerConfig.execution.sequencer = {}; + sequencerConfig.execution.sequencer.timeboost = { "enable": false, // Create it false initially, turn it on with sed in test-node.bash after contract setup. "redis-url": argv.redisUrl }; diff --git a/test-node.bash b/test-node.bash index 58b3b80a..a9a06198 100755 --- a/test-node.bash +++ b/test-node.bash @@ -567,7 +567,7 @@ if $force_init; then docker compose run scripts transfer-erc20 --token $biddingTokenAddress --amount 10000 --from auctioneer --to user_alice docker compose run scripts transfer-erc20 --token $biddingTokenAddress --amount 10000 --from auctioneer --to user_bob - docker compose run --entrypoint sh scripts -c "sed -i 's/\(\"execution\":{\"sequencer\":{\"enable\":true,\"dangerous\":{\"timeboost\":{\"enable\":\)false/\1true,\"auction-contract-address\":\"$auctionContractAddress\",\"auctioneer-address\":\"$auctioneerAddress\"/' /config/sequencer_config.json" --wait + docker compose run --entrypoint sh scripts -c "sed -i 's/\(\"execution\":{\"sequencer\":{\"enable\":true,\"timeboost\":{\"enable\":\)false/\1true,\"auction-contract-address\":\"$auctionContractAddress\",\"auctioneer-address\":\"$auctioneerAddress\"/' /config/sequencer_config.json" --wait docker compose restart $INITIAL_SEQ_NODES fi From ac3564c876cc561fc130f284dfcdedf8a153e7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Miko=C5=82ajczyk?= Date: Wed, 1 Oct 2025 12:21:42 +0200 Subject: [PATCH 2/2] Do not clear sequencer config --- scripts/config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config.ts b/scripts/config.ts index 3f71b78d..7eb256e2 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -326,7 +326,6 @@ function writeConfigs(argv: any) { sequencerConfig.execution["sequencer"].enable = true sequencerConfig.node["delayed-sequencer"].enable = true if (argv.timeboost) { - sequencerConfig.execution.sequencer = {}; sequencerConfig.execution.sequencer.timeboost = { "enable": false, // Create it false initially, turn it on with sed in test-node.bash after contract setup. "redis-url": argv.redisUrl