You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rootCmd.PersistentFlags().DurationVar(&cfg.OverlayReplayBlockTimeout, "rpc.overlay.replayblocktimeout", rpccfg.DefaultOverlayReplayBlockTimeout, "Maximum amount of time to wait for the answer to replay a single block when called from an overlay_getLogs call.")
Copy file name to clipboardexpand all lines: cmd/utils/flags.go
+33
Original file line number
Diff line number
Diff line change
@@ -415,6 +415,11 @@ var (
415
415
Usage: "L2 datastreamer endpoint",
416
416
Value: "",
417
417
}
418
+
L2DataStreamerUseTLSFlag= cli.BoolFlag{
419
+
Name: "zkevm.l2-datastreamer-use-tls",
420
+
Usage: "Use TLS connection to L2 datastreamer endpoint",
421
+
Value: false,
422
+
}
418
423
L2DataStreamerTimeout= cli.StringFlag{
419
424
Name: "zkevm.l2-datastreamer-timeout",
420
425
Usage: "The time to wait for data to arrive from the stream before reporting an error (0s doesn't check)",
@@ -591,6 +596,11 @@ var (
591
596
Usage: "A comma separated list of grpc addresses that host executors",
592
597
Value: "",
593
598
}
599
+
ExecutorEnabled= cli.BoolFlag{
600
+
Name: "zkevm.executor-enabled",
601
+
Usage: "Enables the executor. Used for testing limbo, when executor-urls are set, but we don't want to use them, only in limbo to verify limbo transactions. For this case, set it to false. Defaulted to true",
602
+
Value: true,
603
+
}
594
604
ExecutorStrictMode= cli.BoolFlag{
595
605
Name: "zkevm.executor-strict",
596
606
Usage: "Defaulted to true to ensure you must set some executor URLs, bypass this restriction by setting to false",
@@ -612,6 +622,12 @@ var (
612
622
Usage: "A size of the memdb used on witness generation in format \"2GB\". Might fail generation for older batches if not enough for the unwind.",
613
623
Value: datasizeFlagValue(2*datasize.GB),
614
624
}
625
+
WitnessUnwindLimit= cli.Uint64Flag{
626
+
Name: "zkevm.witness-unwind-limit",
627
+
Usage: "The maximum number of blocks the witness generation can unwind",
628
+
Value: 500_000,
629
+
}
630
+
615
631
ExecutorMaxConcurrentRequests= cli.IntFlag{
616
632
Name: "zkevm.executor-max-concurrent-requests",
617
633
Usage: "The maximum number of concurrent requests to the executor",
@@ -667,6 +683,11 @@ var (
667
683
Usage: "Allow the sequencer to proceed transactions with 0 gas price",
668
684
Value: false,
669
685
}
686
+
RejectLowGasPriceTransactions= cli.BoolFlag{
687
+
Name: "zkevm.reject-low-gas-price-transactions",
688
+
Usage: "Reject the sequencer to proceed transactions with low gas price",
689
+
Value: false,
690
+
}
670
691
AllowPreEIP155Transactions= cli.BoolFlag{
671
692
Name: "zkevm.allow-pre-eip155-transactions",
672
693
Usage: "Allow the sequencer to proceed pre-EIP155 transactions",
@@ -788,6 +809,11 @@ var (
788
809
Usage: "Contracts that will have all of their storage added to the witness every time",
789
810
Value: "",
790
811
}
812
+
BadTxAllowance= cli.Uint64Flag{
813
+
Name: "zkevm.bad-tx-allowance",
814
+
Usage: "The maximum number of times a transaction that consumes too many counters to fit into a batch will be attempted before it is rejected outright by eth_sendRawTransaction",
815
+
Value: 2,
816
+
}
791
817
ACLPrintHistory= cli.IntFlag{
792
818
Name: "acl.print-history",
793
819
Usage: "Number of entries to print from the ACL history on node start up",
@@ -835,6 +861,11 @@ var (
835
861
Usage: "Maximum number of bytes returned from eth_call or similar invocations",
836
862
Value: 100_000,
837
863
}
864
+
RpcLogsMaxRange= cli.Uint64Flag{
865
+
Name: "rpc.logs.maxrange",
866
+
Usage: "Maximum range of logs that can be requested in a single call",
867
+
Value: 1000,
868
+
}
838
869
HTTPTraceFlag= cli.BoolFlag{
839
870
Name: "http.trace",
840
871
Usage: "Print all HTTP requests to logs with INFO level",
0 commit comments