-
Notifications
You must be signed in to change notification settings - Fork 60
Description
I am using Foundry on Git Bash terminal alongside huffc to develop projects and learn.
I recently downloaded this package for differential testing but I encountered an error, here is some more information about the same.
Please note that both Foundry and Huff work fine it's just that when I use the foundry-huff package is when I encounter the error.
The following logs are from the git bash terminal when testing a foundry project.
$ forge test
[⠊] Compiling...
[⠑] Compiling 6 files with Solc 0.8.20
[⠃] Solc 0.8.20 finished in 1.63s
Compiler run successful!
Ran 1 test for test/V1/HorseStoreSolc.t.sol:HorseStoreSolc
[PASS] test_readValue() (gas: 7557)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 27.71ms (2.86ms CPU time)
Ran 1 test for test/V1/HorseStoreHuff.t.sol:HorseStoreHuff
[FAIL. Reason: setup failed: failed to execute command "./lib/foundry-huff/scripts/binary_check.sh": %1 is not a valid Win32 application. (os error 193)] setUp() (gas: 0)
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 29.69ms (0.00ns CPU time)
Ran 2 test suites in 49.80ms (57.41ms CPU time): 1 tests passed, 1 failed, 0 skipped (2 total tests)The main reason for my differential test to fail is this. It shows that the system is not a valid Win32 system, I don't know what it means.
[FAIL. Reason: setup failed: failed to execute command "./lib/foundry-huff/scripts/binary_check.sh": %1 is not a valid Win32 application. (os error 193)]
Is this package strictly for WSL or Native Linux?
P.S. I do not have WSL or WSL2 setup in my system as of now to answer the above question.
Any Help is Appreciated...