You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cketh): task skeleton to create sweeper requests (#11347)
## Why
- The sweep queue that the balance scan fills has nothing turning its
deposits into sweeps, and the signing that will do so needs a canister —
which is what makes it untestable today.
## What
- An async `CanisterRuntime` trait extending `TimeProvider` with tECDSA
signing as its first capability, plus the implementation backed by the
system API and a mock for tests.
- A skeleton `create_pending_sweeper_requests`, its task type, and the
timer that runs it.
- The skeleton does nothing yet, and a unit test pins that down: a
deposit sits in the sweep queue, the runtime carries no expectation, and
the whole state comes back unchanged. Each later commit then shows up as
a diff against a passing test.
[DEFI-2926]: https://dfinity.atlassian.net/browse/DEFI-2926
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments