diff --git a/packages/kusama/src/__snapshots__/kusama.scheduler.e2e.test.ts.snap b/packages/kusama/src/__snapshots__/kusama.scheduler.e2e.test.ts.snap index f33db0a28..ebfb6064b 100644 --- a/packages/kusama/src/__snapshots__/kusama.scheduler.e2e.test.ts.snap +++ b/packages/kusama/src/__snapshots__/kusama.scheduler.e2e.test.ts.snap @@ -143,7 +143,7 @@ exports[`Kusama Scheduler > priority-based execution of weighted tasks works cor }, { "data": { - "when": "(rounded 30000000)", + "when": "(redacted)", }, "method": "AgendaIncomplete", "section": "scheduler", diff --git a/packages/polkadot/src/__snapshots__/polkadot.scheduler.e2e.test.ts.snap b/packages/polkadot/src/__snapshots__/polkadot.scheduler.e2e.test.ts.snap index bf251997d..a119e2d74 100644 --- a/packages/polkadot/src/__snapshots__/polkadot.scheduler.e2e.test.ts.snap +++ b/packages/polkadot/src/__snapshots__/polkadot.scheduler.e2e.test.ts.snap @@ -143,7 +143,7 @@ exports[`Polkadot Scheduler > priority-based execution of weighted tasks works c }, { "data": { - "when": "(rounded 27000000)", + "when": "(redacted)", }, "method": "AgendaIncomplete", "section": "scheduler", diff --git a/packages/shared/src/scheduler.ts b/packages/shared/src/scheduler.ts index ca4c7bc83..bf9dd335a 100644 --- a/packages/shared/src/scheduler.ts +++ b/packages/shared/src/scheduler.ts @@ -1002,7 +1002,7 @@ export async function schedulePriorityWeightedTasks< // Check events - there should only be one execution await checkSystemEvents(client, 'scheduler', { section: 'balances', method: 'TotalIssuanceForced' }) .redact({ - redactKeys: /new|old|task/, + redactKeys: /new|old|task|when/, }) .toMatchSnapshot('events for priority weighted tasks execution')