Contracts -> Tests failing
Closed this issue · 0 comments
praveenbm5 commented
forge test --rpc-url <your-rpc-url-here>
The above test as detailed in the contract/README is failing.
But when I change the test/sandwich.t.sol
to not rely on HuffDeployer
to deploy sandwich.huff
and instead provide the address of sandwich.huff
contract already deployed on chain then the tests pass without problems.
//sandwich = HuffDeployer.deploy("sandwich");
sandwich = <deployed sandwich.huff address>;
Not sure whats happening. Could be an issue in upsream Foundry project.
Opening this issue to document this problem and the interim solution.