Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cmd/rollkit/commands/run_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ func NewRunNodeCmd() *cobra.Command {
// initialize the metrics
metrics := rollnode.DefaultMetricsProvider(cometconf.DefaultInstrumentationConfig())

// handle lazy aggregator mode
if lazyAgg := cmd.Flags().Lookup("rollkit.lazy_aggregator"); lazyAgg.Changed {
rollkitConfig.LazyAggregator = lazyAgg.Value.String() == "true"
}

// use mock jsonrpc da server by default
if !cmd.Flags().Lookup("rollkit.da_address").Changed {
srv, err := startMockDAServJSONRPC(cmd.Context())
Expand Down