increase gas price timeout & update rpcs

This commit is contained in:
gozzy 2022-12-03 16:29:21 +00:00
parent 11c87ff319
commit ea97a39aff
2 changed files with 39 additions and 11 deletions

View File

@ -19,7 +19,7 @@ export default {
networkName: 'Ethereum Mainnet', networkName: 'Ethereum Mainnet',
deployedBlock: 9116966, deployedBlock: 9116966,
rpcUrls: { rpcUrls: {
SecureRPC: { secureRPC: {
name: 'SecureRPC', name: 'SecureRPC',
url: 'https://api.securerpc.com/v1' url: 'https://api.securerpc.com/v1'
} }
@ -135,6 +135,10 @@ export default {
multicall: '0x41263cba59eb80dc200f3e2544eda4ed6a90e76c', multicall: '0x41263cba59eb80dc200f3e2544eda4ed6a90e76c',
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: { rpcUrls: {
oneRPC: {
name: '1RPC',
url: 'https://1rpc.io/bnb'
},
bscRpc: { bscRpc: {
name: 'BSC RPC', name: 'BSC RPC',
url: 'https://bscrpc.com/' url: 'https://bscrpc.com/'
@ -182,9 +186,13 @@ export default {
multicall: '0x11ce4B23bD875D7F5C6a31084f55fDe1e9A87507', multicall: '0x11ce4B23bD875D7F5C6a31084f55fDe1e9A87507',
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: { rpcUrls: {
polygonRPC: { polygonRpc: {
name: 'Polygon RPC', name: 'Polygon RPC',
url: `https://polygon-rpc.com` url: 'https://polygon-rpc.com/'
},
oneRpc: {
name: '1RPC',
url: 'https://1rpc.io/matic/'
} }
}, },
tokens: { tokens: {
@ -230,9 +238,13 @@ export default {
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
ovmGasPriceOracleContract: '0x420000000000000000000000000000000000000F', ovmGasPriceOracleContract: '0x420000000000000000000000000000000000000F',
rpcUrls: { rpcUrls: {
oneRpc: {
name: '1RPC',
url: 'https://1rpc.io/op/'
},
Optimism: { Optimism: {
name: 'Optimism', name: 'Optimism',
url: `https://mainnet.optimism.io` url: 'https://mainnet.optimism.io/'
} }
}, },
tokens: { tokens: {
@ -278,8 +290,16 @@ export default {
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: { rpcUrls: {
Arbitrum: { Arbitrum: {
name: 'Arbitrum RPC',
url: 'https://arb1.arbitrum.io/rpc/'
},
publicRpc: {
name: 'Arbitrum Public RPC',
url: 'https://arbitrum.public-rpc.com/'
},
oneRpc: {
name: '1RPC', name: '1RPC',
url: 'https://1rpc.io/arb' url: 'https://1rpc.io/arb/'
} }
}, },
tokens: { tokens: {
@ -324,9 +344,9 @@ export default {
multicall: '0xb5b692a88bdfc81ca69dcb1d924f59f0413a602a', multicall: '0xb5b692a88bdfc81ca69dcb1d924f59f0413a602a',
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: { rpcUrls: {
publicRpc: { communityResolver: {
name: 'Community RPC', name: 'Community RPC Resolver',
url: 'https://development.tornadocash.community/rpc/v1' url: 'https://development.tornadocash.community/rpc/v1/'
} }
}, },
tokens: { tokens: {
@ -371,9 +391,17 @@ export default {
multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e', multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e',
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4', echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: { rpcUrls: {
publicRpc: { publicRpc1: {
name: 'Avalanche RPC', name: 'Avalanche RPC',
url: 'https://api.avax.network/ext/bc/C/rpc' url: 'https://api.avax.network/ext/bc/C/rpc/'
},
publicRpc2: {
name: 'Avalanche Public PRC',
url: 'https://avalanche-evm.publicnode.com/'
},
oneRpc: {
name: '1RPC',
ulr: 'https://1rpc.io/avax/'
} }
}, },
tokens: { tokens: {

View File

@ -76,7 +76,7 @@ export const actions = {
} catch (e) { } catch (e) {
console.error('fetchGasPrice', e) console.error('fetchGasPrice', e)
} finally { } finally {
setTimeout(() => dispatch('fetchGasPrice'), 1000 * pollInterval) setTimeout(() => dispatch('fetchGasPrice'), 2000 * pollInterval)
} }
}, },
setDefault({ commit, rootGetters }) { setDefault({ commit, rootGetters }) {