Skip to content

Commit 3b73f16

Browse files
authored
Missing response body (#553)
* bump ethers version that adds more error reporting to failed 'no-response' type of errors when fetching provider info * make ethers imports all nice and tidy
1 parent 3dea5d0 commit 3b73f16

4 files changed

Lines changed: 380 additions & 161 deletions

File tree

dapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"classnames": "^2.2.6",
6767
"dateformat": "^4.0.0",
6868
"dotenv": "^8.2.0",
69-
"ethers": "^5.0.8",
69+
"ethers": "^5.0.30",
7070
"fbt-runtime": "^0.9.4",
7171
"file-loader": "6.0.0",
7272
"lodash": "^4.17.20",

dapp/src/hooks/useCompensation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'
22
import { useStoreState } from 'pullstate'
33
import { get } from 'lodash'
44
import { useWeb3React } from '@web3-react/core'
5-
import ethers from 'ethers'
5+
import { ethers } from 'ethers'
66
import { sleep } from 'utils/utils'
77

88
import ContractStore from 'stores/ContractStore'

dapp/src/hooks/useStake.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useState, useEffect } from 'react'
22
import { useStoreState } from 'pullstate'
3-
import ethers from 'ethers'
3+
import { ethers } from 'ethers'
44
import { get } from 'lodash'
55
import { durationToDays } from 'utils/stake'
66
import { formatCurrency } from 'utils/math'

0 commit comments

Comments
 (0)