diff --git a/packages/providers/src.ts/json-rpc-provider.ts b/packages/providers/src.ts/json-rpc-provider.ts index 1c7bf4d46d..77bdbfeb88 100644 --- a/packages/providers/src.ts/json-rpc-provider.ts +++ b/packages/providers/src.ts/json-rpc-provider.ts @@ -589,6 +589,8 @@ export class JsonRpcProvider extends BaseProvider { return [ "eth_getTransactionByHash", [ params.transactionHash ] ]; case "getTransactionReceipt": + console.log('[+] @ethers-arbitrum-hotfix package. Adding 400ms delay to getTransaction/eth_getTransactionByHash') + await new Promise(resolve => setTimeout(resolve, 400)); return [ "eth_getTransactionReceipt", [ params.transactionHash ] ]; case "call": {