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=
|
ETHERSCAN_KEY=
|
||||||
ALCHEMY_KEY_MAINNET=
|
INFURA_KEY=
|
||||||
use_latest_block=false
|
use_latest_block=false
|
@ -46,7 +46,7 @@ module.exports = {
|
|||||||
networks: {
|
networks: {
|
||||||
hardhat: {
|
hardhat: {
|
||||||
forking: {
|
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,
|
blockNumber: 13042331,
|
||||||
},
|
},
|
||||||
initialBaseFeePerGas: 5,
|
initialBaseFeePerGas: 5,
|
||||||
@ -56,7 +56,7 @@ module.exports = {
|
|||||||
timeout: 120000,
|
timeout: 120000,
|
||||||
},
|
},
|
||||||
mainnet: {
|
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
|
accounts: ['900e9f0e8ce24c022026649c48a059fb6ffa0a2523811d797b47d789bf106def'], // random pk off keys.lol
|
||||||
timeout: 2147483647,
|
timeout: 2147483647,
|
||||||
},
|
},
|
||||||
|
@ -933,7 +933,7 @@ describe('Governance tests', () => {
|
|||||||
await ethers.provider.send('hardhat_reset', [
|
await ethers.provider.send('hardhat_reset', [
|
||||||
{
|
{
|
||||||
forking: {
|
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,
|
blockNumber: process.env.use_latest_block == 'true' ? undefined : 13042331,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -788,7 +788,7 @@ describe('Start of tests', () => {
|
|||||||
await ethers.provider.send('hardhat_reset', [
|
await ethers.provider.send('hardhat_reset', [
|
||||||
{
|
{
|
||||||
forking: {
|
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,
|
blockNumber: process.env.use_latest_block == 'true' ? undefined : 13211966,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user