forge build
[⠒] Compiling...
[⠆] Compiling 19 files with 0.8.25
[⠰] Solc 0.8.25 finished in 1.06s
Error:
Compiler run failed:
Error (9582): Member "keyExistsJson" not found or not visible after argument-dependent lookup in contract Vm.
--> lib/foundry-devops/src/DevOpsTools.sol:72:29:
|
72 | for (uint256 i = 0; vm.keyExistsJson(json, string.concat("$.transactions[", vm.toString(i), "]")); i++) {
|
In the README.md changed the line:
to version 1.8.0
after installing and running
forge build
found the fix here https://github.com/foundry-rs/foundry/issues/7602
After updating forge-std to v1.8.0 the error went away.