Skip to content

Lesson 6: No Value error is coming for mainnet-fork #1151

Discussion options

You must be logged in to vote

The array out of range error at this timestamp stems from the fact, that the brownie version Patrick uses in this video, does not automatically create accounts for mainnet-fork.
Your ganache-cli output shows, however, that 10 accounts are created
Launching 'ganache-cli.cmd --accounts 10 --hardfork istanbul --fork https://mainnet.infura.io/v3/69690316fe1d475c93b12647xxxxxxx --gasLimit 12000000 --mnemonic brownie --port 8545 --chainId 1'...
Another thing I noticed, is that you are using mainnet-fork but have configured mainnet-fork-dev in your config yaml. This could cause some errors ahead.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@cromewar
Comment options

@gauravupadhyay1994
Comment options

@alexkalen
Comment options

@alexkalen
Comment options

Comment options

You must be logged in to vote
3 replies
@cromewar
Comment options

@MananJain2002
Comment options

@alexkalen
Comment options

Answer selected by gauravupadhyay1994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants