You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following compile-time error when I try to run a very simply test with Vulcan's println:
❯ forge test
[⠆] Compiling...
[⠒] Compiling 35 files with 0.8.21
[⠑] Solc 0.8.21 finished in 195.43ms
Error:
Compiler run failed:
Error (9582): Member "exitCode" not found or not visible after argument-dependent lookup in struct VmSafe.FfiResult memory.
--> lib/vulcan/src/_modules/Commands.sol:176:31:
|
176 | output.exitCode = ffiResult.exitCode;| ^^^^^^^^^^^^^^^^^^
This is the test I am trying to run:
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.21;
import { Test, println } from "vulcan/test.sol";
contract VulcanTest is Test {
function testFoo() public {
println("Foo!");
}
}
Het @marchev ! Thanks for opening an issue. I think the problem here is that you are using an older version of forge-std. There was a breaking change introduced with the release of forge-std@v1.7.0 where exit_code was renamed to exitCode.
I get the following compile-time error when I try to run a very simply test with Vulcan's
println
:This is the test I am trying to run:
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.21; import { Test, println } from "vulcan/test.sol"; contract VulcanTest is Test { function testFoo() public { println("Foo!"); } }
Forge version:
The text was updated successfully, but these errors were encountered: