Skip to content

Commit 0d790ef

Browse files
committed
disable force inclusion in prod
1 parent 18ce1ce commit 0d790ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/config/config.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,14 @@ func (c *Config) Validate() error {
266266
}
267267
}
268268

269+
if len(c.DA.GetForcedInclusionNamespace()) > 0 {
270+
// if err := validateNamespace(c.DA.GetForcedInclusionNamespace()); err != nil {
271+
// return fmt.Errorf("could not validate forced inclusion namespace (%s): %w", c.DA.GetForcedInclusionNamespace(), err)
272+
// }
273+
return fmt.Errorf("forced inclusion is not yet live")
274+
275+
}
276+
269277
// Validate lazy mode configuration
270278
if c.Node.LazyMode && c.Node.LazyBlockInterval.Duration <= c.Node.BlockTime.Duration {
271279
return fmt.Errorf("LazyBlockInterval (%v) must be greater than BlockTime (%v) in lazy mode",

0 commit comments

Comments
 (0)