Commit 55012af6 authored by clabby's avatar clabby

Use `filePath`

parent 32a92468
...@@ -744,7 +744,7 @@ contract Deploy is Deployer { ...@@ -744,7 +744,7 @@ contract Deploy is Deployer {
string[] memory commands = new string[](3); string[] memory commands = new string[](3);
commands[0] = "bash"; commands[0] = "bash";
commands[1] = "-c"; commands[1] = "-c";
commands[2] = "[[ -f ../../op-program/bin/prestate-proof.json ]] && echo \"present\""; commands[2] = string.concat("[[ -f ", filePath, " ]] && echo \"present\"");
if (vm.ffi(commands).length == 0) { if (vm.ffi(commands).length == 0) {
revert("Cannon prestate dump not found, generate it with `make cannon-prestate` in the monorepo root."); revert("Cannon prestate dump not found, generate it with `make cannon-prestate` in the monorepo root.");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment