Despite having both validateTransaction
and executeTransaction
being payable, the contract utilises it's own balance to call the transactions to other contracts. And it doesn't have a mechanism to receive ETH on the contract.
Without having a receive function and/or a function intended to load up ETH on the wallet, the contract is unable to receive ETH, thus becoming unable of calling any transaction that requires ETH in the value
variable of the Transaction call.
Include this tests in MondrianWallet2Test.t.sol
And import this contract to the test file:
Foundry and manual review
Include this into MondrianWallet2.sol
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.