Fix COMP Accrual Bug
Objective
Patch the bug introduced in Proposal 62 and pessimistically allow COMP reward withdrawals until the bad COMP accruals can be fixed.
Justification
Proposal 62 introduced a bug in the COMP distribution logic that allowed users borrowing certain assets to claim more than their intended share of COMP. Proposal 63 prevents further COMP from being distributed until the correct logic is restored but causes issues for protocols that integrated with Compound and required the claim functionality.
Details
These changes fix accurals for the affected markets (cTUSD, cMKR, cSUSHI, cYFI, cAAVE, and cSAI) and pessimistically [1] enbles COMP distribution again.
[1] Only users who have not interacted with the affected markets will be able to withdraw their accrued COMP.
Note: To claim COMP successfully, not only must you not have interacted with the affected markets, you must also not try claiming COMP for the affected markets.
Please use either Comptroller#claimComp(address holder, CToken[] markets) or Comptroller#claimComp(address holder, CToken[] markets, bool borrowers, bool suppliers) with only the unaffected markets.
After this proposal passes, we’ll have a state where we’ll be able to compute an exhaustive list of users with bad COMP accrual values. From there, we’ll submit another proposal to fix the bad COMP accrual values and return everything to normal.
Review
While this has been tested, we will do further testing during the review period, and we implore the community to check the proposal.
References
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0x9AA8...62cCF1 | 321,018 | FOR |
0x6626...15c35c | 126,081 | FOR |
Robert Leshner | 105,025 | FOR |
0x54A3...61E189 | 100,216 | FOR |
0x8d07...e6A265 | 77,533 | FOR |
VOTE POWER
Proposal Status
- Published Onchain
0xc8A6...9ddfFC
- Mon October 04 2021, 04:15 amVoting Period Starts
- Thu October 07 2021, 06:10 amEnd Voting Period
- Thu October 07 2021, 06:13 amQueue Proposal
- Sat October 09 2021, 06:16 amExecute Proposal
Current Results
1-FOR
1.037M
2-AGAINST
N/A Tokens
3-ABSTAIN
N/A Tokens
