Skip to content

Commit

Permalink
add default to fix tests etc
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Sep 21, 2023
1 parent 9afbc06 commit b979e7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion go/node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b979e7e

Please sign in to comment.