Skip to content

Verify estimate via call #11859

@steven-sheehy

Description

@steven-sheehy

Problem

We should verify our own gas estimations via a contract call in our acceptance tests.

Solution

  • For existing gas estimation acceptance tests, ensure call is invoked with the estimation to verify accuracy.
  • Add a new hiero.mirror.test.acceptance.feature.contractCallLocalQueryEstimate=false property
  • If property is true, perform a ContractCallLocalQuery for every gas estimation and verify the gas used in the result is within a certain percentage of our estimate
  • Enable property in CI

Alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementType: New featuretestTest infrastructure, automated tests required, etc

    Projects

    Status

    🏃‍♀ Sprint backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions