Skip to content

Catch overflows in gas wanted when comparing to maximum block gas limit #3071

Closed
@ValarDragon

Description

Suppose the max block gas limit is 2**40. I can have current gas usage at 2**39, then another tx on the order of 2**64 - 2**39 can overflow that back to be around 0. We just need to ensure no overflows occur when we do that summation.

Activity

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

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