Skip to content

fix: chunk EtherFi withdrawal requests at 1,000 eETH - #335

Merged
naddison36 merged 1 commit into
mainfrom
nicka/etherfi-chunks
Aug 13, 2026
Merged

fix: chunk EtherFi withdrawal requests at 1,000 eETH#335
naddison36 merged 1 commit into
mainfrom
nicka/etherfi-chunks

Conversation

@naddison36

@naddison36 naddison36 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Split Ether.fi withdrawals into sequential requests capped at 1,000 eETH
  • Convert the 1,000 eETH limit into weETH shares using the configured WETH ARM adapter
  • Prevent the automated eETH and weETH withdrawal actions from reverting when balances exceed Ether.fi’s per-request limit
  • Add coverage for exact-limit, remainder, exact-multiple, and weETH-converted chunking

Testing

  • node test/js/etherfiQueue.test.js
  • Prettier
  • git diff --check

@naddison36
naddison36 merged commit 8262e5d into main Aug 13, 2026
6 of 7 checks passed
@naddison36
naddison36 deleted the nicka/etherfi-chunks branch August 13, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants