-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix!: tx result don't report block gas used as tx gas used #10833
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be addressed via a backport PR? Is this specific to the release 0.45.x only?
It's for all the versions before master, 0.45,0.44,etc. |
Can you also backport this to the older versions, particularly 0.44.x. |
Isn't this a protocol breaking change? Gas fields are serialized into headers, and IIRC tx gas usage is merkelized in the results right? |
@marbar3778 could you confirm re TM headers? |
Closes: cosmos#10832 Solution: Return empty GasInfo.
a3d5f35
to
ec3cf6b
Compare
I think so, at least it changes tx results which is part of the block header? |
Ok, so this can't get backported to v0.44.x then. Can still get into v0.45 since thats not been cut yet Change looks good to me for SDK v0.45.0, should not get backported further tho |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
) * tx result report block gas used as tx gas used Closes: cosmos#10832 Solution: Return empty GasInfo. * Update CHANGELOG.md Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
) * tx result report block gas used as tx gas used Closes: cosmos#10832 Solution: Return empty GasInfo. * Update CHANGELOG.md Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
) * tx result report block gas used as tx gas used Closes: cosmos#10832 Solution: Return empty GasInfo. * Update CHANGELOG.md Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Description
Closes: #10832
Solution: Return empty GasInfo.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change