Skip to content

InsufficientGas issue caused by abnormal gas consumption #24532

@quantking001

Description

@quantking001

I'd like to report a problem regarding gas calculation. I've noticed an "InsufficientGas" error in many transactions. My initial analysis suggests that gas consumption shouldn't be that high, and an "InsufficientGas" error shouldn't occur.

Below is an example.

I've identified two transactions with identical content (identical PTB and gas budge), located at the same checkpoint, and immediately adjacent to each other, with no other transactions between them.

However, one transaction executed normally, consuming 0.004890428 SUI, while another transaction reported InsufficientGas.

Normal transaction:
https://suiscan.xyz/mainnet/tx/4rryyRCKbN3uJ8mCJ9PbCZAQRBkZzrHSeyNPQ7UpmAD3

Error-reporting transaction:
https://suiscan.xyz/mainnet/tx/FgRrkweCeRzWoVFHyD5yEAGudCsKJS8NUB7eXrNF1H8T

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