Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ This project adheres to
- Added a function `Mina.Transaction.hash(json)` to generate the hash of a JSON
Transaction. https://github.com/o1-labs/o1js/pull/2704

### Changes

- Update Rust nightly version to 2025-12-11.
https://github.com/o1-labs/o1js/pull/2726

## [2.12.0](https://github.com/o1-labs/o1js/compare/c2e51a84...34caaedc9) - 2025-12-03

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README-nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ compiler used by typing:
Which will reply with something like

```bash
rustc 1.82.0 (f6e511eec 2024-10-15)
rustc 1.92.0 (f6e511eec 2025-12-11)
```

Then the Wasm target can be automatically installed using
Expand Down
114 changes: 82 additions & 32 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@
((pkgs.rustChannelOf
{
channel = "nightly";
date = "2024-06-13";
sha256 = "sha256-s5nlYcYG9EuO2HK2BU3PkI928DZBKCTJ4U9bz3RX1t4=";
date = "2025-12-11";
sha256 = "sha256-Z8PetnKGSZjqRtodJ20XqBoTe2qNG0RaklrVW7AQ3JE=";
}).rust.override
{
targets = [
Expand Down Expand Up @@ -205,7 +205,7 @@
checkPhase = if pkgs.stdenv.isDarwin then "" else null;
text =
''
if [ "$1" = run ] && { [ "$2" = nightly-2024-06-13 ] || [[ "$2" =~ 1.79-x86_64* ]]; }
if [ "$1" = run ] && { [ "$2" = nightly-2025-12-11 ] || [[ "$2" =~ 1.92-x86_64* ]]; }
then
echo using nix toolchain
${rustup}/bin/rustup run nix "''${@:3}"
Expand Down
11 changes: 0 additions & 11 deletions src/bindings/scripts/build-o1js-node-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,9 @@ else
ok "Dependencies already installed"
fi

info "Setting up Mina configuration files..."
run_cmd dune b "${MINA_PATH}"/src/config.mlh
run_cmd cp "${MINA_PATH}"/src/config.mlh "src"
run_cmd cp -r "${MINA_PATH}"/src/config "src/config"
ok "Mina config files copied"

npm run build:wasm:node
npm run build:jsoo:node

npm run build:bindings-transaction-layout

info "Cleaning up Mina config files..."
run_cmd rm -rf "src/config"
run_cmd rm "src/config.mlh"
ok "Config files cleaned up"

success "Node bindings artifacts build complete"
2 changes: 1 addition & 1 deletion src/mina
Submodule mina updated 1595 files
Loading