The StarknetMessaging
contract have sendMessageToL2
function which is a payable
function.It is used to send message to L2(i.e Starknet). The user needs to pay some ether to call this function as fees for sending message to L2. But the problem is that contract does not have any withdraw function making the fees stuck forever in the contract
This function requires user to pay certain fees to successfully send a message to L2. But the accumulated fees is not withdrawable due to absense of withdraw function.
The fees that will not be withdrawable thus it will get stuck forever in the contract.
Manual Code Review
Add a withdraw function in the StarknetMessaging contract.
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.