PatrickAlphaC / aave_brownie_py_freecode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ContractNotFound: No contract deployed at 0xC02aaA39b2...

Madgeniusblink opened this issue · comments

Hi!

I am curious to why I get this error when I run it on the mainnet-fork but when I run it on the kovan network my code works...
any idea, should I be on another test net when running "mainnet-fork"?

Screen Shot 2021-12-09 at 5 04 51 PM

Are you using an infura RPC_URL?

9/10 that's the issue here.

Alchemy or Moralis will be much better

Alchemy or Moralis will be much better

in order to do this, I have to remove the current mainnet-fork and add the alchemy one correct? Just like we did in the lottery smart contract project?

I added alchemy to the mainnet-fork but now I am getting the following issue -

Screen Shot 2021-12-14 at 12 01 15 AM

Can you actually make this a stack exchange ETH question and tag it brownie? https://ethereum.stackexchange.com/

will do! thank you!