Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Error AA95 out of gas on legacy gas price #338

Description

@suraneti

This error occurred when I tested on a chain that doesn't enable EIP-1559. It seems like there may be a miscalculation in gas.

request body

{ 
  method: 'eth_estimateUserOperationGas',
  ...,
  maxFeePerGas: '0x1', // <-- a value is different when test on EIP-1559 enable/disable chain
  maxPriorityFeePerGas: '0x1' // <-- a value is different when test on EIP-1559 enable/disable chain
}
response

{"error":{"code":-32500,"data":{"OpIndex":0,"Reason":"AA95 out of gas"},"message":"AA95 out of gas"},"id":43,"jsonrpc":"2.0"}
Step to reproduce for error case
1. run geth local with Berlin hardfork (EIP-1559 disabled)
2. deploy AA contracts
3. run stackup-bundler
4. run stackup-example-4337 scripts
Step to reproduce for success case
1. run geth local with London hardfork (EIP-1559 enabled)
2. deploy AA contracts
3. run stackup-bundler
4. run stackup-example-4337 scripts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions