Function ICappedReservesPump.readCappedReserves()
has incorrect signature: it contains extra param bytes
.
Here's how capped reserves are called in codebase:
Here is code from Well:
https://github.com/BeanstalkFarms/Basin/blob/master/src/pumps/MultiFlowPump.sol#L186
And here you can find deployed MultiFlowPump with the same function:
https://docs.basin.exchange/resources/contracts
As you can see function LibDeltaB.cappedReservesDeltaB()
reverts due to incorrect function signature. There is following chain of calls:
As a result, pipelineConvert()
doesn't work. It means Generalized Convert, one of the main upgrades, completely doesn't work.
Medium impact: protocol functionality doesn't work.
High likelihood: it doesn't work always.
Manual Review
Remove bytes
param from function:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.