Skip to content

Commit

Permalink
feat(galois): update checkpoint circuit download
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Nov 21, 2024
1 parent eb62b71 commit fe3c13c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions galoisd/galoisd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@

download-circuit =
let
circuit-name = "circuit-eb62b71bc60668da0e602eaa3d6aceec183fb5ca-26eae4b9-bd55-4ce7-8446-ad829ab7b3ed.zip";
files = pkgs.writeText "files.txt" ''
/circuit.zip
/${circuit-name}
'';
in
mkCi false (
Expand All @@ -129,8 +130,8 @@
exit 1
fi
rclone --progress --no-traverse --http-url "https://circuit.cryptware.io" copy :http:/ "$1" --files-from=${files}
unzip "$1"/circuit.zip
rm "$1"/circuit.zip
unzip "$1"/${circuit-name}
rm "$1"/${circuit-name}
'';
}
);
Expand Down Expand Up @@ -169,8 +170,8 @@
'';
unpacked-circuit = unpackCircuit (
pkgs.fetchurl {
url = "https://circuit.cryptware.io/testnet.zip";
hash = "sha256-ImDwglgLdRjd9pxg5B7w2KNSPm1+kTu2k20yw8Rjtzc=";
url = "https://circuit.cryptware.io/circuit-eb62b71bc60668da0e602eaa3d6aceec183fb5ca-26eae4b9-bd55-4ce7-8446-ad829ab7b3ed.zip";
hash = "sha256-4cExiem1lKrQlDIsrArfQPTuTvpABzi/rNra17R/md4=";
}
);
in
Expand Down

0 comments on commit fe3c13c

Please sign in to comment.