cosmos-sdk
cosmos-sdk copied to clipboard
[Bug]: `SDKGasMeter.GasConsumedToLimit` returns incorrect values
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