5.7.10 • Published 1 year ago
ethersproject-providers-arbitrum-hotfix v5.7.10
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 ethersproject-providers-arbitrum-hotfix@5.7.9
.
To use this hotfix, use this yarn resolution in your package.json
"resolutions": {
"@ethersproject/providers": "npm:ethersproject-providers-arbitrum-hotfix@5.7.9"
}
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.