migrateL2Beans will always fail because there is no value forwarded to the base bridge to pay the fee.
When bridging to base we must sent a small amount of ether with the transaction in order to pay for the fee of bridging to L2.
The problem occurs because currently migrateL2Beans does not allow the user to pay the fee because it is not payable and will not forward the msg.value
as we can see from the snippet above, there is currently no value being sent when calling sendMessage
this will cause the fee to not be paid, and ultimately will fail.
The bridging of beans will not be possible as the call to the bridge will fail because it does not forward along any eth to pay the fee. It will not be possible to migrate beans, the functionality of the protocol is dosed.
Manual review
Make the function payable and forward along the msg.value in order for the fee to be paid.
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.