The msg.value
can be less than the specified in the Starknet messaging protocol function.
In the deposit function in L1 bridge.sol
the msg.value
is not validated according to starknet messaging protocol enforcement. As mentioned here starknetMessaging.sol The value must be less than 1ether and greater than 0.
If more or less than the specified value is passed the message would be reverted.
Manual
Validate msg.value
Use safeMint
instead of mint
as some L1 owner address won't be compatible
The mintFromBridge
bridge.sol:208 uses the underlying mint
which can't handle if L1 address is smart contract and unaware of token handling.
Loss of token for such address owner
Manual
Use safeMint
and check status
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.