Skip to content

Commit fc2a71d

Browse files
authored
Merge pull request #149 from OffchainLabs/default-use-scw
Default to using smart contract wallet in staker
2 parents 88aa1f4 + 0a85110 commit fc2a71d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function writeConfigs(argv: any) {
310310
if (argv.simple) {
311311
let simpleConfig = JSON.parse(baseConfJSON)
312312
simpleConfig.node.staker.enable = true
313-
simpleConfig.node.staker["use-smart-contract-wallet"] = false // TODO: set to true when fixed
313+
simpleConfig.node.staker["use-smart-contract-wallet"] = true
314314
simpleConfig.node.staker.dangerous["without-block-validator"] = true
315315
simpleConfig.node.sequencer = true
316316
simpleConfig.node.dangerous["no-sequencer-coordinator"] = true
@@ -325,7 +325,7 @@ function writeConfigs(argv: any) {
325325
} else {
326326
let validatorConfig = JSON.parse(baseConfJSON)
327327
validatorConfig.node.staker.enable = true
328-
validatorConfig.node.staker["use-smart-contract-wallet"] = false // TODO: set to true when fixed
328+
validatorConfig.node.staker["use-smart-contract-wallet"] = true
329329
let validconfJSON = JSON.stringify(validatorConfig)
330330
fs.writeFileSync(path.join(consts.configpath, "validator_config.json"), validconfJSON)
331331

@@ -367,7 +367,7 @@ function writeConfigs(argv: any) {
367367
const l3ChainInfoFile = path.join(consts.configpath, "l3_chain_info.json")
368368
l3Config.chain["info-files"] = [l3ChainInfoFile]
369369
l3Config.node.staker.enable = true
370-
l3Config.node.staker["use-smart-contract-wallet"] = false // TODO: set to true when fixed
370+
l3Config.node.staker["use-smart-contract-wallet"] = true
371371
l3Config.node.sequencer = true
372372
l3Config.execution["sequencer"].enable = true
373373
l3Config.node["dangerous"]["no-sequencer-coordinator"] = true

test-node.bash

Lines changed: 1 addition & 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.7.4-9244576
5+
NITRO_NODE_VERSION=offchainlabs/nitro-node:v3.8.0-62c0aa7
66
BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.1.0-0e716c8
77

88
# nitro-contract workaround for testnode

0 commit comments

Comments
 (0)