Skip to content
Merged
Show file tree
Hide file tree
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 @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down