ethersproject-providers-arbitrum-hotfix
v5.7.10
Published
Ethereum Providers for ethers. (Arbitrum eth_getTransactionByHash hotfix )
Readme
Arbitrum eth_getTransactionByHash hotfix
Issue can be described here.
The modifications affect @ethersproject/providers. The forked packaged is named ethersproject-providers-arbitrum-hotfix.
Currently the latest version is [email protected].
To use this hotfix, use this yarn resolution in your package.json
"resolutions": {
"@ethersproject/providers": "npm:[email protected]"
}The hotfix is to add 2000ms delay to the getTransaction/eth_getTransactionByHash call. A cached chainID has been added to check for Arbitrum chain ID (42161), and initiate the delay if this matches.
