From b979e7edddab164f0d55d6c7aa6c2ee2d54db6a0 Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Thu, 21 Sep 2023 23:11:07 +0100 Subject: [PATCH] add default to fix tests etc --- go/node/config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/go/node/config.go b/go/node/config.go index 376424d0c9..def6a4bc32 100644 --- a/go/node/config.go +++ b/go/node/config.go @@ -55,7 +55,11 @@ type Config struct { } func NewNodeConfig(opts ...Option) *Config { - defaultConfig := &Config{} + defaultConfig := &Config{ + batchInterval: "1s", + rollupInterval: "3s", + l1ChainID: 1337, + } for _, opt := range opts { opt(defaultConfig)