-
I got this error forking the network:
This also my code, added all requisits to fork but still not working. module.exports = {
// solidity: "0.8.8",
solidity: {
compilers: [{version: "0.8.8"}, {version: "0.6.6"}, {version: "0.4.19"}],
},
defaultNetwork: "hardhat",
networks: {
rinkeby: {
url: RINKEBY_RPC_URL,
accounts: [PRIVATE_KEY],
chainId: 4,
blockConfirmations: 6,
// gas: 2100000,
// gasPrice: 130000000000
},
hardhat: {
chainId: 31337,
forking: {
url: MAINNET_RPC_URL,
},
},
kovan: {
url: KOVAN_RPC_URL,
accounts: [PRIVATE_KEY],
chainId: 42,
blockConfirmations: 6,
},
},
namedAccounts: {
deployer: {
default: 0,
},
},
etherscan: {
apiKey: ETHERSCAN_API_KEY,
},
} Anyone with the same problem? |
Beta Was this translation helpful? Give feedback.
Answered by
obc92
Aug 12, 2022
Replies: 1 comment 3 replies
-
Found the error. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
obc92
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found the error.