The InheritanceManager
contract is intended to be compatible with Ether and all ERC20 tokens, as stated in the ReadMe. However, the contract does not include a payable receive or fallback function, which are required to handle direct Ether transfers. Without these functions, any attempt to send Ether to the contract will result in a revert, breaking compatibility with Ether.
Place the test below in ./test/InheritanceManagerTest.t.sol
file:
The contract fails to meet its stated compatibility with Ether, limiting its functionality and usability.
Manual Review
Foundry
Add payable receive()
and fallback()
functions. fallback()
for backward compatibility.
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.