Certain functions of starknet require parameter of the type calldata
but the parameters passed is of type memory
startRequestCancellation function
Starklane::startRequestCancellation
calls startL1ToL2MessageCancellation
here
The definition of startL1ToL2MessageCancellation
:
Above is the definition of startL1ToL2MessageCancellation
function of Starknet which takes payload
as type calldata
but the type passed by startRequestCancellation
is memory
.
Starklane::cancelRequest
calls cancelL1ToL2Message
here
The definition of cancelL1ToL2Message
:
Above is the definition of cancelL1ToL2Message
function of Starknet which takes payload
as type calldata
but the type passed by cancelRequest
is memory
.
Mismatch of data type of parameters
Manual review
Use the correct data type i.e. calldata
for payload
.
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.