@@ -296,7 +296,7 @@ function writeConfigs(argv: any) {
296296 if ( argv . simple ) {
297297 let simpleConfig = JSON . parse ( baseConfJSON )
298298 simpleConfig . node . staker . enable = true
299- simpleConfig . node . staker [ "use-smart-contract-wallet" ] = false // TODO: set to true when fixed
299+ simpleConfig . node . staker [ "use-smart-contract-wallet" ] = true
300300 simpleConfig . node . staker . dangerous [ "without-block-validator" ] = true
301301 simpleConfig . node . sequencer = true
302302 simpleConfig . node . dangerous [ "no-sequencer-coordinator" ] = true
@@ -311,7 +311,7 @@ function writeConfigs(argv: any) {
311311 } else {
312312 let validatorConfig = JSON . parse ( baseConfJSON )
313313 validatorConfig . node . staker . enable = true
314- validatorConfig . node . staker [ "use-smart-contract-wallet" ] = false // TODO: set to true when fixed
314+ validatorConfig . node . staker [ "use-smart-contract-wallet" ] = true
315315 let validconfJSON = JSON . stringify ( validatorConfig )
316316 fs . writeFileSync ( path . join ( consts . configpath , "validator_config.json" ) , validconfJSON )
317317
@@ -351,7 +351,7 @@ function writeConfigs(argv: any) {
351351 const l3ChainInfoFile = path . join ( consts . configpath , "l3_chain_info.json" )
352352 l3Config . chain [ "info-files" ] = [ l3ChainInfoFile ]
353353 l3Config . node . staker . enable = true
354- l3Config . node . staker [ "use-smart-contract-wallet" ] = false // TODO: set to true when fixed
354+ l3Config . node . staker [ "use-smart-contract-wallet" ] = true
355355 l3Config . node . sequencer = true
356356 l3Config . execution [ "sequencer" ] . enable = true
357357 l3Config . node [ "dangerous" ] [ "no-sequencer-coordinator" ] = true
0 commit comments