Skip to content

[Bug]: SDKGasMeter.GasConsumedToLimit returns incorrect values #21440

Closed

Description

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

SDKGasMeter's GasConsumedToLimit function returns remaining gas instead of consumed gas.

I also don't see this type used anywhere in the SDK. What is it for?

Cosmos SDK Version

main

How to reproduce?

No response

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

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    🥳 Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions