Mocks assumes exactly the amount is received in the contract causing some operation to revert
Here is the GatewayRouterMock::outboundTransfer()
:
as you can see, it encode the _amount
rather than the balance received assuming the exact amount is what is received but as we know Daily rebases result in stETH token balances changing
see more here.
Mocks assumes exactly the amount is received in the contract causing some operation to revert
use as method as used in Distribution.sol
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.