web3.eth.getBlock(): Notice of breaking output change
Authored by Phil Ngo
As part of our ongoing efforts to improve community engagement and communication, we are publishing notice of a potential breaking change in the usage of Web3.js.
Reference Github Issue #4326: https://github.com/ChainSafe/web3.js/issues/4326
Published Pull Request #4330: https://github.com/ChainSafe/web3.js/pull/4330
Reference Documentation: https://web3js.readthedocs.io/en/v1.5.2/web3-eth.html#getblock
Web3.js will be merging a potential breaking change in the output of thebaseFeePerGas
field. The field currently returns a hexadecimal number, but will return a Number after this PR merge.
Discussions on the PR are available for community discussion. Edit: The update has been re-scheduled for the 1.6.1
release which will be undergoing RC testing next week and scheduled deployment on October 4, 2021.
Please update your code accordingly.