Skip to content

Commit db7bfe7

Browse files
committed
Update
1 parent 1825048 commit db7bfe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/recipe_opstack.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ func (o *OpRecipe) Flags() *flag.FlagSet {
3232
flags := flag.NewFlagSet("opstack", flag.ContinueOnError)
3333
flags.StringVar(&o.externalBuilder, "external-builder", "", "External builder URL")
3434
flags.Var(&nullableUint64Value{&o.enableLatestFork}, "enable-latest-fork", "Enable latest fork isthmus (nil or empty = disabled, otherwise enabled at specified block)")
35-
flags.Uint64Var(&o.blockTime, "block-time", 1, "Block time to use for the rollup")
35+
flags.Uint64Var(&o.blockTime, "block-time", defaultOpBlockTimeSeconds, "Block time to use for the rollup")
3636
return flags
3737
}
3838

3939
func (o *OpRecipe) Artifacts() *ArtifactsBuilder {
4040
builder := NewArtifactsBuilder()
4141
builder.ApplyLatestL2Fork(o.enableLatestFork)
42+
builder.OpBlockTime(o.blockTime)
4243
return builder
4344
}
4445

0 commit comments

Comments
 (0)