Skip to content

Remaining: 1 ETH stuck in vault for rounding edge cases while execute distribution, fix it in v2 #1

Description

@mahimathacker

Rounding dust. If vault has 10 ETH split between 3 beneficiaries at 33.33% each:
Beneficiary 1: (10 * 3333) / 10000 = 3.333 ETH → rounds to 3 ETH
Beneficiary 2: (10 * 3333) / 10000 = 3 ETH
Beneficiary 3: (10 * 3334) / 10000 = 3 ETH
Total distributed: 9 ETH

so 1 ETH is stuck here

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions