From 6ff6901cad406ebc7e5f0560d26da05431a23139 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Fri, 22 Dec 2023 18:32:34 -0700 Subject: [PATCH] update build setup --- build.nims | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.nims b/build.nims index b53d4b5e..b752c84e 100644 --- a/build.nims +++ b/build.nims @@ -22,6 +22,8 @@ proc test(name: string, srcDir = "tests/", params = "", lang = "c") = exec "build/" & name task buildStorageProofs, "build codex storage proofs": + withDir "vendor/codex-storage-proofs/": + exec "cargo build --release" buildBinary "storage_proofs", srcDir = "codex/utils/", params = "-f " task codex, "build codex binary": @@ -29,6 +31,7 @@ task codex, "build codex binary": buildBinary "codex", params = "-d:chronicles_runtime_filtering -d:chronicles_log_level=TRACE" task testCodex, "Build & run Codex tests": + buildStorageProofsTask() test "testCodex", params = "-d:codex_enable_proof_failures=true -d:codex_use_hardhat=true" task testContracts, "Build & run Codex Contract tests":