error in encoding data
The error is in the decoding of peformData
. The function is decoding peformData
as if it only contains an array of uint128
, but based on the checkUpkeep
function, peformData
(or extraData
as it was called there) actually contains two pieces of information:
The array of account IDs to be liquidated
The address of the contract itself
This error means that the function is not correctly extracting all the data passed to it, potentially leading to unexpected behavior or reverts if the data is not in the expected format.
This error means that the function is not correctly extracting all the data passed to it, potentially leading to unexpected behavior or reverts if the data is not in the expected format.
Manual Review
(uint128[] memory accountsToBeLiquidated, address) = abi.decode(peformData, (uint128[], address));
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.