@@ -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
0 commit comments