ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

Make extraData parameter optional in Block Format

Open saiakhil2012 opened this issue 2 years ago • 0 comments

extraData parameter inside block is expected as mandatory

An interaction with a Blockchain such as writing new information into Blockchain using a Signer, fails at Block format check if extraData parameter is not present in the Block returned (i.e when eth_getBlockByNumber is called)

extraData parameter should be treated as optional

Also, just a note, in other libraries such as Web3.js or Web3j, the extraData parameter is not treated as mandatory

This is to address the issue - https://github.com/ethers-io/ethers.js/issues/3265

saiakhil2012 avatar Aug 12 '22 21:08 saiakhil2012