Skip to content
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

feat: expose gas information #309

Merged
merged 1 commit into from
Aug 15, 2022
Merged

feat: expose gas information #309

merged 1 commit into from
Aug 15, 2022

Conversation

czarcas7ic
Copy link
Member

@czarcas7ic czarcas7ic commented Aug 15, 2022

What is the purpose of the change

As part of the log data work I am doing, I realized that currently we aren't exporting any of the gas information from the legacy weighted sim messages. This PR exposes both the gas used / gas wanted which will be used in charting gas usage over time.

Brief Changelog

  • Adds GasUsed and GasWanted to OperationMsg
  • Exposes GasInfo on all legacy sim messages and exports to the new respective OperationMsg gas fields

Testing and Verifying

This change is already covered by existing tests

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? no
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? not yet
  • How is the feature or change documented? not applicable

@czarcas7ic czarcas7ic changed the title sim: expose gas information feat: expose gas information Aug 15, 2022
@czarcas7ic czarcas7ic marked this pull request as ready for review August 15, 2022 01:01
@czarcas7ic czarcas7ic requested a review from a team August 15, 2022 01:01
@czarcas7ic czarcas7ic merged commit 059c959 into osmosis-main Aug 15, 2022
@czarcas7ic czarcas7ic deleted the adam/sim-gas-info branch August 15, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants