mirror of
https://github.com/tornadocash/tornado-governance
synced 2024-02-02 14:53:55 +01:00
try with infura
This commit is contained in:
parent
f12ac4cf3e
commit
077dbfd10d
@ -1,3 +1,3 @@
|
||||
ETHERSCAN_KEY=
|
||||
ALCHEMY_KEY_MAINNET=
|
||||
INFURA_KEY=
|
||||
use_latest_block=false
|
@ -46,7 +46,7 @@ module.exports = {
|
||||
networks: {
|
||||
hardhat: {
|
||||
forking: {
|
||||
url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY_MAINNET}`,
|
||||
url: `https://mainnet.infura.io/v3/${process.env.INFURA_KEY}`,
|
||||
blockNumber: 13042331,
|
||||
},
|
||||
initialBaseFeePerGas: 5,
|
||||
@ -56,7 +56,7 @@ module.exports = {
|
||||
timeout: 120000,
|
||||
},
|
||||
mainnet: {
|
||||
url: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY_MAINNET}`,
|
||||
url: `https://mainnet.infura.io/v3/${process.env.INFURA_KEY}`,
|
||||
accounts: ['900e9f0e8ce24c022026649c48a059fb6ffa0a2523811d797b47d789bf106def'], // random pk off keys.lol
|
||||
timeout: 2147483647,
|
||||
},
|
||||
|
@ -933,7 +933,7 @@ describe('Governance tests', () => {
|
||||
await ethers.provider.send('hardhat_reset', [
|
||||
{
|
||||
forking: {
|
||||
jsonRpcUrl: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY_MAINNET}`,
|
||||
jsonRpcUrl: `https://mainnet.infura.io/v3/${process.env.INFURA_KEY}`,
|
||||
blockNumber: process.env.use_latest_block == 'true' ? undefined : 13042331,
|
||||
},
|
||||
},
|
||||
|
@ -788,7 +788,7 @@ describe('Start of tests', () => {
|
||||
await ethers.provider.send('hardhat_reset', [
|
||||
{
|
||||
forking: {
|
||||
jsonRpcUrl: `https://eth-mainnet.alchemyapi.io/v2/${process.env.ALCHEMY_KEY_MAINNET}`,
|
||||
jsonRpcUrl: `https://mainnet.infura.io/v3/${process.env.INFURA_KEY}`,
|
||||
blockNumber: process.env.use_latest_block == 'true' ? undefined : 13211966,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user