Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

GetBlock rpc api report wrong gasUsed #878

Merged
merged 3 commits into from
Jan 5, 2022

Conversation

yihuang
Copy link
Contributor

@yihuang yihuang commented Jan 5, 2022

Description

Closes: #877

Solution:

  • workaround at rpc side, ignore the gasUsed in such cases.

For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

Closes: evmos#877

Solution:
- workaround at rpc side, ignore the gasUsed in such cases.
@fedekunze fedekunze merged commit e9f1ab6 into evmos:main Jan 5, 2022
@yihuang yihuang deleted the fix-block-gas-used branch February 23, 2022 06:54
yihuang added a commit to yihuang/ethermint that referenced this pull request Feb 23, 2022
* GetBlock rpc api report wrong gasUsed

Closes: evmos#877

Solution:
- workaround at rpc side, ignore the gasUsed in such cases.

* Update rpc/ethereum/backend/backend.go

* changelog
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GetBlock rpc api report wrong gasUsed
2 participants