Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
837ad1c
Merge pull request #2238 from o1-labs/main
Trivo25 May 29, 2025
5ad3a8e
mina bump
Trivo25 May 29, 2025
b243d82
Merge pull request #2240 from o1-labs/florian/bump-mina-may-29
Trivo25 May 30, 2025
9c4e08e
Include hash in "VerificationKey.toJSON()" method
Shigoto-dev19 Aug 18, 2025
26c9941
Merge pull request #2337 from o1-labs/shigoto/develop/vKey-serializat…
Shigoto-dev19 Aug 19, 2025
6f43672
Merge remote-tracking branch 'origin/main' into leon/develop-from-main
bleepbloopsify Oct 13, 2025
1f78fb4
bumping mina
bleepbloopsify Oct 8, 2025
6428e5e
Merge pull request #2544 from o1-labs/leon/develop-from-main
bleepbloopsify Oct 14, 2025
1a3ca07
Merge pull request #2447 from o1-labs/leon/bump-mina
bleepbloopsify Oct 15, 2025
2e21d42
Merge remote-tracking branch 'origin/main' into leon/develop-main
bleepbloopsify Oct 17, 2025
346479a
Merge pull request #2584 from o1-labs/leon/develop-main
bleepbloopsify Oct 23, 2025
ef3c031
native build workflow
bleepbloopsify Oct 30, 2025
59eba21
Merge pull request #2502 from o1-labs/leon/native-build
bleepbloopsify Nov 3, 2025
88c6478
Merge remote-tracking branch 'origin/main' into leon/main-and-bump-mina
bleepbloopsify Nov 5, 2025
5677e7b
Merge pull request #2621 from o1-labs/leon/main-and-bump-mina
bleepbloopsify Nov 6, 2025
b703adc
Merge remote-tracking branch 'origin/main' into develop-3.0
bleepbloopsify Nov 17, 2025
562f696
feature: upgrade mina submodule to mesa
bleepbloopsify Nov 17, 2025
03030b1
updating constants to newer values
bleepbloopsify Nov 18, 2025
c522181
updating events and actions constants to mesa values
bleepbloopsify Nov 24, 2025
c7f60db
Merge pull request #2647 from o1-labs/leon/3.0/account-update-expansion
bleepbloopsify Dec 1, 2025
48377eb
Merge pull request #2650 from o1-labs/leon/3.0/event-action-limits
bleepbloopsify Dec 1, 2025
4e402f7
update: mina -> #mesa
bleepbloopsify Dec 2, 2025
3808513
recommended actions to replace setFeePerSnarkCost
bleepbloopsify Dec 3, 2025
f9331a2
need my patch
bleepbloopsify Dec 3, 2025
8cc8499
nightly release for develop-3.0 and develop
Trivo25 Dec 7, 2025
89abe20
update package-lock for engine version
Trivo25 Dec 7, 2025
59bc753
change setFeePerSnarkCost dependency on total AUs
Trivo25 Dec 7, 2025
b73d098
auto update npmDepsHash
Trivo25 Dec 7, 2025
180568c
change setFeePerSnarkCost dependency on total AUs
Trivo25 Dec 7, 2025
e53d0e6
replace perSnarkCost with perAccountUpdate
Trivo25 Dec 7, 2025
2571259
fix changeog
Trivo25 Dec 7, 2025
c7c7154
fix test
Trivo25 Dec 7, 2025
1b927ae
fix constants
Trivo25 Dec 7, 2025
a30dfda
fix max AU tests
Trivo25 Dec 7, 2025
a02a7a9
fix v2 comp tests
Trivo25 Dec 7, 2025
0a39b39
dump new vks
Trivo25 Dec 7, 2025
1bed5b3
replace with proper shared constant
Trivo25 Dec 7, 2025
1ce643b
add mesa lightnet
Trivo25 Dec 7, 2025
6223010
Merge pull request #2668 from o1-labs/florian/fix-ci-tests
Trivo25 Dec 8, 2025
f5cb171
nightly release for develop-3.0 and develop
Trivo25 Dec 7, 2025
df8003d
update package-lock for engine version
Trivo25 Dec 7, 2025
c0ee722
change setFeePerSnarkCost dependency on total AUs
Trivo25 Dec 7, 2025
01a65d8
auto update npmDepsHash
Trivo25 Dec 7, 2025
3a3c933
Merge branch 'florian/3.0-nightly-release' of https://github.com/o1-l…
Trivo25 Dec 8, 2025
8fb7c5b
rename
Trivo25 Dec 8, 2025
1d58a99
rename newFeePerAccountUpdate
Trivo25 Dec 8, 2025
0c9c2dd
mina to 25697d4a1083e280eea2964e501064f3ab2a49af as base
Trivo25 Dec 8, 2025
e5011ff
Merge pull request #2666 from o1-labs/florian/3.0-nightly-release
Trivo25 Dec 8, 2025
c5837d5
Merge pull request #2657 from o1-labs/leon/develop-3.0/must-work
bleepbloopsify Dec 8, 2025
4dae928
Merge remote-tracking branch 'origin/main' into develop-3.0
bleepbloopsify Dec 8, 2025
304c0ba
auto update npmDepsHash
bleepbloopsify Dec 8, 2025
d060a79
Merge pull request #2679 from o1-labs/leon/main-develop-3.0
bleepbloopsify Dec 8, 2025
240541d
talk to mesa instead of dead berkley
bleepbloopsify Dec 10, 2025
81d9dcd
Merge pull request #2688 from o1-labs/leon/fix-live-test
bleepbloopsify Dec 10, 2025
7acd9d5
unit tests for actions and event limits
bleepbloopsify Dec 10, 2025
02b142a
events and actions tests
bleepbloopsify Dec 11, 2025
4676d84
actions and events can co-exist happily
bleepbloopsify Dec 12, 2025
6af7939
account state unit tests
bleepbloopsify Dec 12, 2025
2cdb5b7
adjust account update check and consider actual formula
Trivo25 Dec 17, 2025
dc48adf
adjust tests
Trivo25 Dec 17, 2025
be1d9ff
Merge pull request #2699 from o1-labs/florian/correct-au-limit
Trivo25 Dec 17, 2025
5a292ad
rename so theyre included in ci
Trivo25 Jan 12, 2026
1b6d32e
Merge pull request #2689 from o1-labs/leon/develop-3.0/actions-and-ev…
Trivo25 Jan 12, 2026
2e53d52
add example zkapp with 32 state fields
Trivo25 Jan 12, 2026
ffad509
make test more complex and add oversized state cases
Trivo25 Jan 12, 2026
f02cc33
Merge pull request #2693 from o1-labs/leon/develop-3.0/account-state-…
Trivo25 Jan 12, 2026
3a3f185
add big state zkapp to ci tests
Trivo25 Jan 12, 2026
1a62955
stress test AU limits and combinations a bit more
Trivo25 Jan 12, 2026
8800c8d
add dedicates transaction/zkapp test for limits as well
Trivo25 Jan 12, 2026
347fb5f
tested elsewhere
Trivo25 Jan 12, 2026
572c1df
Revert "tested elsewhere"
Trivo25 Jan 12, 2026
e32f47a
bump new mesa commit
Trivo25 Jan 12, 2026
00bbd52
add `Ledger.migrate`
Trivo25 Jan 12, 2026
a3f81da
expose `Ledger.migrate` to o1js
Trivo25 Jan 12, 2026
250944c
Merge pull request #2722 from o1-labs/florian/au-mesa-unit-test
Trivo25 Jan 13, 2026
3247257
Merge pull request #2721 from o1-labs/leon/develop-3.0/account-state-…
Trivo25 Jan 13, 2026
fb1f463
Merge pull request #2723 from o1-labs/florian/bump-mina
Trivo25 Jan 14, 2026
43bda6d
dont overwrite custom permissions with default
Trivo25 Mar 16, 2026
0a500d3
add test
Trivo25 Mar 16, 2026
9113d28
gates: remove cairo gates
querolita Feb 2, 2026
3024e73
nix: skip dune build for config.mlh when source file already exists
querolita Feb 25, 2026
94230ca
nix: try to fix rust problem for export_test_vectors
querolita Feb 25, 2026
37cb2eb
nix: use DUNE_PROFILE to avoid mlh files
querolita Feb 26, 2026
499856d
submodule: update mina to after cairo removal
querolita Mar 19, 2026
89aca59
local ledger: update migrate_to_mesa
querolita Mar 19, 2026
4be42c0
changelog: update
querolita Mar 19, 2026
f0f8ba4
build: update nightly of rust toolchain to 2025-12-11
querolita Mar 19, 2026
9ac2082
submodule: update mina
querolita Mar 19, 2026
aa4cac4
bindings: fix ts wasm wrapper typing for private constructors
querolita Mar 19, 2026
0b51526
bindings: transfer wasm ownersip with intoRaw in conversion layer
querolita Mar 11, 2026
b7a929f
build: update wasm-bindgen pattern
querolita Mar 11, 2026
456f196
wasm: harden node threadpool lifecycle and worker startup
querolita Mar 11, 2026
ee95cf9
wasm: threadpool fix for web as well
querolita Mar 11, 2026
00cb6e9
npmDepsHash update
querolita Mar 11, 2026
4d6d4c8
nix: update nightly version of rust-channel to accept more recent too…
querolita Mar 12, 2026
01641d9
fix(ci): stabilize wasm unit tests on Node 20
querolita Mar 16, 2026
f550237
npmDepsHash: update sha
querolita Mar 17, 2026
b6740a8
nix: bump nightly in rustup to allow is_multiple_of
querolita Mar 17, 2026
9b714d8
tests: remove backend selection
querolita Mar 19, 2026
45c2ef9
auto update npmDepsHash
querolita Mar 19, 2026
85f336d
Merge branch 'mesa/cairo-removal' of github.com:o1-labs/o1js into mes…
querolita Mar 19, 2026
c14f5b1
bindings: fix wasm worker bootstrap to use canonical module memry
querolita Mar 20, 2026
c573e65
debug: node backend workers
querolita Mar 20, 2026
2850acb
submodule: update mina
querolita Mar 20, 2026
ce191d3
dump vks
querolita Mar 20, 2026
a1f7b8e
cache: treat cache misses in a friendlier log manner
querolita Feb 19, 2026
9870d34
update cache regression artifact pin
querolita Mar 20, 2026
15cfadf
Refresh cached verification test fixture
querolita Mar 20, 2026
0386bde
update performance regression baselines
querolita Mar 20, 2026
11df8a4
changelog
Trivo25 Mar 23, 2026
2850588
Merge pull request #2817 from o1-labs/florian/token-permission
Trivo25 Mar 23, 2026
14f9d77
revert warm cache measurements from perf-regression introduced by mis…
querolita Mar 23, 2026
372b9d9
Merge branch 'develop-3.0' into mesa/cairo-removal
querolita Mar 23, 2026
7349f87
submodule: update mina
querolita Mar 23, 2026
d9a5f0c
attempt web worker fix (tbd)
Trivo25 Mar 24, 2026
5e9a083
bump proof systems
Trivo25 Mar 24, 2026
4298c25
add some debug logging
Trivo25 Mar 24, 2026
685ba12
fix test?
Trivo25 Mar 24, 2026
88b40b0
attempt another fix?
Trivo25 Mar 24, 2026
d6a3126
Update web-backend.js
Trivo25 Mar 24, 2026
b096d32
more detailed error
Trivo25 Mar 24, 2026
9556347
store logs tbd
Trivo25 Mar 24, 2026
8f8f250
add max re-try
Trivo25 Mar 24, 2026
aa85ff5
Merge branch 'mesa/cairo-removal' into native/mesa
querolita Mar 24, 2026
381680f
mina: update imports
querolita Mar 24, 2026
893f05e
submodule: update mina
querolita Mar 24, 2026
e59db3d
Merge branch 'mesa/cairo-removal' into native/mesa
querolita Mar 24, 2026
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
17 changes: 17 additions & 0 deletions .config/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
"cachedir",
"callforest",
"caml",
"capnp",
"capnproto",
"Cfgs",
"CFLAGS",
"Chal",
"chals",
"coeff",
Expand All @@ -49,6 +52,7 @@
"conv",
"CPPFLAGS",
"ctypes",
"depexts",
"descr",
"devnet",
"devshell",
Expand Down Expand Up @@ -98,6 +102,7 @@
"Freeable",
"Fseqp",
"gitmodules",
"gpatch",
"gretke's",
"hardfork",
"Hlist",
Expand All @@ -113,6 +118,7 @@
"Intfs",
"Iseconds",
"iteri",
"jemalloc",
"jslib",
"jsoo",
"jsstring",
Expand All @@ -123,12 +129,20 @@
"LDFLAGS",
"LEFTSHIFT",
"lessthan",
"libbz",
"libgflags",
"libgmp",
"libiconv",
"libjemalloc",
"liblmdb",
"libomp",
"libpq",
"libsodium",
"liconv",
"Lightnet",
"lincom",
"linkall",
"lmdb",
"loglog",
"LuffySama",
"maht",
Expand All @@ -146,6 +160,7 @@
"Muls",
"napi",
"Nexts",
"nicholasngai",
"nixbuild",
"nixfmt",
"nixos",
Expand All @@ -158,6 +173,7 @@
"offchain",
"opam",
"Optdef",
"OPTIMISATIONS",
"optimise",
"optimised",
"optin",
Expand Down Expand Up @@ -252,6 +268,7 @@
"varfields",
"verifys",
"vnew",
"wabt",
"wasnt",
"wbindgen",
"Weierstraß",
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-wasm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: use proof_systems_commit if provided
if: ${{ inputs.proof_systems_commit != '' }}
Expand Down
16 changes: 15 additions & 1 deletion .github/actions/live-tests-shared/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Build o1js and execute tests
env:
USE_CUSTOM_LOCAL_NETWORK: 'true'
Expand All @@ -28,6 +28,20 @@ runs:
bash run-ci-live-tests.sh
cat profiling.md >> $GITHUB_STEP_SUMMARY
shell: bash
- name: Dump mina daemon container logs
if: always()
continue-on-error: true
run: |
CONTAINER_ID=$(docker ps -aq --filter "expose=8080" | head -1)
if [ -n "$CONTAINER_ID" ]; then
echo "=== Mina daemon container logs (last 1000 lines) ==="
docker logs "$CONTAINER_ID" 2>&1 | tail -1000
echo "=== Dumping full logs to /tmp/mina-daemon.log ==="
docker logs "$CONTAINER_ID" > /tmp/mina-daemon.log 2>&1
else
echo "No mina container found"
fi
shell: bash
- name: Upload Mina logs
uses: actions/upload-artifact@v4
continue-on-error: true
Expand Down
163 changes: 163 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
name: Build
on:
pull_request:
workflow_dispatch:
env:
OCAML_VERSION: 4.14.2
jobs:
build:
name: '[${{ matrix.os }}] Build (Node.JS ${{ matrix.node_version }})'
strategy:
matrix:
os: [
ubuntu-latest,
macos-latest,
]
node_version: [22, 24]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Homebrew
if: runner.os == 'macOS'
uses: Homebrew/actions/setup-homebrew@f4b81a54c655301a8039231c1ae08f89714fe245

- name: Install Homebrew dependencies
if: runner.os == 'macOS'
env:
HOMEBREW_NO_AUTO_UPDATE: 1
run: |
brew install \
capnp \
binaryen \
bzip2 \
gnu-sed \
libffi \
libpq \
libsodium \
lmdb \
pkgconf \
postgresql@15 \
wasm-pack \
wasm-tools \
wabt \
bash \
boost \
cmake \
gmp \
gpatch \
jemalloc \
libomp

brew link postgresql@15

- name: Install apt dependencies
if: runner.os == 'Linux'
run: |
set -Eeuxo pipefail
export DEBIAN_FRONTEND=noninteractive
sudo apt update
sudo apt install --no-install-recommends --yes \
libboost-dev \
libboost-program-options-dev \
libbz2-dev \
libcap-dev \
libffi-dev \
libgflags-dev \
libgmp-dev \
libgmp3-dev \
libjemalloc-dev \
liblmdb-dev \
liblmdb0 \
libpq-dev \
libsodium-dev \
libssl-dev \
build-essential \
ca-certificates \
capnproto \
cmake \
curl \
file \
git \
git-lfs \
m4 \
pkg-config \
rsync \
sudo \
unzip \
binaryen \
zlib1g-dev

- name: Setup Node.JS ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}

- name: Install Dependencies
run: npm ci

- name: Set-up OCaml ${{ env.OCAML_VERSION }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ env.OCAML_VERSION }}

- name: Cache opam switch
id: cache-opam
uses: actions/cache@v4
with:
path: ./_opam/
key: ${{ runner.os }}-${{ env.OCAML_VERSION }}-${{ hashFiles('./src/mina/opam.export') }}

- name: Setup opam switch
if: steps.cache-opam.outputs.cache-hit != 'true'
run: |
set -Eeuxo pipefail

if [[ "${{ runner.os }}" == "macOS" ]]; then
export CFLAGS="-I/opt/homebrew/include/"
export CPPFLAGS="-I/opt/homebrew/include/"
export C_INCLUDE_PATH="/opt/homebrew/include/"
export LDFLAGS="-L/opt/homebrew/lib/"
export PKG_CONFIG_PATH="$(brew --prefix libpq)/lib/pkgconfig:$(brew --prefix libsodium)/lib/pkgconfig"
fi

opam repository set-url default https://github.com/ocaml/opam-repository.git\#08d8c16c16dc6b23a5278b06dff0ac6c7a217356
opam repository add --yes --all --set-default o1-labs https://github.com/o1-labs/opam-repository.git
opam pin add --no-action async_ssl https://github.com/o1-labs/async_ssl.git\#v0.14-o1labs
pushd src/mina
opam switch import --debug --assume-depexts opam.export

- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2025-12-11
targets: wasm32-unknown-unknown
components: rust-src

- name: Setup go
uses: nicholasngai/actions-setup-go@f107e23d356886ae65af3bd7f30d8f6c56801c23
with:
go-version: 1.18.10

- name: Build bindings
run: |
if [[ "${{ runner.os }}" == "macOS" ]]; then
export RUST_TARGET_FEATURE_OPTIMISATIONS=omit
export PATH="$(brew --prefix gnu-sed)/libexec/gnubin:$PATH"
fi

eval $(opam env)
npm run build:bindings-all

- name: Build
run: npm run build

- name: Run simple test
env:
TEST_TYPE: 'Simple integration tests'
run: ./run-ci-tests.sh
timeout-minutes: 60
46 changes: 40 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
Lint-and-Format:
strategy:
matrix:
node: [20]
node: [22]
if: github.event.pull_request.labels.*.name != 'skip-lint'
runs-on: ubuntu-latest

Expand Down Expand Up @@ -310,8 +310,7 @@ jobs:
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: 20
# TODO matrixing this requires changing branch protection rules
node-version: 22

- name: Restore npm cache
uses: actions/cache@v4
Expand Down Expand Up @@ -487,7 +486,7 @@ jobs:
needs: [Prepare-Wasm]
timeout-minutes: 45
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref != 'develop'
if: github.event.pull_request.base.ref == 'develop'
services:
mina-local-network:
image: o1labs/mina-local-network:master-latest-lightnet
Expand Down Expand Up @@ -523,7 +522,7 @@ jobs:
needs: [Prepare-Wasm]
timeout-minutes: 45
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref != 'develop'
if: github.event.pull_request.base.ref == 'main'
services:
mina-local-network:
image: o1labs/mina-local-network:compatible-latest-lightnet
Expand Down Expand Up @@ -589,4 +588,39 @@ jobs:
- name: Use shared steps for live testing jobs
uses: ./.github/actions/live-tests-shared
with:
mina-branch-name: develop
mina-branch-name: develop
mesa:
needs: [Prepare]
timeout-minutes: 45
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref == 'develop-3.0'
services:
mina-local-network:
image: o1labs/mina-local-network:mesa-latest-lightnet
env:
NETWORK_TYPE: 'single-node'
PROOF_LEVEL: 'none'
ports:
- 3085:3085
- 5432:5432
- 8080:8080
- 8181:8181
- 8282:8282
volumes:
- /tmp:/root/logs
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ${{ inputs.target_repo || github.repository }}
ref: ${{ inputs.target_ref || github.ref }}
- name: build
uses: ./.github/actions/build
with:
repository: ${{ inputs.target_repo || github.repository }}
ref: ${{ inputs.target_ref || github.ref }}
proof_systems_commit: ${{ inputs.proof_systems_commit }}
- name: Use shared steps for live testing jobs
uses: ./.github/actions/live-tests-shared
with:
mina-branch-name: mesa
2 changes: 2 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
- develop
- develop-3.0
jobs:
Check-Changelog:
name: Check Changelog Action
Expand Down
Loading
Loading