Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

More precise gasWanted #1161

Closed
Closed

Description

Proposal:
Use more precise bounds for gasWanted via constant time estimates and/or linear time amortization analysis.

Current behavior:
Right now, it uses the user's set gas limit or capping it by an arbitrary number:

gasWanted += txData.GetGas()

In the future with ABCI++, it may be possible to use gasUsed, but that's not possible now.

Desired behavior:
Ideally, Ethermint could use more tighter bounds without the full EVM execution:

Use case:

  • better block utilization
  • less likely to go over the maximum block gas limit

Requests may be closed if we're not actively planning to work on them.

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

        AltStyle によって変換されたページ (->オリジナル) /