Skip to content

Commit c7f5b20

Browse files
fix: revert using agg mode by default (#1738)
Closes #1736 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a default setting for the aggregator, making `nodeConfig.Aggregator` true by default if the `"rollkit.aggregator"` flag is not specified. This simplifies the configuration process for users. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent afa8680 commit c7f5b20

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmd/rollkit/commands/run_node.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ func NewRunNodeCmd() *cobra.Command {
5858
return err
5959
}
6060

61+
// use aggregator by default
62+
if !cmd.Flags().Lookup("rollkit.aggregator").Changed {
63+
nodeConfig.Aggregator = true
64+
}
65+
6166
// Update log format if the flag is set
6267
if config.LogFormat == cometconf.LogFormatJSON {
6368
logger = cometlog.NewTMJSONLogger(cometlog.NewSyncWriter(os.Stdout))

0 commit comments

Comments
 (0)