Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Fix: use eth_getGasPrice on xDai and Arbitrum (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Nov 17, 2021
1 parent 93389ef commit d54f3bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/config/networks/arbitrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
const baseConfig: EnvironmentSettings = {
clientGatewayUrl: 'https://safe-client.gnosis.io/v1',
txServiceUrl: 'https://safe-transaction.arbitrum.gnosis.io/api/v1',
gasPrice: 2e9,
gasPriceOracles: [],
rpcServiceUrl: 'https://arb1.arbitrum.io/rpc',
safeAppsRpcServiceUrl: 'https://arb1.arbitrum.io/rpc',
networkExplorerName: 'Arbitrum explorer',
Expand Down
7 changes: 1 addition & 6 deletions src/config/networks/rinkeby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
NetworkConfig,
WALLETS,
} from 'src/config/networks/network.d'
import { ETHGASSTATION_API_KEY, ETHERSCAN_API_KEY } from 'src/utils/constants'
import { ETHERSCAN_API_KEY } from 'src/utils/constants'

const baseConfig: EnvironmentSettings = {
clientGatewayUrl: 'https://safe-client.staging.gnosisdev.com/v1',
Expand All @@ -18,11 +18,6 @@ const baseConfig: EnvironmentSettings = {
gasParameter: 'FastGasPrice',
gweiFactor: '1e9',
},
{
url: `https://ethgasstation.info/json/ethgasAPI.json?api-key=${ETHGASSTATION_API_KEY}`,
gasParameter: 'fast',
gweiFactor: '1e8',
},
],
rpcServiceUrl: 'https://rinkeby.infura.io:443/v3',
safeAppsRpcServiceUrl: 'https://rinkeby.infura.io:443/v3',
Expand Down
2 changes: 1 addition & 1 deletion src/config/networks/xdai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
const baseConfig: EnvironmentSettings = {
clientGatewayUrl: 'https://safe-client.gnosis.io/v1',
txServiceUrl: 'https://safe-transaction.xdai.gnosis.io/api/v1',
gasPrice: 1e9,
gasPriceOracles: [],
rpcServiceUrl: 'https://dai.poa.network/',
safeAppsRpcServiceUrl: 'https://dai.poa.network/',
networkExplorerName: 'Blockscout',
Expand Down

0 comments on commit d54f3bb

Please sign in to comment.