diff --git a/op-node/flags/flags.go b/op-node/flags/flags.go index bac1570bc9cc..fd36c88c3c95 100644 --- a/op-node/flags/flags.go +++ b/op-node/flags/flags.go @@ -184,14 +184,14 @@ var ( Name: "l1.http-poll-interval", Usage: "Polling interval for latest-block subscription when using an HTTP RPC provider. Ignored for other types of RPC endpoints.", EnvVars: prefixEnvVars("L1_HTTP_POLL_INTERVAL"), - Value: time.Second * 12, + Value: time.Second * 3, Category: L1RPCCategory, } VerifierL1Confs = &cli.Uint64Flag{ Name: "verifier.l1-confs", Usage: "Number of L1 blocks to keep distance from the L1 head before deriving L2 data from. Reorgs are supported, but may be slow to perform.", EnvVars: prefixEnvVars("VERIFIER_L1_CONFS"), - Value: 0, + Value: 15, Category: L1RPCCategory, } SequencerEnabledFlag = &cli.BoolFlag{ @@ -223,14 +223,14 @@ var ( Name: "sequencer.l1-confs", Usage: "Number of L1 blocks to keep distance from the L1 head as a sequencer for picking an L1 origin.", EnvVars: prefixEnvVars("SEQUENCER_L1_CONFS"), - Value: 4, + Value: 15, Category: SequencerCategory, } L1EpochPollIntervalFlag = &cli.DurationFlag{ Name: "l1.epoch-poll-interval", Usage: "Poll interval for retrieving new L1 epoch updates such as safe and finalized block changes. Disabled if 0 or negative.", EnvVars: prefixEnvVars("L1_EPOCH_POLL_INTERVAL"), - Value: time.Second * 12 * 32, + Value: time.Second * 3 * 15, Category: L1RPCCategory, } RuntimeConfigReloadIntervalFlag = &cli.DurationFlag{ @@ -308,7 +308,7 @@ var ( Name: "l2.engine-sync", Usage: "WARNING: Deprecated. Use --syncmode=execution-layer instead", EnvVars: prefixEnvVars("L2_ENGINE_SYNC_ENABLED"), - Value: false, + Value: true, Hidden: true, } SkipSyncStartCheck = &cli.BoolFlag{ @@ -316,7 +316,7 @@ var ( Usage: "Skip sanity check of consistency of L1 origins of the unsafe L2 blocks when determining the sync-starting point. " + "This defers the L1-origin verification, and is recommended to use in when utilizing l2.engine-sync", EnvVars: prefixEnvVars("L2_SKIP_SYNC_START_CHECK"), - Value: false, + Value: true, Hidden: true, } BetaExtraNetworks = &cli.BoolFlag{ diff --git a/op-node/flags/p2p_flags.go b/op-node/flags/p2p_flags.go index 419d0bd4f0f4..1489a811801b 100644 --- a/op-node/flags/p2p_flags.go +++ b/op-node/flags/p2p_flags.go @@ -166,7 +166,7 @@ func P2PFlags(envPrefix string) []cli.Flag { Name: ListenTCPPortName, Usage: "TCP port to bind LibP2P to. Any available system port if set to 0.", Required: false, - Value: 9222, + Value: 9003, EnvVars: p2pEnv(envPrefix, "LISTEN_TCP_PORT"), Category: P2PCategory, }, @@ -174,7 +174,7 @@ func P2PFlags(envPrefix string) []cli.Flag { Name: ListenUDPPortName, Usage: "UDP port to bind Discv5 to. Same as TCP port if left 0.", Required: false, - Value: 0, // can simply match the TCP libp2p port + Value: 9003, // can simply match the TCP libp2p port EnvVars: p2pEnv(envPrefix, "LISTEN_UDP_PORT"), Category: P2PCategory, },