Skip to content

Commit

Permalink
Update o1js submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonichon committed Sep 28, 2023
1 parent 4e028bb commit 39e6874
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions nix/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ let
toolchainHashes = {
"1.71" = "sha256-R0F0Risbr74xg9mEYydyebx/z0Wu6HI0/KWwrV30vZo=";
"1.72" = "sha256-dxE7lmCFWlq0nl/wKcmYvpP9zqQbBitAQgZ1zx9Ooik=";
"nightly-2023-08-24" = "sha256-nfYc8EgbYl75yIIHmEEmpux4ZpwaIyuC+g6Hf4y1Hyk=";

"nightly-2023-08-25" = "sha256-nfYc8EgbYl75yIIHmEEmpux4ZpwaIyuC+g6Hf4y1Hyk=";
"nightly-2023-09-01" = "sha256-nfYc8EgbYl75yIIHmEEmpux4ZpwaIyuC+g6Hf4y1Hyk=";
"nightly-2023-06-01" = "sha256-+LaR+muOMguIl6Cz3UdLspvwgyG8s5t1lcNnQyyJOgA=";
# copy the placeholder line with the correct toolchain name when adding a new toolchain
# That is,
# 1. Put the correct version name;
Expand Down Expand Up @@ -143,10 +144,10 @@ in
version = deps.wasm-bindgen.version;
src = final.fetchCrate {
inherit pname version;
sha256 = "sha256-0rK+Yx4/Jy44Fw5VwJ3tG243ZsyOIBBehYU54XP/JGk=";
sha256 = "sha256-0u9bl+FkXEK2b54n7/l9JOCtKo+pb42GF9E1EnAUQa0=";
};

cargoSha256 = "sha256-vcpxcRlW1OKoD64owFF6mkxSqmNrvY+y3Ckn5UwEQ50=";
cargoSha256 = "sha256-AsZBtE2qHJqQtuCt/wCAgOoxYMfvDh8IzBPAOkYSYko=";
nativeBuildInputs = [ final.pkg-config ];

buildInputs = with final;
Expand All @@ -158,8 +159,9 @@ in

checkInputs = [ final.nodejs ];

# other tests require it to be ran in the wasm-bindgen monorepo
cargoTestFlags = [ "--test=interface-types" ];
# other tests, like --test=wasm-bindgen, require it to be ran in the
# wasm-bindgen monorepo
cargoTestFlags = [ "--test=reference" ];
};
in
rustPlatform.buildRustPackage {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/snarkyjs

0 comments on commit 39e6874

Please sign in to comment.