Closed restlessronin closed 11 months ago
I realized that I also needed to pass the FORK_URL in the test.yml for the CI to work. the change is straightforward, but untested.
@hensha256 also added the FORK_URL to the sample .env file so new users know it's there
@hensha256 I had trouble getting the tests working, apparently because my Infura account doesn't support archive nodes. I had to use the FORK_URL environment variable to set an alchemy url.
This worked for
forge test
but nothardhat test
. I had to change a couple of places in the code where an Infura url was hardcoded as the fork url.After these changes, all the tests work perfectly, both forge and hardhat.