@@ -270,7 +270,13 @@ pub fn get_config<E: EthSpec>(
270270 }
271271
272272 // Check if --dummy-el flag is set
273- let use_dummy_el = cli_args. get_flag ( "dummy-el" ) ;
273+ let mut use_dummy_el = cli_args. get_flag ( "dummy-el" ) ;
274+
275+ // Auto-enable --dummy-el if --zk-attester is set without --zkvm-generation-proof-types
276+ if cli_args. get_flag ( "zk-attester" ) && cli_args. get_one :: < String > ( "zkvm-generation-proof-types" ) . is_none ( ) {
277+ use_dummy_el = true ;
278+ }
279+
274280 client_config. use_dummy_el = use_dummy_el;
275281
276282 // Either `--execution-endpoint` or `--dummy-el` must be supplied.
@@ -351,7 +357,7 @@ pub fn get_config<E: EthSpec>(
351357 }
352358
353359 // Parse ZK-VM execution layer config if provided
354- if cli_args. get_flag ( "activate-zkvm " ) {
360+ if cli_args. get_flag ( "zk-attester " ) {
355361 let gen_types_provided = cli_args. get_one :: < String > ( "zkvm-generation-proof-types" ) . is_some ( ) ;
356362
357363 let generation_proof_types = if let Some ( gen_types_str) =
@@ -372,11 +378,9 @@ pub fn get_config<E: EthSpec>(
372378 . collect :: < Result < HashSet < _ > , _ > > ( )
373379 . map_err ( |e| format ! ( "Invalid subnet ID: {}" , e) ) ?
374380 } else {
375- // If --activate-zkvm is set without --zkvm-generation-proof-types,
376- // automatically enable --dummy-el for proof verification mode
377- if !gen_types_provided {
378- client_config. use_dummy_el = true ;
379- info ! ( "--activate-zkvm set without --zkvm-generation-proof-types: automatically enabling --dummy-el for proof verification mode" ) ;
381+ // No generation proof types provided - running in verification-only mode
382+ if client_config. use_dummy_el {
383+ info ! ( "--zk-attester set without --zkvm-generation-proof-types: automatically enabled --dummy-el for proof verification mode" ) ;
380384 }
381385 HashSet :: new ( )
382386 } ;
0 commit comments