Skip to content

Commit

Permalink
merge opbnb develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoieh committed Apr 25, 2024
2 parents 954d6dc + 79487d1 commit 7165ef0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions op-node/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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{
Expand Down Expand Up @@ -308,15 +308,15 @@ 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{
Name: "l2.skip-sync-start-check",
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{
Expand Down
4 changes: 2 additions & 2 deletions op-node/flags/p2p_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ 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,
},
&cli.UintFlag{
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,
},
Expand Down

0 comments on commit 7165ef0

Please sign in to comment.