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 300ms
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.