@@ -828,7 +828,7 @@ pub fn cli_app() -> Command {
828828 . alias ( "jwt-secrets" )
829829 . help ( "File path which contains the hex-encoded JWT secret for the \
830830 execution endpoint provided in the --execution-endpoint flag.")
831- . requires_one_of ( [ "execution-endpoint" , "zk-attester" ] )
831+ . requires ( "execution-source" )
832832 . action ( ArgAction :: Set )
833833 . display_order ( 0 )
834834 )
@@ -839,7 +839,7 @@ pub fn cli_app() -> Command {
839839 . alias ( "jwt-secret-key" )
840840 . help ( "Hex-encoded JWT secret for the \
841841 execution endpoint provided in the --execution-endpoint flag.")
842- . requires_one_of ( [ "execution-endpoint" , "zk-attester" ] )
842+ . requires ( "execution-source" )
843843 . conflicts_with ( "execution-jwt" )
844844 . action ( ArgAction :: Set )
845845 . display_order ( 0 )
@@ -875,7 +875,7 @@ pub fn cli_app() -> Command {
875875 . help ( "Emergency fallback fee recipient for use in case the validator client does \
876876 not have one configured. You should set this flag on the validator \
877877 client instead of (or in addition to) setting it here.")
878- . requires_one_of ( [ "execution-endpoint" , "zk-attester" ] )
878+ . requires ( "execution-source" )
879879 . action ( ArgAction :: Set )
880880 . display_order ( 0 )
881881 )
@@ -885,7 +885,7 @@ pub fn cli_app() -> Command {
885885 . alias ( "payload-builder" )
886886 . alias ( "payload-builders" )
887887 . help ( "The URL of a service compatible with the MEV-boost API." )
888- . requires_one_of ( [ "execution-endpoint" , "zk-attester" ] )
888+ . requires ( "execution-source" )
889889 . action ( ArgAction :: Set )
890890 . display_order ( 0 )
891891 )
@@ -934,8 +934,8 @@ pub fn cli_app() -> Command {
934934 )
935935 /* ZK-VM Execution Layer settings */
936936 . arg (
937- Arg :: new ( "zk-attester " )
938- . long ( "zk-attester " )
937+ Arg :: new ( "zkevm-validation " )
938+ . long ( "zkevm-validation " )
939939 . help ( "Activates ZKVM execution proof mode. Enables the node to subscribe to the \
940940 execution_proof gossip topic, receive and verify execution proofs from peers, \
941941 and advertise zkVM support in its ENR for peer discovery. \
@@ -951,7 +951,7 @@ pub fn cli_app() -> Command {
951951 . help ( "Comma-separated list of proof type IDs to generate \
952952 (e.g., '0,1' where 0=SP1+Reth, 1=Risc0+Geth). \
953953 Optional - nodes can verify proofs without generating them.")
954- . requires ( "zk-attester " )
954+ . requires ( "zkevm-validation " )
955955 . action ( ArgAction :: Set )
956956 . display_order ( 0 )
957957 )
@@ -1655,5 +1655,8 @@ pub fn cli_app() -> Command {
16551655 . action ( ArgAction :: Set )
16561656 . hide ( true )
16571657 )
1658+ . group ( ArgGroup :: new ( "execution-source" )
1659+ . args ( [ "execution-endpoint" , "zkevm-validation" ] )
1660+ . required ( true ) )
16581661 . group ( ArgGroup :: new ( "enable_http" ) . args ( [ "http" , "gui" , "staking" ] ) . multiple ( true ) )
16591662}
0 commit comments