Skip to content

Gas estimation producing 20x oversized limits (4.18% efficiency) #164

@moonshot-cyber

Description

@moonshot-cyber

I analyzed agent wallets using the DeleGator framework on Base and found extremely low gas efficiency of just 4.18%.

Example wallet: 0x464fc339add314932920d3e060745bd7ea3e92ad

Findings:

  • 258 failed transactions (all reverted, 0 out-of-gas)
  • Average gas limit set: ~20x higher than actual gas used
  • Estimated monthly waste: $71.35 per agent
  • Gas efficiency: 4.18% (meaning 95.82% of allocated gas goes unused)

Expected behavior:
Gas limits should be closer to actual usage (targeting 70-90% efficiency range)

Actual behavior:
Gas limits appear to be massively over-estimated, causing users to lock up unnecessary capital and potentially pay higher priority fees.

Impact:
Agents using this framework are wasting significant funds on oversized gas allocations.

Is this a known issue with the gas estimation logic in EIP-7702 proxy implementations?

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