Cyfrin / foundry-full-course-cu

GNU General Public License v3.0
3.41k stars 831 forks source link

When I type ```forge test --fork-url $SEPOLIA_RPC_URL``` to test all the contract. It shows me this error message: #786

Closed MarcosPosseB closed 1 year ago

MarcosPosseB commented 1 year ago

When I type forge test --fork-url $SEPOLIA_RPC_URL to test all the contract. It shows me this error message:

[FAIL. Reason: Setup failed: Custom Error d8a3fb52:(0x8f478e8C52EccD5012a0C8B112766bAD5d67C55F)]

I passed the deployerKey to vm.startBrodcast() than got this error. It seems that the RaffleTest doesn't setup, before testing !

Originally posted by @AnouarBF in https://github.com/Cyfrin/foundry-full-course-f23/discussions/124