msg.value
is not forwarded to the fallback handler in the fallback function of ModuleManager
.
The fallback function of ModuleManager
is declared as payable
:
However, when performing a call to the fallback handler, the ETH sent is not forwarded:
Therefore, if a fallback handler is called with msg.value
, the ETH sent will not be sent to the fallback handler, but will remain in the Nexus account instead.
The functionality of fallback handlers is unnecessarily limited as Nexus accounts cannot send ETH to them. Owners will never be able to add fallback handlers that use ETH to their Nexus accounts.
Either remove payable
from the fallback function:
Or forward msg.value
when calling the fallback function:
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.