The pool.auctionLength
of the new pool that bought the loan is not updated into the loan.auctionLength
in giveLoan() and buyLoan()
From line 415 to 420 of giveLoan()
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L415-L420. Everything is updated according to match the new pool configs, however there is a missing update for loans[loanId].auctionLength
.
From line 517 to 522 of buyLoan()
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Lender.sol#L517-L522. Everything is updated according to match the new pool configs, however there is a missing update for loans[loanId].auctionLength
.
When calling startAuction()
, the loan is still running under the old pool's auctionLength
, which cause some inconvenience for the new lender as it doesn't follow his/her pool's configs.
Manual
Add an update for loans[loanId].auctionLength
to match with a new pool.
In giveLoan()
In buyLoan()
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.