Skip to content

Commit

Permalink
fix(validateRootBundle): Bump DATAWORKER_FAST_LOOKBACK_COUNT (#1827)
Browse files Browse the repository at this point in the history
The Dataworker complains that 8 bundles is insufficient to cover the 6
hour fillDeadlineBuffer with a 1 hour challenge window, so bump it to 10.
  • Loading branch information
pxrl authored Sep 18, 2024
1 parent 9b3f759 commit 0c4022f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/validateRootBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function validate(_logger: winston.Logger, baseSigner: Signer): Pro
// enough data to limit # of excess historical deposit queries.
// - SPOKE_ROOTS_LOOKBACK_COUNT unused in this script so set to something < DATAWORKER_FAST_LOOKBACK_COUNT
// to avoid configuration error.
process.env.DATAWORKER_FAST_LOOKBACK_COUNT = "8";
process.env.DATAWORKER_FAST_LOOKBACK_COUNT = "10";
process.env.SPOKE_ROOTS_LOOKBACK_COUNT = "1";
const { clients, config, dataworker } = await createDataworker(logger, baseSigner);
logger[startupLogLevel(config)]({
Expand Down

0 comments on commit 0c4022f

Please sign in to comment.