You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flags.BoolVar(&exeConf.onflowOnlyLNs, "temp-onflow-only-lns", false, "do not use unless required. forces node to only request collections from onflow collection nodes")
140
141
flags.BoolVar(&exeConf.enableStorehouse, "enable-storehouse", false, "enable storehouse to store registers on disk, default is false")
141
142
flags.BoolVar(&exeConf.enableChecker, "enable-checker", true, "enable checker to check the correctness of the execution result, default is true")
143
+
flags.BoolVar(&exeConf.scheduleCallbacksEnabled, "scheduled-callbacks-enabled", false, "enable execution of scheduled callbacks")
142
144
// deprecated. Retain it to prevent nodes that previously had this configuration from crashing.
143
145
vardeprecatedEnableNewIngestionEnginebool
144
146
flags.BoolVar(&deprecatedEnableNewIngestionEngine, "enable-new-ingestion-engine", true, "enable new ingestion engine, default is true")
Copy file name to clipboardExpand all lines: cmd/verification_builder.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,8 @@ type VerificationConfig struct {
55
55
blockWorkersuint64// number of blocks processed in parallel.
56
56
chunkWorkersuint64// number of chunks processed in parallel.
57
57
58
-
stopAtHeightuint64// height to stop the node on
58
+
stopAtHeightuint64// height to stop the node on
59
+
scheduleCallbacksEnabledbool// enable execution of scheduled callbacks
59
60
}
60
61
61
62
typeVerificationNodeBuilderstruct {
@@ -83,6 +84,7 @@ func (v *VerificationNodeBuilder) LoadFlags() {
83
84
flags.Uint64Var(&v.verConf.blockWorkers, "block-workers", blockconsumer.DefaultBlockWorkers, "maximum number of blocks being processed in parallel")
84
85
flags.Uint64Var(&v.verConf.chunkWorkers, "chunk-workers", chunkconsumer.DefaultChunkWorkers, "maximum number of execution nodes a chunk data pack request is dispatched to")
85
86
flags.Uint64Var(&v.verConf.stopAtHeight, "stop-at-height", 0, "height to stop the node at (0 to disable)")
87
+
flags.BoolVar(&v.verConf.scheduleCallbacksEnabled, "scheduled-callbacks-enabled", false, "enable execution of scheduled callbacks")
86
88
})
87
89
}
88
90
@@ -211,7 +213,7 @@ func (v *VerificationNodeBuilder) LoadComponentsAndModules() {
211
213
)
212
214
213
215
// TODO(JanezP): cleanup creation of fvm context github.com/onflow/flow-go/issues/5249
0 commit comments