AA13 initCode failed or OOG

The initCode failed to create the smart account. There are two possible reasons:

  1. The initCode ran out of gas (OOG)
  2. The initCode reverted during the account deployment process

Possible Solutions

  1. Check the account has native token to pay for its deployment if you aren't using a paymaster.
  2. Check that the factory address in the initCode is correct (the factory address is the first 20 bytes of the initCode).
  3. Check that the verificationGasLimit is high enough for the initCode to complete without running out of gas.
  4. If the initCode reverted, investigate why using tools like Tenderly.