Fallback handlers manage transactions that do not match any predefined function signatures or encounter errors during execution. They ensure that the smart account can gracefully handle unexpected conditions and provide a mechanism for recovering from errors.
However when installing the fallback module it reverts due to the restricted selector onInstall
_InstallFallbackHandler
iis invoked in the moduleManager
to install the fallback
As stated in the function comments
This will revert any call made to the handlers to install a new fallback, the call made to the handler requires the onInstall
selector which is clearly rejected, the installation will halt.
Users won't be able to use the fallback to handle transactions that do not match any functions this can lead to loss of funds in cases where eth is sent directly to the account, without the fallback the account won't know what to do and the eth will remain locked.
Manual review
Allow initial installations for new accounts by default , then restrict removing them
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.