Submitted by immeas, also found by Kutu, 0xDave, betweenETHlines, hansfriese, wait, peanuts, hihen, prc, 0xbepresent, and HE1M
contracts/smart-contract-wallet/SmartAccount.sol#L460-L461
contracts/smart-contract-wallet/SmartAccount.sol#L465-L466
execute and executeBatch in SmartAccount.sol can only be called by owner, not EntryPoint:
From EIP-4337:
This breaks the interaction with EntryPoint.
The reference implementation has both these functions without any onlyOwner modifiers:
https://github.com/eth-infinitism/account-abstraction/blob/develop/contracts/samples/SimpleAccount.sol#L56-L73
vscode
Remove onlyOwner modifier from execute and executeBatch.
livingrockrises (Biconomy) confirmed
