cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

[Bug]: `SDKGasMeter.GasConsumedToLimit` returns incorrect values

Open chipshort opened this issue 6 months ago • 2 comments

Is there an existing issue for this?

  • [X] 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

chipshort avatar Aug 28 '24 10:08 chipshort