The MondrianWallet2
contract cannot receive ETH due to not having a receive function. The ability to receive eth, which is one of the most essential function of a wallet, is missing from MondrianWallet2
. This makes the MondrianWallet2
contract different from a normal EOA, which can receive ETH. This will also cause issues with transactions that expect the wallet to use ETH.
The MondrianWallet2
contract does not have a receive function, which means it can't receive ETH.
Users of MondrianWallet2
wallet wont be able to receive ETH, which is one of the most basic wallet functions. This makes it different from a normal EOA, which can receive ETH. This will also cause issues with transactions that expect the wallet to use ETH.
Place the following code into ModrianWallet2Test.t.sol
In this test, we try to send eth to the MondrianWallet2
but the transaction fails.
No tools were used to find this vulnerability
Add a new function named MondrianWallet2::receive
, and make it external and payable.
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.