Skip to content

Commit a856bae

Browse files
committed
chore: workaround and todos
1 parent cb5bc8c commit a856bae

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

scripts/config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ function writeConfigs(argv: any) {
199199
},
200200
"node": {
201201
"bold": {
202-
"enable": true,
203202
"rpc-block-number": "latest",
204203
"strategy": "makeNodes",
205204
"assertion-posting-interval": "10s"
@@ -298,7 +297,7 @@ function writeConfigs(argv: any) {
298297
if (argv.simple) {
299298
let simpleConfig = JSON.parse(baseConfJSON)
300299
simpleConfig.node.staker.enable = true
301-
simpleConfig.node.staker["use-smart-contract-wallet"] = false
300+
simpleConfig.node.staker["use-smart-contract-wallet"] = false // TODO: set to true when fixed
302301
simpleConfig.node.staker.dangerous["without-block-validator"] = true
303302
simpleConfig.node.sequencer = true
304303
simpleConfig.node.dangerous["no-sequencer-coordinator"] = true
@@ -313,7 +312,7 @@ function writeConfigs(argv: any) {
313312
} else {
314313
let validatorConfig = JSON.parse(baseConfJSON)
315314
validatorConfig.node.staker.enable = true
316-
validatorConfig.node.staker["use-smart-contract-wallet"] = false
315+
validatorConfig.node.staker["use-smart-contract-wallet"] = false // TODO: set to true when fixed
317316
let validconfJSON = JSON.stringify(validatorConfig)
318317
fs.writeFileSync(path.join(consts.configpath, "validator_config.json"), validconfJSON)
319318

@@ -353,7 +352,7 @@ function writeConfigs(argv: any) {
353352
const l3ChainInfoFile = path.join(consts.configpath, "l3_chain_info.json")
354353
l3Config.chain["info-files"] = [l3ChainInfoFile]
355354
l3Config.node.staker.enable = true
356-
l3Config.node.staker["use-smart-contract-wallet"] = false
355+
l3Config.node.staker["use-smart-contract-wallet"] = false // TODO: set to true when fixed
357356
l3Config.node.sequencer = true
358357
l3Config.execution["sequencer"].enable = true
359358
l3Config.node["dangerous"]["no-sequencer-coordinator"] = true

test-node.bash

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
NITRO_NODE_VERSION=offchainlabs/nitro-node:v3.6.0-rc.1
5+
NITRO_NODE_VERSION=offchainlabs/nitro-node:v3.6.0-rc.1-914d81d
66
BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.1.0-0e716c8
77

88
# nitro-contract workaround for testnode
@@ -585,6 +585,11 @@ if $force_init; then
585585
echo == Deploy Stylus Deployer on L2
586586
docker compose run scripts create-stylus-deployer --deployer l2owner
587587

588+
# TODO: remove this once the gas estimation issue is fixed
589+
echo == Gas Estimation workaround
590+
docker compose run scripts send-l1 --ethamount 1 --to address_0x0000000000000000000000000000000000000000 --wait
591+
docker compose run scripts send-l2 --ethamount 1 --to address_0x0000000000000000000000000000000000000000 --wait
592+
588593
if $l3node; then
589594
echo == Funding l3 users
590595
docker compose run scripts send-l2 --ethamount 1000 --to validator --wait

0 commit comments

Comments
 (0)