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

receipt.gasUsed incorrect for same-block transactions. #90

Closed
beether opened this issue Mar 18, 2018 · 1 comment
Closed

receipt.gasUsed incorrect for same-block transactions. #90

beether opened this issue Mar 18, 2018 · 1 comment

Comments

@beether
Copy link

beether commented Mar 18, 2018

I haven't dug deeply into this, but if you submit multiple transactions on the same block, all transaction receipts will have this bug:

  1. receipt.gasUsed's value will be the cumulativeGasUsed up until that transaction.
  2. receipt.cumulativeGasUsed will be the cumulativeGasUsed for the entire block.
@nicholasjpaterno
Copy link
Contributor

I believe this is a duplicate of #445. We've just made some changes that should fix this issue. I'm going to close this for now. If you think this is an error please feel free to respond back here and reopen this issue. Thanks for reporting!

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

No branches or pull requests

3 participants