Hi Guys,
I am trying to integrate with external mainnet contracts and wanted to know is there a guide to do sol testing with ganache fork or i just need to deploy my contracts after forking and directly run the tests ?
Hi Guys,
I am trying to integrate with external mainnet contracts and wanted to know is there a guide to do sol testing with ganache fork or i just need to deploy my contracts after forking and directly run the tests ?
Hi @viraj124,
To use OpenZeppelin Test Environment with a fork of mainnet you will need to specify a url to an Ethereum node to use as a source for a fork in your test-environment.config.js
.
You can then run your tests. Please note testing will take time using the fork.
For details please see the documentation: