Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.
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

@suraneti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions