Skip to content

Commit

Permalink
improve: allow forced proposal range with sending
Browse files Browse the repository at this point in the history
  • Loading branch information
james-a-morris committed Sep 15, 2023
1 parent 61c66ee commit 23088ac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dataworker/DataworkerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ export class DataworkerConfig extends CommonConfig {
assert(!this.forcePropose, "Cannot force propose if sending proposals is enabled");
}

// We NEVER want to force a bundle range if the proposer OR disputer is enabled.
if (this.sendingDisputesEnabled || this.sendingProposalsEnabled) {
assert(!this.forceProposalBundleRange, "Cannot force bundle range if sending proposals or disputes is enabled");
}

// `dataworkerFastLookbackCount` affects how far we fetch events from, modifying the search config's 'fromBlock'.
// Set to 0 to load all events, but be careful as this will cause the Dataworker to take 30+ minutes to complete.
// The average bundle frequency is 4-6 bundles per day so 16 bundles is a reasonable default
Expand Down

0 comments on commit 23088ac

Please sign in to comment.