Skip to content

Question: can the BlockGasMeter be used for absolute tx position? #1950

@joshklop

Description

@joshklop

The amount of consumed block gas is used here to uniquely identify the position of a transaction in a block.

Is it possible that a transaction could consume zero gas, leading to a collision (that tx and the tx that follows will have the same "absolute index")?

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