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
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ export class TimedBlockTrigger
log.info("Starting timed block trigger");
const { settlementInterval, blockInterval } = this.config;

if (
settlementInterval !== undefined &&
this.batchProducerModule === undefined
) {
log.warn(
"Settlement interval is configured, but no BatchProducerModule is - Batch production and settlement will not work, consider adding the missing module to your sequencer config"
);
}

const timerInterval = this.getTimerInterval();

let totalTime = 0;
Expand Down