Skip to content

feat(cketh): skip sweeper requests when no sweeper contract is configured - #11352

Draft
gregorydemay wants to merge 2 commits into
gdemay/DEFI-2926-enqueue-skeletonfrom
gdemay/DEFI-2926-create-sweeper-request
Draft

feat(cketh): skip sweeper requests when no sweeper contract is configured#11352
gregorydemay wants to merge 2 commits into
gdemay/DEFI-2926-enqueue-skeletonfrom
gdemay/DEFI-2926-create-sweeper-request

Conversation

@gregorydemay

Copy link
Copy Markdown
Contributor

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com


Stack created with GitHub Stacks CLIGive Feedback 💬

…ured

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an early exit when no Ethereum sweeper contract is configured.

Changes:

  • Checks sweeper configuration before creating requests.
  • Adds no-op coverage and consolidates runtime mock creation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sweep/mod.rs Skips request creation without a configured contract.
sweep/tests.rs Tests no-op behavior and reuses a mock helper.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Groups the queued deposits into one batch per token, capped at ten deposits
each, and resolves the attestation request every deposit in a batch will need.
Nothing is signed or enqueued yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants