Skip to content

Commit

Permalink
disable local network forking
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Apr 15, 2024
1 parent a179997 commit 4203ba7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,17 @@ const config: HardhatUserConfig = {

networks: {
hardhat: {
// blockGasLimit: 40000000, // amb value
// hardfork: "byzantium",
blockGasLimit: 40000000, // amb value
hardfork: "byzantium",
companionNetworks: {amb: 'hardhat'},
// initialDate: "13 May 2022 18:10:36 GMT",
initialDate: "13 May 2022 18:10:36 GMT",

// for debugging: run local node with state from some network
forking: {
enabled: true,
url: "https://mainnet.infura.io/v3/" + process.env.INFURA_KEY,
// url: "https://network.ambrosus-dev.io",
enabled: false,
url: "https://network.ambrosus-dev.io",
// url: "https://eth-rinkeby.alchemyapi.io/v2/e1F5R9XuWDU2-zCtzaMDg4Ybb5SuoEDA"
blockNumber: 19218848,
blockNumber: 0xb00ba,
}
},

Expand Down

0 comments on commit 4203ba7

Please sign in to comment.