diff --git a/voltaire_bundler/boot.py b/voltaire_bundler/boot.py index a3aba02..7df7dbc 100644 --- a/voltaire_bundler/boot.py +++ b/voltaire_bundler/boot.py @@ -129,15 +129,6 @@ def initialize_argument_parser() -> ArgumentParser: default="http://0.0.0.0:8545", ) - parser.add_argument( - "--ethereum_node_debug_trace_call_url", - type=str, - help="An Eth Client JSON-RPC Url for debug_traceCall only - defaults to ethereum_node_url value", - nargs="?", - const=None, - default=None, - ) - parser.add_argument( "--chain_id", type=int, @@ -161,7 +152,18 @@ def initialize_argument_parser() -> ArgumentParser: default=False, ) - parser.add_argument( + group2 = parser.add_mutually_exclusive_group() + + group2.add_argument( + "--ethereum_node_debug_trace_call_url", + type=str, + help="An Eth Client JSON-RPC Url for debug_traceCall only - defaults to ethereum_node_url value", + nargs="?", + const=None, + default=None, + ) + + group2.add_argument( "--unsafe", help="UNSAFE mode: no storage or opcode checks - when debug_traceCall is not available", nargs="?",