Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Conversation

@karim-en
Copy link

@karim-en karim-en commented Oct 11, 2021

Description

The name of the receiptRoot property is not correct and we should use receiptsRoot instead.

wiki:
https://eth.wiki/json-rpc/API#:~:text=of%20the%20block.-,receiptsRoot,-%3A

Related Issue

Resolve #4517
ethereum/go-ethereum#3084

Type of change

  • [+] Bug fix (non-breaking change which fixes an issue)

Copy link
Contributor

@nazarhussain nazarhussain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@karim-en Thanks for the contribution, I am running the CI jobs on this PR to see if something related is broken.

Meanwhile can you please look into these two tests and see if these are related to change.

https://github.com/ChainSafe/web3.js/blob/ab27807a6c2726331ba5ec1b3cef2b830f71264c/test/eth.subscribe.js#L32

https://github.com/ChainSafe/web3.js/blob/ab27807a6c2726331ba5ec1b3cef2b830f71264c/test/eth.subscribe.js#L51

I would also suggest that you create an a bug issue on web3 repo and then link your PR to that issue.

@coveralls
Copy link

coveralls commented Oct 14, 2021

Pull Request Test Coverage Report for Build 1408779542

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 72.534%

Totals Coverage Status
Change from base Build 1365049511: -0.01%
Covered Lines: 3359
Relevant Lines: 4372

💛 - Coveralls

@nazarhussain
Copy link
Contributor

@karim-en Did you get a chance to look into above message?

@karim-en
Copy link
Author

karim-en commented Oct 21, 2021

@karim-en Did you get a chance to look into above message?

Oh, thanks for bumping me, I missed your message, I am going to check that

@nazarhussain
Copy link
Contributor

@karim-en We look forward for your update on this PR so we can merge it.

@nazarhussain nazarhussain added the 1.x 1.0 related issues label Oct 28, 2021
@karim-en
Copy link
Author

karim-en commented Nov 1, 2021

@karim-en We look forward for your update on this PR so we can merge it.

Done. sorry for the delay.

@karim-en karim-en requested a review from nazarhussain November 3, 2021 22:26
@nazarhussain nazarhussain added the Review Needed Maintainer(s) need to review label Nov 4, 2021
@Spacesai1or Spacesai1or changed the base branch from 1.x to wyatt/1.x/fix-blockheader-typing November 10, 2021 02:45
@Spacesai1or
Copy link
Contributor

Taking over PR to update CHANGELOG.md

@Spacesai1or Spacesai1or merged commit 555c965 into web3:wyatt/1.x/fix-blockheader-typing Nov 10, 2021
Spacesai1or added a commit that referenced this pull request Nov 10, 2021
* Fix buggy `BlockHeader` ts interface (#4452)

* Fix buggy `BlockHeader` ts interface

* Fix `receiptsRoot` property in the unit test

Co-authored-by: Nazar Hussain <[email protected]>

* Update CHANGELOG

Co-authored-by: Karim <[email protected]>
Co-authored-by: Nazar Hussain <[email protected]>
@Spacesai1or Spacesai1or mentioned this pull request Nov 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.x 1.0 related issues Review Needed Maintainer(s) need to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Buggy BlockHeader interface

4 participants