Bug fixes
AccountERC7579
: Prevent revert inisModuleInstalled
for fallback modules whenadditionalContext
has fewer than 4 bytes. The function now returnsfalse
instead of reverting, ensuring ERC-7579 compliance. (#5961)
Breaking changes
Account
: Addsignature
argument to the internal_validateUserOp
function for custom signature handling logic. Developers overriding it must now provide the signature from the user operation (i.e.userOp.signature
) to keep compatibility. (#5976)AccountERC7579
: Installing and uninstalling fallback modules now require the correspondinginitData
anddeInitData
arguments to be at least 4 bytes long (matching the selector to which the fallback module is registered). It now reverts withERC7579CannotDecodeFallbackData
instead of treating the missing bytes as0x00
. (#5974)
Changes by category
Utils
Arrays
: Addslice
andsplice
functions for value types (uint256[]
,bytes32[]
,address[]
). (#5983)