diff --git a/src/account/UpgradeableModularAccount.sol b/src/account/UpgradeableModularAccount.sol index d318cf2b..e2982ae6 100644 --- a/src/account/UpgradeableModularAccount.sol +++ b/src/account/UpgradeableModularAccount.sol @@ -282,6 +282,12 @@ contract UpgradeableModularAccount is _storage.fallbackSigner = fallbackSigner; } + function setFallbackSignerEnabled(bool enabled) external wrapNativeFunction { + AccountStorage storage _storage = getAccountStorage(); + _storage.fallbackSignerDisabled = !enabled; + // TODO: event + } + /// @inheritdoc IModuleManager /// @notice May be validated by a global validation. function installValidation(