AA13 initCode failed or OOG
AA13 initCode failed or OOG is an ERC-4337 EntryPoint error that means the EntryPoint could not deploy the smart account because its initCode reverted or ran out of gas.
The EntryPoint failed to create the smart account with the initCode provided. There are two possible reasons:
- The
initCoderan out of gas - The
initCodereverted during the account deployment process
Possible solutions
- Verify that the factory address in the
initCodeis correct (the factory address is the first 20 bytes of theinitCode). - Verify that the
initCodeis correct. - Check whether the
verificationGasLimitis sufficient for theinitCodeto complete without running out of gas. - If the root cause is a revert, investigate why the
initCodereverts during the account deployment process using tools like Tenderly.