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

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

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