instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
0xMiden__air-script__524
0xMiden/air-script
524
defect
fba3d1c2a1100933ecdc4d984209b21c409143b0
efcd89196e97cf3b64dd0284ec3d43637348c64f
fix inlining loop on cross imports
## Describe your changes Merges several pending PRs #513 #507 #514 into the branch al-constraints-air-only Fixes an issue when inlining nested function calls accross modules. ## Checklist before requesting a review - [x] Repo forked and branch created from `next` according to naming convention. created from `al...
diff --git a/Cargo.toml b/Cargo.toml index c1bc061b8..aaed9a3cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ members = [ "air", "codegen/winterfell", "codegen/ace", + "constraints", ] resolver = "2" diff --git a/air-script/tests/cross_module_calls/cross_module_calls.air b/air-script/te...
4
3
1
[{"id": "G0", "claim": "The comment above the inlining branch should be updated to explain the new early return.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Typo in the added comment: \"..inline. We...\" is missing a period after \"inline\".", ...
null
0xMiden__air-script__544
0xMiden/air-script
544
defect
f7267e8ed18a529522b1e75c5ad43f84d23b340e
6f252d47666b5128dc0ec84cc7cdf8ac676ff831
Stack overflow constraints
## Describe your changes ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Commits are [signed](https://docs.github.com/en/authentication/managing-commit-signature-verifi...
diff --git a/constraints/flags.air b/constraints/flags.air index 4fe982517..a96d145f4 100644 --- a/constraints/flags.air +++ b/constraints/flags.air @@ -1035,3 +1035,27 @@ fn compute_all_operation_flags(bits: felt[7], e0: felt, e1: felt) -> felt[96] { e1 * bits[4] * bits[3] * bits[2] # op...
1
1
1
[{"id": "G0", "claim": "The overflow-flag constraint should be enforced on the last row too (integrity domain), since the boundary constraint @tag(34) enf stack[16].last = 16 should already make it hold there, instead of being kept only in the transition domain.", "category": "correctness", "verdict": "supported", "pri...
null
0xMiden__air-script__545
0xMiden/air-script
545
defect
f7267e8ed18a529522b1e75c5ad43f84d23b340e
dbba31d7adaaf6f2b9d1df6e42e12c41269fd221
Stack shuffling ops constraints
## Describe your changes ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Commits are [signed](https://docs.github.com/en/authentication/managing-commit-signature-verifi...
diff --git a/constraints/flags.air b/constraints/flags.air index 4fe982517..a96d145f4 100644 --- a/constraints/flags.air +++ b/constraints/flags.air @@ -1035,3 +1035,27 @@ fn compute_all_operation_flags(bits: felt[7], e0: felt, e1: felt) -> felt[96] { e1 * bits[4] * bits[3] * bits[2] # op...
1
1
1
[{"id": "G0", "claim": "The dummy `zero` term forcing binary constraints to stay in the transition domain needs more detail, and the reviewer expects it to be used only when the last row would break a constraint, which may not be the case here.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ...
null
0xMiden__air-script__554
0xMiden/air-script
554
defect
5fa8b24c8a05ba332ef9399cd23952602cccef49
d6cf67657c7b325d725f8a0bc6f0c1a10124969e
Stack field arithmetic and u32 ops constraints
## Describe your changes ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Commits are [signed](https://docs.github.com/en/authentication/managing-commit-signature-verifi...
diff --git a/constraints/ace.air b/constraints/ace.air new file mode 100644 index 000000000..e55b84f19 --- /dev/null +++ b/constraints/ace.air @@ -0,0 +1,214 @@ +########################################################################################## +# ACE CHIPLET CONSTRAINTS MODULE +################################...
4
2
0
[{"id": "G0", "claim": "The ext_c1 constraint is written in a Karatsuba-style form that only saves a multiplication if air-script codegen reuses the let-bound products ext_a0_b0/ext_a1_b1, which it currently does not, so it should be written directly as `enf ext_c1 = ext_a0 * ext_b1 + ext_a1 * ext_b0 when is_ext2mul;`....
null
0xMiden__air-script__58
0xMiden/air-script
58
defect
e78b2528b7b649f3b91a854939e3af68bf839f26
a3efa11e29bce31fed8976a12368466cc259263a
Add bitwise air constraints with currently supported syntax
This PR adds a modified version of existing bitwise air constraints to work with currently supported syntax and adds an integration test to check for expected code generation.
diff --git a/air-script/tests/bitwise/bitwise.air b/air-script/tests/bitwise/bitwise.air new file mode 100644 index 000000000..b23ca8c73 --- /dev/null +++ b/air-script/tests/bitwise/bitwise.air @@ -0,0 +1,56 @@ +def BitwiseAir + +public_inputs: + stack_inputs: [16] + +trace_columns: + main: [s, a, b, a0, a1, a2, ...
8
7
1
[{"id": "G0", "claim": "The comment should say \"at least\" instead of \"atleast\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The selector comment should be clarified to say the selector stays the same throughout the cycle.", "category": "doc...
null
0xMiden__air-script__63
0xMiden/air-script
63
defect
e58de5f6767297350b6716a8759a45f2f40347cc
82dddf9d0596c4588cef5df6f49afe362ec03c82
Add support for parsing of constants
Partly addressing #60. This PR adds support for constants to the parser. This doesn't yet produce valid IR for constants. That will be handled in #67. Questions: 1. Should we enforce using CAPITALS for constant names? If yes, should we throw an error or show a warning to the user? 2. Should we have any specia...
diff --git a/codegen/winterfell/src/air/boundary_constraints.rs b/codegen/winterfell/src/air/boundary_constraints.rs index bc3a3b68e..eb8ea45e2 100644 --- a/codegen/winterfell/src/air/boundary_constraints.rs +++ b/codegen/winterfell/src/air/boundary_constraints.rs @@ -103,7 +103,7 @@ impl Codegen for BoundaryExpr { ...
15
11
2
[{"id": "G0", "claim": "The \\[ and \\] escapes in the Constant doc comments look unnecessary and should be double-checked (and removed if so).", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Define getter methods for Constant's name and value instea...
null
0xMiden__crypto__139
0xMiden/crypto
139
defect
158167356de593b2e53a8bdb60bf26b852ad6759
57a9583fe5ac2c68d85d82730a03f5bfcc94567b
store: support adding existing structures
## Describe your changes fixes #136 implemented the extend trait for the merkle store, consume an iterator over inner nodes. this can be used to add existing structures into the store. ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - ...
diff --git a/src/merkle/store/mod.rs b/src/merkle/store/mod.rs index a5108269ae..06c05b9bfa 100644 --- a/src/merkle/store/mod.rs +++ b/src/merkle/store/mod.rs @@ -1,7 +1,7 @@ use super::mmr::{Mmr, MmrPeaks}; use super::{ - BTreeMap, EmptySubtreeRoots, MerkleError, MerklePath, MerklePathSet, MerkleTree, NodeIndex, ...
2
2
0
[{"id": "G0", "claim": "Rename add_inner_nodes to extend() (or append()) and return &mut Self so multiple structures can be added to the MerkleStore in a chain of calls.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the with_* and add_* methods t...
null
0xMiden__crypto__162
0xMiden/crypto
162
defect
2ed880d976fe0767bf7fb03c7d3eeb07857007f0
362a28987bc824c5e720c59dd4ea9e22faa30457
Introduce data access recording capabilities
## Describe your changes This PR introduces the required changes to support recording of data access. This includes the introduction of the following components and changes: - `KvMap`: A trait that defines the interface for a key-value map. - `RecordingMap`: A [RecordingMap] that records read requests to the un...
diff --git a/benches/store.rs b/benches/store.rs index aaa980609e..f2b3c8f513 100644 --- a/benches/store.rs +++ b/benches/store.rs @@ -34,7 +34,7 @@ fn get_empty_leaf_simplesmt(c: &mut Criterion) { // both SMT and the store are pre-populated with empty hashes, accessing these values is what is // being benchm...
2
2
2
[{"id": "G0", "claim": "The `get_ref` method should record key access like the recording accessor does.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Reads of keys created during execution (the `new` map) should also be recorded by `get` and `conta...
null
0xMiden__crypto__280
0xMiden/crypto
280
defect
24f72c986b1748e2a5dbec508458c11a390a0c6b
cc92a3b2b24213f3a7e960cc316b1ecd6cb58fd1
clippy: fix Vec/String warnings
## Describe your changes This fixes the [clippy warnings](https://github.com/0xPolygonMiden/crypto/actions/runs/7989941221/job/21817585280) by using wildcard imports instead of name imports. This requires changes downstream to winterfell, namely the `boxed` mod. ## Checklist before requesting a review - Repo ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 00b8a271af..e68578eff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 0.9.0 (TBD) + ## 0.8.0 (2024-02-14) * Implemented the `PartialMmr` data structure (#195). diff --git a/Cargo.toml b/Cargo.toml index 86b399bb7c..42373851e6 100644 --- a/Cargo.toml +...
2
2
1
[{"id": "G0", "claim": "Clippy is still failing on this pull request, and the reviewer asks whether that is expected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new imports should come from `crate::utils` instead of `winter_utils` so that fu...
null
0xMiden__crypto__354
0xMiden/crypto
354
defect
1867f842d33ca655a614d9053dc7e989000b1acb
370da89ea332d495f7ce36b39b8a94133aa36709
Signatures benchmarks
## Describe your changes Adds benchmarks for the implemented DSA-s. ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Relevant issues are linked in the PR description. - ...
diff --git a/Cargo.lock b/Cargo.lock index 160a2e7a30..052a1ec98f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -113,9 +113,9 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "blake3" -version = "1.5.4" +version = "1.5.5" source = "registry+https://github.com/rust-l...
5
5
0
[{"id": "G0", "claim": "The README should use a single top-level heading (e.g. `Benchmarks`) with `Hash functions` and `Digital signatures` as level-2 headings and all other section levels increased by one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
0xMiden__crypto__397
0xMiden/crypto
397
defect
222197d08f45082fa4c0972e948a5787266c5862
5d20aafec877df8650b8e485fb8d348c613d53d4
refactor: folder structure
## Describe your changes This PR updates the project folder structure by moving the main project into `miden-crypto` and the fuzz crate into `miden-crypto-fuzz`, as suggested [here](https://github.com/0xPolygonMiden/crypto/pull/385#pullrequestreview-2635334411) ## Checklist before requesting a review - Repo fork...
diff --git a/Cargo.toml b/Cargo.toml index 7e1125f0a7..797ca81a9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,97 +1,15 @@ -[package] -name = "miden-crypto" -version = "0.14.0" -description = "Miden Cryptographic primitives" +[workspace] +members = [ + "miden-crypto" +] +resolver = "2" # Use the edition 2021 depe...
7
5
1
[{"id": "G0", "claim": "The workspace root Cargo.toml's rust-version is stale at 1.84 and should be 1.85, as already updated in #399.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The documentation field should be moved out of the workspace r...
null
0xMiden__crypto__460
0xMiden/crypto
460
defect
6646227a6b5da1607d2a43821dfc53a3da035125
39134e561a1ee84fb4ce0862a7a24a5bea6d7d1a
Remove public key from Falcon signature
## Describe your changes For more context see here #458 ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Relevant issues are linked in the PR description. - Tests added ...
diff --git a/miden-crypto/src/dsa/rpo_falcon512/keys/mod.rs b/miden-crypto/src/dsa/rpo_falcon512/keys/mod.rs index 5cecc68ccd..4f2f4b21c9 100644 --- a/miden-crypto/src/dsa/rpo_falcon512/keys/mod.rs +++ b/miden-crypto/src/dsa/rpo_falcon512/keys/mod.rs @@ -4,7 +4,7 @@ use super::{ }; mod public_key; -pub use public_k...
7
6
2
[{"id": "G0", "claim": "Removing the `PubKeyPoly` type and its export may break the Miden VM, which the reviewer believed uses it.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename `to_word()` to `to_commitment()` and implement `SequentialCommit` for...
null
0xMiden__crypto__484
0xMiden/crypto
484
defect
8c5fdec788753d4934597a2b44f0de3396e2c272
344d9bea8cecb9f943f41e69a8992de481725fe6
AES-GCM AEAD
## Describe your changes As the title says. This adds authenticated encryption, with associated data, using AES-GCM. The advantage of this over the arithmetization-friendly alternative, besides being battle-tested, is its speed. I am seeing at least a 100x difference in encryption/decryption. (Note that this is on a...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a3c5d73d16..87adb7a12c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,8 @@ - `Smt.insert_inner_nodes` does not store empty subtrees ([#452](https://github.com/0xMiden/crypto/pull/452)). - Optimized `Smt::num_entries()` ([#455](https://github.com/0xMiden/crypto/p...
4
3
2
[{"id": "G0", "claim": "The 96-bit AES-GCM nonce is on the low side, so depending on the use-case something may need to be done about it.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If the secret key needs to be a word, it might make sense to make t...
null
0xMiden__crypto__509
0xMiden/crypto
509
defect
f20ce04f8c9d4b829b4925cbfc492c5f45d5e68e
52dbeaeb648d849b876f807cb9ace5b314d28ba6
chore: expand & re-use lint CI workflows
## Describe your changes - reuse the workflow file from https://github.com/0xMiden/.github/blob/main/.github/workflows/lint.yml - effectively adds `typos`, `toml`, `workspace-lints` and `unused_deps` jobs EDIT: I'm not 100% convinced about re-using the workflows. It makes the CI much less transparent (one needs to...
diff --git a/.config/nextest.toml b/.config/nextest.toml index 513c7c728c..2b60ad1bbb 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -1,9 +1,9 @@ [profile.default] -failure-output = "immediate-final" -fail-fast = false default-filter = 'not test(merkle::smt::full::concurrent)' +fail-fast = false...
2
2
1
[{"id": "G0", "claim": "An \"install tools\" make target should also be added, as in some other repos.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request appears to break the build when its merge conflicts with next are resolved.", ...
null
0xMiden__crypto__530
0xMiden/crypto
530
defect
0c81ee2695d939eddfe3f3460d8859b72ad696fa
c27f7d9bc7f07acb7030270639279ca2f0af3a0b
Chore: restore Felt methods for XChaCha
## Describe your changes ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Relevant issues are linked in the PR description. - Tests added for new functionality. - Docu...
diff --git a/miden-crypto/benches/encryption.rs b/miden-crypto/benches/encryption.rs index e2ce759d66..e8fb7b0d0f 100644 --- a/miden-crypto/benches/encryption.rs +++ b/miden-crypto/benches/encryption.rs @@ -12,16 +12,27 @@ use common::{ }, }; -benchmark_aead_field!(aead_rpo, "AEAD RPO", bench_aead_rpo_felts, ae...
6
6
2
[{"id": "G0", "claim": "The new helper should be named `elements_to_bytes()` instead of `elements_to_bytes_unchecked()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment on the new helper should say \"Converts field elements to raw...
null
0xMiden__crypto__597
0xMiden/crypto
597
defect
1358a23abf7440b33c5c0e55291e74b968bbe1f9
aa64e0316b977548950536377125d4e794b4cdb4
Add `LargeSmt::insert_batch` to combine compute and apply mutations
Adds `LargeSmt::insert_batch()` method that combines `compute_mutations` + `apply_mutations` into a single optimized call. - Single I/O pass: loads leaves/subtrees once instead of twice - Parallel mutation application: subtrees are updated concurrently (vs sequential in `apply_mutations`) Benchmarked on M1 Pro w...
diff --git a/CHANGELOG.md b/CHANGELOG.md index fa32e0dab2..2b3c2970f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Add `Debug`, `Clone`, `Eq` and `PartialEq` derives to secret key structs for DSA-s ([#589](https://github.com/0xMiden/crypto/pull/589)). - [BREAKING] Refactor `PartialSmt` to be constru...
7
4
1
[{"id": "G0", "claim": "The core closure that updates subtrees should be extracted into a function for readability, since it essentially only takes the closure argument and `subtree_leaves` and `subtree_root_depth`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
0xMiden__crypto__613
0xMiden/crypto
613
defect
5c8cf9bfda28c3fc4d3cebbe9a8d8692fe5fd7f3
ef7f1e68608a51208de20d3cfb722fa20fe0c8d0
refactor(large-smt): `apply_mutations_with_reversion` batched ops
## Describe your changes Replaced the naive implementation of `apply_mutations_with_reversion` with an efficient batched storage approach, bringing it to performance parity with `apply_mutations`. ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention....
diff --git a/CHANGELOG.md b/CHANGELOG.md index d62ce961b6..5d7f7abba0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## 0.19.0 (TBD) +- Refactored `LargeSmt::apply_mutations_with_reversion` to use batched storage operations ([#613](https://github.com/0xMiden/crypto/pull/613)). + ## 0.18.0 (2025-10-27)...
2
2
0
[{"id": "G0", "claim": "The batched-apply approach keeps more data in memory; the trade-off between better I/O performance and increased memory usage during mutation application should be documented, with any limits or guidelines users should be aware of.", "category": "documentation", "verdict": "supported", "priority...
null
0xMiden__crypto__660
0xMiden/crypto
660
defect
642e3d0cc4018e4a3ee048e76be110785f656a87
ce75dd7a71a89b858a2a00f0852c5af3dbfdc566
refactor(merkle): organize exports into submodules
Remove flat re-exports and organize `merkle` module into public submodules (`mmr`, `smt`, `store`) to improve navigation and reduce namespace pollution. ⚠️ **BREAKING CHANGE**: All `mmr`, `smt `, and `store` types must now be imported from their respective submodules. Closes https://github.com/0xMiden/crypto/i...
diff --git a/CHANGELOG.md b/CHANGELOG.md index cf28b4640a..3819c1ed0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Add serialization of sealing and unsealing keys in IES ([#637](https://github.com/0xMiden/crypto/pull/637)). - Fixed undefined `BaseElement` in rescue arch optimizations ([#644](https:/...
3
2
0
[{"id": "G0", "claim": "Add a blank line above the new REEXPORTS section-header comments (above line 34 and above line 38) so they are separated from the preceding re-exports.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move the `Display` impl for `Lea...
null
0xMiden__crypto__667
0xMiden/crypto
667
defect
39d5307630fe6274f04c9535422953e9d144d398
3301ac72f023a18840861b8071ff9c2b2394a125
test: add proptests for LargeSmt `insert_batch` vs `compute_mutations`+`apply_mutations` equivalence
## Describe your changes This PR adds property-based tests to `LargeSmt` to verify functional equivalence between the `insert_batch()` method and the standard two-step `compute_mutations()` + `apply_mutations()` flow. Additionally, this PR fixes build configuration issues in the `miden-crypto-fuzz` crate, ensurin...
diff --git a/CHANGELOG.md b/CHANGELOG.md index c09d6fd3f9..cbfa51efe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Fixed undefined `BaseElement` in rescue arch optimizations ([#644](https://github.com/0xMiden/crypto/pull/644)). - Fixed bugs in Merkle tree capacity checks for `SimpleSmt` and `Partial...
2
2
0
[{"id": "G0", "claim": "The miden-crypto-fuzz fuzz target fails to compile under plain `cargo check` — an unresolved `miden_crypto::hash::rpo::Word` import and `Smt::fuzz_with_entries_sequential` not found without the fuzz feature — which the reviewer attributes to issues introduced in this PR, and asks that miden-cryp...
null
0xMiden__crypto__684
0xMiden/crypto
684
defect
6ec8bc663694abb799b43e9adc90f0b4a1ada239
77798fa1d0100ce65c6cc79b46f0d2357dd963a7
fix: reject inner nodes in `PartialMerkleTree::with_leaves`
Adds validation to `PartialMerkleTree::with_leaves()` to reject entries where one node is an ancestor of another. This prevents ambiguity between provided hashes and computed hashes. The validation is implemented as a separate pass before tree construction for clarity and to enable fast failure before expensive hash...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 062724d1e4..a350435460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.20.0 (TBD) - Added `+ Sync` bound to `StorageError` and `LargeSmtError` ([#680](https://github.com/0xMiden/crypto/pull/680)). +- Added validation to `PartialMerkleTree::with_leaves...
1
1
0
[{"id": "G0", "claim": "The ancestor check should avoid building a BTreeSet of all provided nodes and doing an extra iteration over the entries, by instead comparing node depths (erroring when a subsequent node's depth differs from the first node's) — possibly at the cost of more complicated code.", "category": "perfor...
null
0xMiden__crypto__708
0xMiden/crypto
708
defect
b71367810ef986289672f42b00ed623d00d89bc7
5df3ded90d62ebe42115e29f382fc562a0415693
refactor(smt): [BREAKING] cache `LargeSmt` leaf and entry counts in-memory
## Describe your changes Closes #519 - Cache `leaf_count` and `entry_count` directly in `LargeSmt` struct - [BREAKING] Make `num_leaves()` and `num_entries()` infallible (return `usize` instead of `Result`) - Initialize counts from storage on load, update after each mutation - Fix bug in deletion logic where ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1d03c1e5..4a95634f9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Added validation to `PartialMerkleTree::with_leaves()` to reject internal nodes ([#684](https://github.com/0xMiden/crypto/pull/684)). - [BREAKING] Moved `LargeSmt` root ownership from s...
2
2
1
[{"id": "G0", "claim": "The doc comments should mention that `apply_prepared_mutations()` and `insert_batch()` are the only two methods that can mutate the underlying tree.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The refactor that split the...
null
0xMiden__crypto__736
0xMiden/crypto
736
defect
3114ff851e74d26e0205604fae7f712f155dd9ab
abbd0bd50ef90cde25a3ea211a9c0d5604723fda
Re-organize top-level crate exports
This PR re-organizes crate exports. The main changes are: - Moved most STARK-related exports under the `stark` module. - Removed `algebraic_sponge` module from the public interface. - Moved `test_utils` module under `rand` module. - Moved a few other functions around. - Updated the README file.
diff --git a/README.md b/README.md index cfeac61de9..ef907cee88 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,10 @@ Messages sealed as one type must be unsealed using the corresponding method, oth - `RpoRandomCoin`: a struct implementing `FeltRng` as well as the [`RandomCoin`](https://github.com/facebook/winte...
4
1
1
[{"id": "G0", "claim": "The README's new STARK proving system section is too thin and should be expanded considerably in the future.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The documentation of the stark module should be expanded in the fut...
null
0xMiden__crypto__737
0xMiden/crypto
737
defect
3114ff851e74d26e0205604fae7f712f155dd9ab
2f3c9ae8418f0b87e55d2fc05e4749bf17e9001b
refactor: re-focus hash benchmarks
- Restored Poseidon2 Benchmarks - Added `hash_poseidon2_merge` - benchmarks the 2-to-1 hash merge operation - Added `hash_poseidon2_sequential_felt` - benchmarks sequential hashing of field elements - These benchmarks were lost in commit 3427cda (PR #503) during the benchmark refactor in August 🤦 - used m...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 26bf6897eb..028feeb2be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - [BREAKING] Made `LargeSmt::num_leaves()` and `LargeSmt::num_entries()` infallible ([#708](https://github.com/0xMiden/crypto/pull/708)). - `PartialMmr::untrack()` now returns the remov...
1
1
0
[{"id": "G0", "claim": "The `size` parameterization is likely irrelevant to the merge() benchmarks since the input bytes (whether 32, 64, or 256) shouldn't matter for the merge() operation and should be cleaned up, and confirmation is requested that the measured time covers only the merge() operation, not computing inp...
null
0xMiden__crypto__858
0xMiden/crypto
858
defect
8c3592d762aa94b6d3ae9f5fc6155bfba4074fab
59befae2d2ce40d5d7368848e17ad00a6659187e
Various code hygiene issues
Fix a number of non-critical issues in code: - Fixed Blake3_192/256 output types and added a hash_elements check. - Deduped subtree mutations and added a duplicate-index test. - Allowed padded Digest192 hex, improved zeroize audit path matching, and added generic-container handling with a target dir fix. - ...
diff --git a/Makefile b/Makefile index 09284a17ce..d3b4d2e60c 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,9 @@ cargo-deny: ## Run cargo-deny to check dependencies for security vulnerabilities .PHONY: zeroize-audit zeroize-audit: ## Run Zeroize audit using rustdoc JSON cargo +nightly rustdoc -p miden-crypto --...
12
11
1
[{"id": "G0", "claim": "The all-zero shared-secret check should use the `subtle` crate (e.g. a constant-time comparison against a constant zero array) instead of a plain OR-accumulation loop.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Digest192...
null
0xMiden__crypto__871
0xMiden/crypto
871
defect
93063a32424c60a816d5820ed14f2248ac5a4569
3f2c0c828f8dc75e997af5153475c656a8763ae5
Remove legacy random coins
## Describe your changes ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Relevant issues are linked in the PR description. - Tests added for new functionality. - Docu...
diff --git a/README.md b/README.md index 8d9ce9e393..0a67c7c461 100644 --- a/README.md +++ b/README.md @@ -117,11 +117,12 @@ Messages sealed as one type must be unsealed using the corresponding method, oth ## Pseudo-Random Element Generator -[Pseudo random element generator module](./miden-crypto/src/rand/) provid...
3
3
1
[{"id": "G0", "claim": "Keep the newline (blank line) between the last [bench] entry and the [features] section in miden-crypto/Cargo.toml, which the PR removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Update the changelog to document the...
null
0xMiden__crypto__900
0xMiden/crypto
900
defect
5f3dee088612a5f9acefca3fed2d66cfbe890960
ed96e0fabcdfc543c0e716edb8535c97f4052300
feat(SmtForest): Make the `entries` iterator fallible
## Describe your changes This changes `LargeSmtForest::entries` to return an iterator over items that are `Result<TreeEntry>` instead of bare `TreeEntry`, ensuring that the potential failure of iteration in the backend is communicated clearly to the caller performing the iteration. We also add benchmarks to the i...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 746fbb6db9..50129deaac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - [BREAKING] Removed `RpoRandomCoin` and `RpxRandomCoin` and introduced a Poseidon2-based `RandomCoin` ([#871](https://github.com/0xMiden/crypto/pull/871)). - Harden MerkleStore deseria...
1
1
1
[{"id": "G0", "claim": "Add one focused test covering the new fault path of the fallible `entries` iterator, since that section only checks happy-path collection.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
0xMiden__crypto__910
0xMiden/crypto
910
defect
be4e8bc37d26ad538e3504753b447ad2334cc532
1ff072747ad9b23df5dd616e1f13d6b1013e8d62
feat(SmtForest): Add `add_lineages` batch endpoint
## Describe your changes This commit adds the `add_lineages` batch endpoint to the forest, providing a far more efficient way to add many new lineages at once than simply calling `add_lineage` in a loop. It originally experimented with additional `open_many` and `get_many` endpoints, but these proved no more effi...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 06c042337f..5b0719498f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.24.0 (TBD) - [BREAKING] Removed `AlgebraicSponge::merge_with_int()` method ([#894](https://github.com/0xMiden/crypto/pull/894)). +- Adds `LargeSmtForest::add_lineages` which provid...
1
1
0
[{"id": "G0", "claim": "The module docstring of large_forest has `forest/mod` accidentally pasted into it (\"...pluggable backends.forest/mod\"), so the stray text will show up in generated docs; it was asked whether it should end at \"pluggable backends.\"", "category": "documentation", "verdict": "supported", "priori...
null
0xMiden__crypto__957
0xMiden/crypto
957
defect
347f11545ac3f25371b59a2559074c56fa704c77
8020853b49b486fe7e3d0693e7fb1b4fd8e00261
feat(PartialSmt): Create a more efficient serde format
## Describe your changes To make it cheaper to pass `PartialSmt` instances over the wire, this commit introduces the `UniqueNodes` structure to the codebase, and uses it for serialization and deserialization of `PartialSmt`. Closes #746. ## Checklist before requesting a review - [x] Repo forked and branch c...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b39135411d..a4e66f671e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - [BREAKING] Update `Poseidon2` instance to match Plonky3 one ([#905](https://github.com/0xMiden/crypto/pull/905)). - Use per-chunk scratch space for batch inversion ([#933](https://git...
11
8
7
[{"id": "G0", "claim": "The new property-test generators use `^` (XOR) instead of exponentiation, so they produce tiny wrong bounds instead of `2^level` and the serde tests do not really cover the index range their comments describe.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
0xMiden__crypto__97
0xMiden/crypto
97
defect
5703fef2262ff6c5d44d7c9864b6d5b458c709ce
7757ab598ae43cd6ced07837ee1bf6b7651b6b32
Storage benchmark
## Describe your changes This adds benchmarks for creating and reading data from the existing storages ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Relevant issues ...
diff --git a/Cargo.toml b/Cargo.toml index 5886cd0cdb..c5901e37d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,10 @@ harness = false name = "smt" harness = false +[[bench]] +name = "store" +harness = false + [features] default = ["blake3/default", "std", "winter_crypto/default", "winter_math/default", "w...
9
9
0
[{"id": "G0", "claim": "Probably reduce the number of benchmark size variants to 16, 128, and 1024 instead of the seven power-of-two sizes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo \"nd\" in the insert benchmark comment; it should read...
null
0xMiden__miden-client__1017
0xMiden/miden-client
1,017
defect
14a3a930944a0a2334c191812233b34ed580ecfe
234242c5dae3442d845dd9c91b6ee7ad3ad4946a
feat: add transaction script argument support
closes #962
diff --git a/crates/rust-client/src/transaction/request/builder.rs b/crates/rust-client/src/transaction/request/builder.rs index 57f3d99c4c..cf6ecc5c1f 100644 --- a/crates/rust-client/src/transaction/request/builder.rs +++ b/crates/rust-client/src/transaction/request/builder.rs @@ -3,7 +3,7 @@ use alloc::{collections::...
2
2
0
[{"id": "G0", "claim": "The new builder method should drop the `with_` prefix (e.g. `with_script_arg` -> `script_arg`), and ideally the same should apply to the other builder methods.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment on the ...
null
0xMiden__miden-client__1042
0xMiden/miden-client
1,042
defect
86c943590269589a60529016ab066b2442d21e49
e71b03530fbd4d9bee1583a58decb7b0b03fe7b4
feat: introduce enums instead of bool
Fixes #999
diff --git a/bin/miden-cli/src/lib.rs b/bin/miden-cli/src/lib.rs index 4f58dac82c..f1a873f1be 100644 --- a/bin/miden-cli/src/lib.rs +++ b/bin/miden-cli/src/lib.rs @@ -4,7 +4,7 @@ use clap::Parser; use comfy_table::{Attribute, Cell, ContentArrangement, Table, presets}; use errors::CliError; use miden_client::{ - C...
3
3
0
[{"id": "G0", "claim": "The DebugMode doc comment should be rewritten to \"Indicates whether the client is operating in debug mode.\"", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ChainTip variant of BlockRelevance is not always accurate beca...
null
0xMiden__miden-client__1173
0xMiden/miden-client
1,173
defect
bf8722fd65d13f1c1b859e252e3b4dba9b52ae3b
dcbb2d5cac61d05c822cae29f63f2325c9c513f3
feat: record transaction timestamps
closes #1124 This PR adds transaction creation and committed timestamps to `TransactionRecord`. By changing this struct I also updated both the sqlite and web store to improve the way we stored the status. We now store it serialized, along with a couple of booleans for filtering.
diff --git a/CHANGELOG.md b/CHANGELOG.md index e40490ad77..d1857a7eae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ * [BREAKING] Fixed `createP2IDNote` and `createP2IDENote` convenience functions in the Web Client ([#1142](https://github.com/0xMiden/miden-client/pull/1142)). * [BREAKING] Rename `expo...
4
3
2
[{"id": "G0", "claim": "The transactions table should store a status identifier plus the serialized status instead of separate committed/discarded boolean columns, so queries need not extend the table and the two flags can never both be true.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "i...
null
0xMiden__miden-client__1202
0xMiden/miden-client
1,202
defect
16c35fd203223666cba1e3af65afb21439fd143e
bbccf0146aa6eac8fdeca6c2f7640cb7c77f38ac
refactor: RPC errors
Closes #935. Also does some other smaller refactors like changing up some error variants. As long as the node does not return more structured errors (sort of related: https://github.com/0xMiden/miden-node/issues/1106), we can't do without parsing the incoming message and giving it some more context in relation to th...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 59fa708be7..614fa7bdd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ * Store changes after transaction execution no longer require fetching the whole account state ([#1147](https://github.com/0xMiden/miden-client/pull/1147)). * Tracked creation and commi...
4
4
0
[{"id": "G0", "claim": "The variant name `UnsupportedMediaRange` is strange and unclear about what \"media\" refers to, and should be renamed or better justified.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test would read better using `a...
null
0xMiden__miden-client__1272
0xMiden/miden-client
1,272
defect
da19dffd3de64b9f25f4e747f65038a36cdeaf4d
1609997b0656e3f737fce2484868425e64a1bd05
fix: fpi tests
This PR changes the FPI tests so that they use fresh clients when executing the transactions, it also fixes a small bug encountered related to the order of insertions in the Sqlite store.
diff --git a/bin/integration-tests/src/tests/fpi.rs b/bin/integration-tests/src/tests/fpi.rs index f679d84f8a..85430c1569 100644 --- a/bin/integration-tests/src/tests/fpi.rs +++ b/bin/integration-tests/src/tests/fpi.rs @@ -54,9 +54,6 @@ pub async fn test_fpi_execute_program(client_config: ClientConfig) -> Result<()> ...
3
3
1
[{"id": "G0", "claim": "Using ClientConfig::default() overrides the RPC component of the test's config; the new client should keep the same config (e.g. a fresh client built from the same config, with a method on ClientConfig returning a fresh client).", "category": "correctness", "verdict": "supported", "priority": "P...
null
0xMiden__miden-client__1308
0xMiden/miden-client
1,308
defect
95d40ca81b57a399bb4fae7ffb522ecabd4fcc66
fdd83b63e3ba35bf712a8d5746ca6eb4a48671dc
feat: add default address to accounts
Closes #1270
diff --git a/CHANGELOG.md b/CHANGELOG.md index 99f6632de4..c046d7896a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ * Added support for getting specific vault and storage elements from `Store` along with their proofs ([#1164](https://github.com/0xMiden/miden-client/pull/1164)). * Modified the RPC cli...
12
10
2
[{"id": "G0", "claim": "The changelog entry should be phrased in past tense, e.g. 'Added single default address on accounts creation'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment misspells 'refereded' and should read 'Addresses ...
null
0xMiden__miden-client__1362
0xMiden/miden-client
1,362
defect
5ce7067a8c13356a7940372f5da3dc446ab7c702
8c6595ff43d620e6c29235d360e2652f74e21c33
feat: implement missing RPC endpoints
closes #1349
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d837d7d85..f621cb4dce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * Implemented shared source manager for better error reporting ([#1275](https://github.com/0xMiden/miden-client/pull/1275)). * Added `getMapEntries` method to `AccountStorage` in web cl...
12
11
1
[{"id": "G0", "claim": "The CHANGELOG entry should explicitly state which RPC endpoints the PR implements.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `unwrap()` on the Word-to-Asset conversion can panic and should propagate the error with ...
null
0xMiden__miden-client__1421
0xMiden/miden-client
1,421
defect
5d0e65bcbc18e3692d6c4a9d9eec4198848eb29d
73d0a74bbdd178b1d8795f07b30b94afbb3d9fbc
feat: Update Proven Transaction Submission with TX Inputs
## Context We are adding transaction re-execution and validation to the flow of submitting proven transactions. For this reason, the RPC endpoint `SubmitProvenTransaction` now allows a `TransactionInputs` to be optionally provided. This PR updated the client to always provide that `TransactionInputs` in `SubmitPr...
diff --git a/Cargo.lock b/Cargo.lock index 29bb126103..c4bf4f67a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -44,7 +44,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ "cfg-if", - "getrandom 0.3.3", ...
3
3
2
[{"id": "G0", "claim": "It is unresolved whether the mock's submit_proven_transaction should integrate the tx inputs it receives, since the parameter is unused and marked with a TODO.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The transaction_inputs ...
null
0xMiden__miden-client__1438
0xMiden/miden-client
1,438
defect
c39bf551b3fb7b5c6adee9f39d6b10bb60698d5c
0fe19d15368e1ccd802243931ed246113689b8a2
refactor: Clean up `DataStore`
Refactor some interactions with the `DataStore` to optimize its usage, preventing full retrieval on accounts, storages and vaults. Note: partial account insertion and retrieval will be left for a separate PR. https://github.com/0xMiden/miden-client/issues/1515 Depends on https://github.com/0xMiden/miden-base/pull...
diff --git a/.cargo/config.toml b/.cargo/config.toml index 2e07606d52..d68b5a6136 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,5 @@ [target.wasm32-unknown-unknown] rustflags = ['--cfg', 'getrandom_backend="wasm_js"'] + +[resolver] +incompatible-rust-versions = "fallback" diff --git a/CHANGELOG....
5
4
0
[{"id": "G0", "claim": "The added `echo \"Executing: $msrv_cmd\"` debug line in scripts/check-msrv.sh unexpectedly fixed the failing CI job, and the author asks whether the reviewer can think of a possible reason why.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": ...
null
0xMiden__miden-client__1443
0xMiden/miden-client
1,443
defect
949ac868dd42c94b129e9edef32d369315a33938
69c13dc26e6f63f7e9ff44c5df42bd09266293fc
feat(cli): allow new-account to use custom auth components
## Task: Allow CLI to create accounts with non-Falcon auth components ### Status: ✅ Implementation Complete - All Feedback Addressed ### Plan: - [x] Explore the repository structure and understand the codebase - [x] Understand how to identify auth components from packages - [x] Refactor `create_client_account` to con...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b176bdcb..177f964bfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ * Implemented missing RPC endpoints: `/SyncStorageMaps`, `/SyncAccountVault` & `/SyncTransactions` ([#1362](https://github.com/0xMiden/miden-client/pull/1362)). * Updated `submit_proven...
7
6
2
[{"id": "G0", "claim": "The PR only guesses auth components from package/component names and never adds the detected custom auth component; it should detect auth components by their auth_-prefixed procedures as miden-base does and actually add the custom auth component.", "category": "correctness", "verdict": "supporte...
null
0xMiden__miden-client__1452
0xMiden/miden-client
1,452
defect
b9d347f35fd1e10b06e41b2e3378ab09141a19dd
52328cfebc65c42afc4822b9cafb0ef9d9c04301
feat: clean up sync
This PR: - Adds a `TrackedAccounts` table to the IndexedDB store, mainly for parity with the SQLite implementation (before it walked all account states and gathered the specific accounts IDs) - Adds indexes to IndexedDB store based on the ones we added recently on SQLite for faster lookups - Removes `source_manage...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b176bdcb..d55636500c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,8 @@ * [BREAKING] Implemented `AccountFile` in the WebClient ([#1258](https://github.com/0xMiden/miden-client/pull/1258)). * [BREAKING] Added remote key storage and signature requesting to t...
3
2
0
[{"id": "G0", "claim": "Because sync updates are batched, a transaction already committed by previous updates in a chain of state syncs could be treated as discarded by a subsequent update: the transaction is not marked as discarded (the state transition does not happen), but its final account state was indeed being ma...
null
0xMiden__miden-client__1464
0xMiden/miden-client
1,464
defect
8a36d4703e9ab96acb8db764789eb939617bb05d
1efe38421e6a0abdf0719acf5a30e6abd0b2d486
feat: implement home directory
# Overview This PR implements structured file organization by introducing a `.miden` directory for all client configuration and data files, moving away from cluttering the root of the working directory. ## Motivation As described as part of [this issue](https://github.com/0xMiden/miden-client/issues/1366), we ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 212acc7da0..9f4ef20b30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * Started allowing for note ID prefixes in CLI `notes --send` ([#1433](https://github.com/0xMiden/miden-client/pull/1433)). * Refactored note scripts to be pre-loaded into the store ins...
5
4
1
[{"id": "G0", "claim": "The config fields should hold paths relative to the `.miden` directory (so the TOML refers to e.g. `./store.sqlite3` next to the config file) rather than `.miden`-prefixed paths, unless something is missing that makes that wrong.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
0xMiden__miden-client__1465
0xMiden/miden-client
1,465
defect
1afe11504eb1a1b2541f94d7006d8d07cca96e88
6838e36f3d349721575c5d6e779824baa157d6cf
feat: implement global default home directory
# Overview This PR extends the recent [`.miden` directory implementation](https://github.com/0xMiden/miden-client/pull/1464) with added **global configuration support**, allowing users to maintain configuration either locally (current working directory) or globally (home directory). ## Motivation As described ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ff4cad28cf..542d53aedd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,8 @@ * Started allowing for note ID prefixes in CLI `notes --send` ([#1433](https://github.com/0xMiden/miden-client/pull/1433)). * Refactored note scripts to be pre-loaded into the store ins...
9
9
3
[{"id": "G0", "claim": "The troubleshooting note about what the clear command deletes is confusing and potentially misleading; it should state that running the command without flags follows priority (removes the local .miden folder if it exists, otherwise the global one) and that --global specifically targets the globa...
null
0xMiden__miden-client__1499
0xMiden/miden-client
1,499
defect
abd8675a9132b226df9b7d1a08023eac813c67f3
b18aae45ffeaa3627aff4539923485154a205bef
feat: allow setting `tx_prover` with the `ClientBuilder`
Usage example: ```rust use miden_remote_prover_client::remote_prover::tx_prover::RemoteTransactionProver; // Using a remote prover let remote_prover = Arc::new(RemoteTransactionProver::new(...)); let client = ClientBuilder::new() .prover(remote_prover) .build() .await?; ``` The prover can also...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d49ba600ea..c19adef261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ * Refactored note scripts to be pre-loaded into the store instead of providing them through advice inputs ([#1426](https://github.com/0xMiden/miden-client/pull/1426)). * [BREAKING] Refa...
2
1
0
[{"id": "G0", "claim": "The explicit type annotation on the let binding combined with the `as Arc<dyn TransactionProver + Send + Sync>` cast is redundant and should be simplified by dropping the cast, since the compiler infers the trait-object coercion.", "category": "maintainability", "verdict": "supported", "priority...
null
0xMiden__miden-client__1551
0xMiden/miden-client
1,551
defect
e0eb912915b09d4121ec91a79eeb5d10f3cffd9d
7385929d999f626878aefda9c55fe8977e1daee0
feat: add timeout for remote prover
This is a followup of https://github.com/0xMiden/miden-node/pull/1365 . Which adds the with_timeout method to the remote provers. In this PR, I added the --remote-prover-timeout config for the CLI, which sets the timeout for proving requests. For the web-client, I didn't make a change yet. It currently implements...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5915c7abd5..a6dbd3ef0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.13.0 (TBD) + +* Added the `--remote-prover-timeout` configuration to the CLI ([#1551](https://github.com/0xMiden/miden-client/pull/1551)). + ## 0.12.4 (TBD) * Fixed...
4
3
0
[{"id": "G0", "claim": "The web client's remote-prover timeout should be configurable rather than a fixed 20 seconds, since the web is unpredictable.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The u64::try_from(timeout.as_millis()) conversion in se...
null
0xMiden__miden-client__1556
0xMiden/miden-client
1,556
defect
f01f37a9acafe9bb79da36160a50a6deadbd5cff
6a0ea20928ff0bc59f5863b8e580b0409606d4ab
Implementation: Address remaining feedback for #1527
Implements https://github.com/0xMiden/miden-client/issues/1548, by addressing remaining feedback for https://github.com/0xMiden/miden-client/pull/1527. **Summary** - Switched Client::build_wallet_id to derive the auth component directly from PublicKey::auth_scheme, so callers no longer pass a raw auth_scheme_i...
diff --git a/CHANGELOG.md b/CHANGELOG.md index efe964bdeb..26c59c1a9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.13.0 (TBD) + +* Improved auth scheme handling across the Rust and web clients (typed `build_wallet_id`, unified transaction tests, new shared `getPublicKeyAsWord` bindi...
3
2
0
[{"id": "G0", "claim": "The newly exported `AuthScheme as AuthSchemeId` alias in the auth module seems unnecessary and should be removed unless there is a reason to keep it.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Only `get_public_key_as_wo...
null
0xMiden__miden-client__1567
0xMiden/miden-client
1,567
defect
254ab5026001ca7174b95674a5b0c7bf9d600e59
68b7df98e81a23aae9eb1af12cf3051d9bf06db8
fix: sync after rollback
This PR fixes a bug in the account rollback on sync state. Rollbacking an account due to a discarded transaction means that the corresponding entry on the accounts table is deleted, indexed by the account commitment defined as the final account state of the transaction. For the sync state, all pending and discard...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a94ee1d65..f67aa8bef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,12 @@ # Changelog -## 0.12.5 (2025-11-28) +## 0.12.5 (2025-12-01) * Fixed a bug where insertions in the `Addresses` table in the IndexedDB Store resulted in the `id` and `address` fields ...
1
1
0
[{"id": "G0", "claim": "The uncommitted-transactions query would read better as \"{QUERY} WHERE tx.status_variant = {}\" instead of \"IN ({})\" for the single status variant (an optional nit).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
0xMiden__miden-client__1579
0xMiden/miden-client
1,579
defect
51edd5aa28698eaf4944d931d5b34bbbaae51db0
c4c760f73153e5ad8ad65af667d418787b16219d
refactor: Use import-note on fetch notes, remove note transport update
Simplifies fetching notes from the transport layer: - calls `import_note()` on all fetched notes; - removes the "note transport update" and its application which worked similarly to the sync-state. Main reason is that the `import_note()` exists in `Client` and is not accessible from the store. Related and possible...
diff --git a/crates/rust-client/src/note_transport/mod.rs b/crates/rust-client/src/note_transport/mod.rs index 6cd5964119..c60c8f5bd2 100644 --- a/crates/rust-client/src/note_transport/mod.rs +++ b/crates/rust-client/src/note_transport/mod.rs @@ -4,19 +4,18 @@ pub mod generated; pub mod grpc; use alloc::boxed::Box;...
4
4
3
[{"id": "G0", "claim": "The pull request's changed note-fetching behaviour should be tested in the wallet before merging.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The changelog should be updated for this change.", "category": "documentation", "ver...
null
0xMiden__miden-client__1608
0xMiden/miden-client
1,608
defect
d8dee63e64e7fc9223e7dbc51dbd4c2669e05b85
114abec2c9f8252c2c1ca78825e51d1cd4c710c8
feat: add account id to keystore
# Description When adding a secret key to the store, we'd like to also have a way to map an account id to a secret key, this PR handles that functionality: Given an account id, now we can retrieve the public key commitments of an account, and then use said commitments to retrieve a secret key (this last step is cu...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a35c0930f..bb0aac52cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,9 @@ * [BREAKING] Introduced named storage slots, changed `FilesystemKeystore` to not be generic over RNG ([#1626](https://github.com/0xMiden/miden-client/pull/1626)). * Added `submit_new_tr...
19
15
1
[{"id": "G0", "claim": "The debug leftover file entries (./test/newFile.2.ts, ./test/newFile.1.ts, ./test/newFile.ts) should be removed from the tsconfig files list.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added #[allow(unused_assignm...
null
0xMiden__miden-client__1616
0xMiden/miden-client
1,616
defect
0d055910883e1b82eed11f7369d2651f99891a67
1386aefeb1c7762a59ede78bd5290a4b9dd565b7
chore: remove unnecesary sync when getting FPI historical value
[Now that the node is able to retrieve the requested account state from a specific block, rather than from the latest block](https://github.com/0xMiden/miden-node/issues/1303), we can remove a needless sync from the client on `retrieve_foreign_account_inputs`. Closes https://github.com/0xMiden/miden-client/issues/15...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d758e11f1b..d38422b4bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ * Added RPC limit handling for `sync_nullifiers` endpoint ([#1590](https://github.com/0xMiden/miden-client/pull/1590)). * Added a convenience function `fromBech32` to turn a bech32 stri...
7
6
0
[{"id": "G0", "claim": "The CHANGELOG entry should reference the renamed method as `NodeRpcClient::get_account_proofs` / `NodeRpcClient::get_account_proof` instead of naming the method in prose.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The d...
null
0xMiden__miden-client__1617
0xMiden/miden-client
1,617
defect
62b4ec27f8c4ed7db9fae32582e19d587b71cf0a
602a4b7e3fe97c56ce1dcb5f2425a73708077eea
refactor: batch note request call to rpc_api
Closes #1596
diff --git a/crates/rust-client/src/note/import.rs b/crates/rust-client/src/note/import.rs index 1640dba963..92293a8552 100644 --- a/crates/rust-client/src/note/import.rs +++ b/crates/rust-client/src/note/import.rs @@ -8,7 +8,9 @@ //! //! For more specific information on how the process is performed, refer to the doc...
9
8
1
[{"id": "G0", "claim": "The tag-insertion/upsert work should be done once at the end instead of repeated for every note-file type.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "import_notes could take a slice or iterator instead of Vec<NoteFile...
null
0xMiden__miden-client__1622
0xMiden/miden-client
1,622
defect
f33a02e70461e0c235501e2c81c0128fb5f030aa
ba77a391da0d4437fb585e6185ad26f2a6b0c7d5
feat: add submit_new_transaction_with_prover
closes #1502
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d58de47e7..ea42dc809a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ * [BREAKING] Refactored `NetworkId` to allow custom networks ([#1612](https://github.com/0xMiden/miden-client/pull/1612)). * [BREAKING] Removed `toBech32Custom` and implemented custom i...
6
5
2
[{"id": "G0", "claim": "The new submitNewTransactionWithProver method should also be covered by a WebClient test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The WebClient worker path may need adaptations (worker message handling) for submitNewTransa...
null
0xMiden__miden-client__1624
0xMiden/miden-client
1,624
defect
f33a02e70461e0c235501e2c81c0128fb5f030aa
ae4110da020042487eb055b2165069587c1e94f3
refactor: input note authentication deduced by client
Replace logic for adding authenticated input notes in a Transaction. User no longer provides the `NoteID`s of the authenticated `note` he wants to use, but rather send the `Note` directly (being authenticated or not), and let the `Client` decide if the note passed is verified. Note: most test cases have a new step w...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d58de47e7..d2c41c0e74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,8 @@ * [BREAKING] Renamed `NodeRpcClient::get_account_proofs` to `NodeRpcClient::get_account_proof` & added `account_state` parameter (block at which we want to retrieve the proof) ([#1616](h...
18
13
3
[{"id": "G0", "claim": "The two steps of retaining authenticated note records and then collecting their IDs can probably be done in one step.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten filter_map excludes every note (each note's id is in ...
null
0xMiden__miden-client__1712
0xMiden/miden-client
1,712
defect
3edaa4e8aac9e917516834b71bf8171070264d27
888ea487db32338acf1ae1185922a98f11e3a99b
refactor: deprecate `Client` `new` method
Deprecate (remove) `Client::new()` method, as it shares the same functionality as `ClientBuilder`, rendering it useless. Also reworked `ClientBuilder` to be `no_std` compatible by removing the `From<FilesystemKeyStore>` trait bound and `filesystem_keystore()` method, enabling web-client to use the builder directly ...
diff --git a/bin/miden-cli/tests/cli.rs b/bin/miden-cli/tests/cli.rs index a0d9ba9fbb..54631a88a7 100644 --- a/bin/miden-cli/tests/cli.rs +++ b/bin/miden-cli/tests/cli.rs @@ -10,6 +10,7 @@ use assert_cmd::cargo::cargo_bin_cmd; use miden_client::account::{AccountId, AccountStorageMode}; use miden_client::address::Addr...
15
14
2
[{"id": "G0", "claim": "A better option than storing a NetworkConfig would be constructors like `ClientBuilder::for_testnet()` that set the defaults (including the devnet/testnet prover URLs and the testnet note transport layer) immediately.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "in...
null
0xMiden__miden-client__1715
0xMiden/miden-client
1,715
defect
0a5add565d1388f77cd182f3639c16aa8f7ec674
912732b584fc0b4ea0e3ad3f6a8e9f0d8443eaaf
chore: expose more info on negotiation error
This PR adds: - Metadata for the content negotiation error on the client (shows genesis commitment and vresion) - A mechanism for connecting without injecting accept header - Implements the status endpoint on `GrpcClient` A natural next step would be to catch the gRPC accept header error, query the node and sho...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ce5ac9783..c5855e863a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ * [BREAKING] Upgraded to protocol 0.13: exposed and aligned note-related structs to WebClient; `NoteTag` and `NoteAttachment` APIs updated renamed `NoteTag.fromAccountId` to `withAccount...
1
1
0
[{"id": "G0", "claim": "Add a comment explaining why the WASM `new_client_without_accept_header` is declared `async` even though asynchronicity is not required.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
0xMiden__miden-client__1724
0xMiden/miden-client
1,724
defect
f797f59c932af23deeaccc80076c934a218b0b4f
ad4d0692e0dae5f406993e6a3515cfd4ba569b9a
feat: fetch RPC limits from the node
Closes https://github.com/0xMiden/miden-client/issues/1597 This PR updates the `GrpcClient` to fetch the RPC limits from the node `GetLimits` endpoint instead of using hardcoded values.
diff --git a/crates/rust-client/src/lib.rs b/crates/rust-client/src/lib.rs index feda3b5342..1c80e7be8b 100644 --- a/crates/rust-client/src/lib.rs +++ b/crates/rust-client/src/lib.rs @@ -315,7 +315,6 @@ use rpc::NodeRpcClient; use store::Store; use crate::note_transport::{NoteTransportClient, init_note_transport_cu...
7
6
2
[{"id": "G0", "claim": "The `since = \"0.10.0\"` version in the `#[deprecated]` attributes added for the limit constants is wrong.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new limits module should live under `rpc::domain` rather than dir...
null
0xMiden__miden-client__1737
0xMiden/miden-client
1,737
defect
25656df505cc5e9d5f484a638b4d6a40fab0aa9f
1e64dd355c0fe788374a7b033324e0f06c4d306d
feat: persist rpc limits
This PR is a follow-up from https://github.com/0xMiden/miden-client/pull/1724. Updates the RPC limits to be persisted in the store and retrieved on client initialization by the `ClientBuilder`. The builder sets the limits on the `GrpcClient` and they are kept in-memory. Then, during execution, the `GrpcClient` i...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ca7d2e3f25..9cdac8dbbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Enhancements -* Updated the `GrpcClient` to fetch the RPC limits from the node ([#1724](https://github.com/0xMiden/miden-client/pull/1724)). +* Updated the `GrpcClient` to fetch th...
7
4
0
[{"id": "G0", "claim": "Having set_rpc_limits on the NodeRpcClient trait feels wrong because it is caching-related and not a request; it should perhaps be done in the implementation as part of get_limits, or the caching should move to the client.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": ...
null
0xMiden__miden-client__1756
0xMiden/miden-client
1,756
defect
f4472f327373a4eb1579b59502f29fb123e55f6d
f2e75f8f8d4fb96e82eed59dfb15dd7335b1b092
feat: opt-out nullifiers sync
closes https://github.com/0xMiden/miden-client/issues/1753 This PR makes the nullifiers sync optional by adding a boolean `sync_nullifiers` argument on the `SyncState` component.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1665e0f18d..90f3f2ac48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * Added `--rpc-status` flag to `miden-client info` command to display RPC node status information including node version, genesis commitment, store status, and block producer status; als...
3
3
2
[{"id": "G0", "claim": "Nullifier sync should be enabled by default (with a method to disable it) rather than passed as a `StateSync::new` constructor argument.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new `sync_nullifiers` parameter doc should...
null
0xMiden__miden-client__1772
0xMiden/miden-client
1,772
defect
73e100a82f3d886ed887315423db9c1fb0e8a37f
8b09bf667d1241ed9bc32843d8307d6a1a8112de
chore(note-transport): add comprehensive transport tests
## Bug (Not Addressed, to be followed up on) `fetch_transport_notes()` is setting `after_block_num = sync_height` when importing notes received via the transport layer. This value is passed through `import_notes` → `import_note_records_by_details` → `check_expected_notes`, which uses it as the **starting block**...
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index be61f973db..a5930f1457 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -29,7 +29,7 @@ jobs: - name: Ensure stable toolchain is installed run: rustup toolchain install stable --profile minimal - ...
3
1
1
[{"id": "G0", "claim": "The client should not scan the whole chain from block 0 when importing transport-fetched notes, because searching by tag from the start of the chain will be highly inefficient (more so for all imported notes); the mismatch between block-based client sync and timestamp-based transport sync needs ...
null
0xMiden__miden-client__1789
0xMiden/miden-client
1,789
defect
87075542bb4236b71e58f9da1acb41e5ea254c42
0726cdd550f1483c8e5e3568326c436253bb6bcf
fix(sync): always persist MMR authentication nodes during state sync
CLOSES #1788 ## Summary - Fix a bug where MMR authentication nodes were silently dropped during state sync when a block had no relevant notes and was not the chain tip (include_block = false), causing PartialBlockchainNodeNotFound / deserialization errors when later executing transactions - Filter undefined ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ebdab6def8..4fcd762548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.13.2 (TBD) + +* [FIX][web] Fixed transaction execution failures after reopening a browser extension by always persisting MMR authentication nodes during sync, even for ...
3
2
1
[{"id": "G0", "claim": "The new comment's premise is wrong: because there are multiple sync loops but the updates are all applied at once and atomically, missing nodes should not happen, so the 'verify that all requested nodes were found' comment describes a scenario that cannot occur (the defensive change itself is fi...
null
0xMiden__miden-client__1806
0xMiden/miden-client
1,806
defect
3401a97bd7df00f7a1b2113fd4b9658346de1984
e2af4921cae024a80320cd70c8539e91a32245c9
Implement NTX FPI integration test
This PR implements the integration test for the network transaction which performs an FPI call during the network note consumption. Closes: https://github.com/0xMiden/miden-client/issues/1714
diff --git a/Cargo.lock b/Cargo.lock index 611e083429..85e45c7b1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,9 +140,9 @@ dependencies = [ [[package]] name = "arc-swap" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ded5f9a03ac8f24d1b8a2510...
8
6
3
[{"id": "G0", "claim": "The doc comment should read 'replaced by any account' instead of 'replaced with some account ID', and 'In order' instead of 'On order'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since deploy_foreign_account internally ...
null
0xMiden__miden-client__1817
0xMiden/miden-client
1,817
defect
5b94872d227833248005bb04a4d59fda4b6b3744
3d2479745c94d82a135c4ab194f18b4adafd24e9
fix: include Partial states in `NoteFilter::Unspent` for output notes
The Unspent filter for output notes was missing `ExpectedPartial` and `CommittedPartial` states. This caused partial output notes to be excluded from sync operations - they wouldn't receive inclusion proof updates and would remain stuck in `Expected` state instead of transitioning to `CommittedPartial`. Since parti...
diff --git a/crates/idxdb-store/src/note/mod.rs b/crates/idxdb-store/src/note/mod.rs index ef5c9b3303..7ed5cf6867 100644 --- a/crates/idxdb-store/src/note/mod.rs +++ b/crates/idxdb-store/src/note/mod.rs @@ -202,7 +202,9 @@ impl NoteFilterExt for NoteFilter { OutputNoteState::STATE_EXPECTED_PART...
2
2
1
[{"id": "G0", "claim": "The PR should be tested with a more real-world scenario — leveraging MockChain / a test client that executes a transaction and then syncs — to check that sync actually receives inclusion proofs of partial notes, preferably before merging, instead of only asserting on the SQL condition string.", ...
null
0xMiden__miden-client__1848
0xMiden/miden-client
1,848
defect
51f07604a4d9eb405607ca1ed98c7a4e52ed4cf2
9b3310ea58711a343e473e65a7d6d333e201c48f
refactor: improve `CliConfig` / `CliClient` constructor naming
Renames constructors for better discoverability and idiomatic naming: ...
diff --git a/bin/miden-cli/src/commands/account.rs b/bin/miden-cli/src/commands/account.rs index e0512f98e6..0de392ea64 100644 --- a/bin/miden-cli/src/commands/account.rs +++ b/bin/miden-cli/src/commands/account.rs @@ -47,7 +47,7 @@ pub struct AccountCmd { impl AccountCmd { pub async fn execute<AUTH>(&self, mut...
3
2
2
[{"id": "G0", "claim": "The doc comments of `is_local()` and `is_global()` in `bin/miden-cli/src/config.rs` still reference `CliConfig::from_system` after the rename and should be updated to `CliConfig::load` for consistency.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
0xMiden__miden-client__1876
0xMiden/miden-client
1,876
defect
6cfc289ae28c2425c8ee1ed4a4770461e543e4ec
c0d6d822a9198d6d3c25c1d26fa4eb09ab5009fd
fix: prevent GetAccount RPC spam and PrematureCommitError during syncState
Closes #1877 Slack thread: https://midengroup.slack.com/archives/C096TBZM686/p1772976097905929 ## Problem After importing a public account with on-chain history and calling `syncState()`, the client fires thousands of identical `/GetAccount` RPC calls and eventually crashes with a `PrematureCommitError`. Two dis...
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index a5930f1457..fcd06fbf1c 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -28,8 +28,10 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Ensure stable toolchain is installed run: rustup toolchain ins...
5
4
1
[{"id": "G0", "claim": "Remove the \"Before/after the fix...\" explanatory comments (docstring narrative and inline comparison comments) from the new test's documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changes to IndexedDB may...
null
0xMiden__miden-client__1879
0xMiden/miden-client
1,879
defect
dcb0915384d2db1b13fca75506b2bf9af3cc1d98
5ee9bb2d24eb401a1c07b9940a95f2417c0e90ab
chore: address pending comments
Note, regarding https://github.com/0xMiden/miden-client/pull/1798#discussion_r2885214021: This fallback is necessary and should be kept. Since [miden-base PR #1973](https://github.com/0xMiden/miden-base/pull/1973) changed `TransactionHeader.input_notes` from `Vec<Nullifier>` to `InputNotes<InputNoteCommitment>`, the...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a29637bec8..a7fd347d12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ * [BREAKING][type][web] `AuthSecretKey.getRpoFalcon512SecretKeyAsFelts()` and `getEcdsaK256KeccakSecretKeyAsFelts()` now return `Result<Vec<Felt>, JsValue>` instead of panicking on key t...
4
2
0
[{"id": "G0", "claim": "Replace the `issues/XXX` placeholder in the build.rs comment with the actual issue number (or drop the dead reference).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer cannot tell what the CHANGELOG.md change do...
null
0xMiden__miden-client__1909
0xMiden/miden-client
1,909
defect
d777775ab07a3b7b2a7b7eaba205db1c84e2e4a9
86325709279c7e4c9f5720c20c23fb0b47aac04e
fix: handle NTL/sync race for private notes at high sync frequency
Closes #1910 ## Problem When a client syncs frequently (e.g. every 3 seconds, as in the Miden Wallet browser extension), private notes delivered via the Note Transport Layer (NTL) can get permanently stuck in `Expected` state and never transition to `Committed`. ### Root cause `fetch_transport_notes` sets `after_bl...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e3aac66ab5..977e55b2e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.13.4 (TBD) + +* [FIX][all] Fixed private notes delivered via NTL getting stuck as `Expected` when syncing at high frequency (e.g. every 3s). The on-chain commitment cou...
8
8
1
[{"id": "G0", "claim": "The sync loop's failure branches (failed inclusion-proof application and failed block-header verification) should log at error! instead of info!, per the reviewer's suggestion blocks.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", ...
null
0xMiden__miden-client__1924
0xMiden/miden-client
1,924
defect
b0906b4d203769b492241919afcda8393d2977de
5534c1fdf957ac43bee26a66e88a024ee3057801
fix: enable storage map key filtering in get_account RPC
## Summary While reviewing #1917 I noticed that requesting specific storage map keys via [`AccountStorageRequirements`](https://github.com/0xMiden/miden-client/blob/b0906b4d203769b492241919afcda8393d2977de/crates/rust-client/src/rpc/domain/account.rs#L649) had no effect. The response always included all entries in the...
diff --git a/bin/integration-tests/src/tests/client.rs b/bin/integration-tests/src/tests/client.rs index 5251436b54..6fb243c755 100644 --- a/bin/integration-tests/src/tests/client.rs +++ b/bin/integration-tests/src/tests/client.rs @@ -2,8 +2,10 @@ use std::sync::Arc; use std::time::Duration; use anyhow::{Context, R...
2
2
1
[{"id": "G0", "claim": "Document — at the user-facing API level, as igamigo clarified — that when no specific keys are requested for a slot all entries are requested, and that the node may still respond with `too_many_entries` if the map exceeds the response limit.", "category": "documentation", "verdict": "supported",...
null
0xMiden__miden-client__1939
0xMiden/miden-client
1,939
defect
2c97a3ef974a3ac1674f95a2c0f01d33f71c1d2a
bc0b3172f02ef575685f700e6bb393b0ed2c37e0
refactor: change env-var for network usage
Modify usage of env vars to better handle different type of networks (`testnet`, `devnet`, `localhost`). Closes #1937
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e2051607b..d8b66a60d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ * Removed `SmtForest` empty-root workaround in `AccountSmtForest::safe_pop_smts`, now that the upstream fix has landed in miden-crypto v0.19.7 ([#1864](https://github.com/0xMiden/miden-c...
13
12
1
[{"id": "G0", "claim": "Naming the testnet note transport constant NOTE_TRANSPORT_DEFAULT_ENDPOINT while the devnet one is NOTE_TRANSPORT_DEVNET_ENDPOINT sounds off.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The network -> URL resolutions a...
null
0xMiden__miden-client__1960
0xMiden/miden-client
1,960
defect
3fc5c069dd7a1dcfed0b6c90089fcdd679075c5a
0bc9fe603cfee3d8529b289b660583690cfbfbd4
feat: add vault retrieval to get_account_proof
Adds `known_vault_commitment` parameter to `get_account_proof` to support requesting asset vault data. When provided, the node returns vault details only if the current vault root differs from the given commitment. Falls back to `sync_account_vault` for accounts with too many assets. Closes #1412
diff --git a/bin/integration-tests/src/tests/client.rs b/bin/integration-tests/src/tests/client.rs index 9507bfd607..77232f81bc 100644 --- a/bin/integration-tests/src/tests/client.rs +++ b/bin/integration-tests/src/tests/client.rs @@ -45,7 +45,7 @@ use miden_client::transaction::{ TransactionRequestBuilder, T...
7
7
3
[{"id": "G0", "claim": "A test covering the web-client (WASM) get_account_proof wrapper would be nice to add, though not necessarily in this PR.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The code passes None here, but the store may already hold a v...
null
0xMiden__miden-client__1970
0xMiden/miden-client
1,970
defect
3fc5c069dd7a1dcfed0b6c90089fcdd679075c5a
563b9ee6828220018f43bad6dfa98b426492a22e
refactor: make NTL client lazy
The CLI was slow for local commands (like `miden-client account`), so I took a look as to why and realized the NTL client was not being lazily initialized. This PR uses a similar pattern to the general gRPC client to make it connect lazily and not on initialization.
diff --git a/CHANGELOG.md b/CHANGELOG.md index ed1c57352d..8327f0e0a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Enhancements +* Made `GrpcNoteTransportClient` connection lazy, deferring it to the first RPC call instead of connecting eagerly at client initialization ([#1970](https://github.co...
5
4
0
[{"id": "G0", "claim": "The module-level doc comment on crates/rust-client/src/note_transport/grpc.rs should be removed.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since both target_arch branches call the identical GrpcNoteTransportClient::new, ...
null
0xMiden__miden-client__1972
0xMiden/miden-client
1,972
defect
7919f9e79e38c7d4715c294912b609176aefb4a9
f5b6653ffb196fffee67540b94cd95fe34ceede3
chore: migrate to protocol 0.14.3
Updates the stack to `protocol` 0.14.3 and tests against node 0.14.3 as well.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1066fac060..f300cb509a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ * Removed miden-cli template TOMLs in favor of direct serialization into packages ([#1879](https://github.com/0xMiden/miden-client/pull/1879)). * [BREAKING] Updated `SyncState` to fetch...
2
2
1
[{"id": "G0", "claim": "The CHANGELOG entry for the miden-node crates v0.14.3 upgrade should be marked as breaking.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The changelog release heading could have its date updated from TBD now.", "category"...
null
0xMiden__miden-client__1973
0xMiden/miden-client
1,973
defect
7919f9e79e38c7d4715c294912b609176aefb4a9
d70af993349774608a2178716953df327a7289b2
feat: track consumer on notes consumed externally
Closes https://github.com/0xMiden/miden-client/issues/1884 Track the consuming account on externally-consumed notes during sync, so `InputNoteReader` can find notes consumed by tracked accounts whose transactions were submitted by other client instances. During sync, `TransactionUpdateTracker` now builds a `nulli...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1066fac060..2bda3bbcb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ * Added automatic registration of note scripts required by network transactions (NTX). The client now checks the node's script registry before submitting a transaction and registers any ...
2
1
0
[{"id": "G0", "claim": "Passing NullifierUpdate and a separate optional external_consumer_account to apply_nullifiers_state_transitions is confusing, and a follow-up issue or PR should refactor this (and possibly related code) to make it cleaner.", "category": "design", "verdict": "supported", "priority": "P2", "scope"...
null
0xMiden__miden-client__1991
0xMiden/miden-client
1,991
defect
8f17856500455ab15a8f4cc27e0234b7e59c4161
0f97cd6095a2d0eb8aac8d8c516466f8b0f26fcf
feat(rpc): block finality and `include_proof`
- Exposes `include_proof` in `GetBlockHeaderByNumber` - Exposes target setting for `SyncChainMmr` - Minor refactors (moves an enum to a different module, etc.) Closes #1989 Closes #1988
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7916ccd5..d7af056f68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## 0.15.0 (TBD) +### Changes + +* [BREAKING][param][rust] `NodeRpcClient::get_block_by_number()` now takes an `include_proof: bool` parameter to control whether the block proof is inc...
2
2
1
[{"id": "G0", "claim": "Move the SyncTarget-to-UpperBound match in get_chain_mmr into a `From` impl.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It may be a good idea to test proof retrieval by adding a check inside of `test_unused_rpc_api`."...
null
0xMiden__miden-client__1996
0xMiden/miden-client
1,996
defect
c47d8a090b3360e76ee6a31105d6342315458d55
d21562af972defbadfcd3cde3e2e010ac4904864
feat: build accounts with storage schema commitment by default
closes: https://github.com/0xMiden/miden-client/issues/1805 @igamigo can you pls check this
diff --git a/bin/integration-tests/src/tests/client.rs b/bin/integration-tests/src/tests/client.rs index 77232f81bc..562bc20390 100644 --- a/bin/integration-tests/src/tests/client.rs +++ b/bin/integration-tests/src/tests/client.rs @@ -6,6 +6,7 @@ use miden_client::account::component::{AccountComponent, AccountComponent...
2
2
1
[{"id": "G0", "claim": "The extra `#[cfg(all(test, feature = \"testing\"))]` gate added to the state_sync tests module should be dropped since `crate::testing`/`test_utils` imports are not used, and it is reverted.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1...
null
0xMiden__miden-client__2035
0xMiden/miden-client
2,035
defect
e1d86841fc4a1fca8d31790c7e93895548c5ac08
517ece389c3fe01585229bd31d62bb4ca3bd37f5
feat: prune MMR auth nodes for blocks which notes have all been consumed
## Description After each sync, the client now identifies tracked blocks whose input notes have all been consumed and prunes their MMR authentication nodes from storage. Previously, `partial_blockchain_nodes` grew unboundedly because nodes were inserted but never removed. The pruning is integrated into [prune_irr...
diff --git a/crates/idxdb-store/src/chain_data/js_bindings.rs b/crates/idxdb-store/src/chain_data/js_bindings.rs index 6822a04365..c564109977 100644 --- a/crates/idxdb-store/src/chain_data/js_bindings.rs +++ b/crates/idxdb-store/src/chain_data/js_bindings.rs @@ -60,5 +60,9 @@ extern "C" { // ======================...
3
2
0
[{"id": "G0", "claim": "Consider keeping the same `prune_irrelevant_blocks` function signature and re-creating the `PartialMmr` internally so as to keep the store API simpler.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the API keeps untracking and p...
null
0xMiden__miden-client__2047
0xMiden/miden-client
2,047
defect
30b0ee20bfd2b30a36cfa81f3d451ed7ff7782e4
56136059fab41990049bff69be3f906bace300c6
refactor: make `Client` source manager explicit
As a continuation of #2006, this PR takes the approach of no longer using an implicit `SourceManager` inside the client, and instead default to not using one at all. The user now need to explicitly set the `SourceManager` to be used by the client through the `source_manager()` `ClientBuilder` method: ```rust Clien...
diff --git a/CHANGELOG.md b/CHANGELOG.md index dcb6742e17..d5241e8d38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## 0.14.1 (2026-04-14) +### Changes + +* [BREAKING][type][rust,web] `Client::code_builder()` now returns `Option<CodeBuilder>` instead of `CodeBuilder`. `Client::source_manager()` now...
1
1
1
[{"id": "G0", "claim": "The reviewers favour not making users deal with a low-level setting: instead of the breaking explicit-source-manager design (no default, `Option`-returning accessors and `MissingSourceManager`), the client builder should use a default source manager by default and expose an optional `ClientBuild...
null
0xMiden__miden-client__2053
0xMiden/miden-client
2,053
defect
e1d86841fc4a1fca8d31790c7e93895548c5ac08
6703b523ab56946229ea23fd5512904b6ee86f50
refactor: track PartialMmr in Client to avoid rebuilding it from store
## Summary The `Client` now keeps the `PartialMmr` in memory and mutates it in place across sync, import, and prune operations. The store is only responsible for persisting the updated state to the DB. If the cache is empty we rebuild it from the store on the next use; otherwise we reuse the cached copy and keep it ...
diff --git a/crates/idxdb-store/src/chain_data/js_bindings.rs b/crates/idxdb-store/src/chain_data/js_bindings.rs index 6822a04365..c564109977 100644 --- a/crates/idxdb-store/src/chain_data/js_bindings.rs +++ b/crates/idxdb-store/src/chain_data/js_bindings.rs @@ -60,5 +60,9 @@ extern "C" { // ======================...
1
1
1
[{"id": "G0", "claim": "The error the removed FIXME warned about (building the MMR only once outside the loop, possibly issue #1205) may still occur under the PR's build-once approach; the author could not replicate it at first, but then the integration tests replicated it.", "category": "correctness", "verdict": "supp...
null
0xMiden__miden-client__2091
0xMiden/miden-client
2,091
defect
e5cfabd9bcf141e11475dfba00eb5cd880da09ff
ee50832e34ec4c6fca0d428929fb7cd0eba92fab
refactor(sync): split `sync_state` into `sync_chain` and `sync_note_transport` for granularity
Splits `sync_state` into two functions that can be called independently. Users that want to sync to the tip of the chain but don't care about the NTL can now call `sync_chain`, or if user wants to sync the NTL directly they could call `sync_note_transport`. Closes (Partially) 0xMiden/web-sdk#92
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d395c9ca2..a058201749 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Changes +* [BREAKING][behavior][rust,web] `Client::sync_state()` no longer errors on Note Transport Layer fetch failures; the failure is surfaced via the new `SyncSummary::ntl_erro...
3
1
1
[{"id": "G0", "claim": "The new ntl_error field should carry the typed NoteTransportError directly rather than a full String.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The sync function's documentation should be updated to cover the new continue-des...
null
0xMiden__miden-client__2100
0xMiden/miden-client
2,100
defect
dca43cb42e0519b2c46c402beaa99e0403b79c3c
9e0d911e4c7cd4eca9e7fec587aa748d47ebdf73
feat: remove peaks from blocks table
Closes https://github.com/0xMiden/miden-client/issues/2055 Closes https://github.com/0xMiden/miden-client/issues/2126 This PR removes the `partial_blockchain_peaks` column from the `block_headers` table. Instead, we store the mmr peaks in the `sync_state` table, alongside the current sync height.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d117e0594..d9655d1bce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,8 @@ * Made new-account construction use merged storage schema commitment (`build_with_schema_commitment`), re-exported `AccountBuilderSchemaCommitmentExt`, added WASM `buildWithoutSchemaComm...
5
3
0
[{"id": "G0", "claim": "Reconsider whether the added debug_assert_eq! comparing the persisted peaks' forest to the requested ref_block should be left in build_partial_mmr_with_paths.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider also persisting...
null
0xMiden__miden-client__2113
0xMiden/miden-client
2,113
defect
986c567119628c5cc4c6580706277593b7eedd65
0b130911d93905b771bf7a53d5be1d0ce3d31629
fix: create input note on erased output note detection
Closes https://github.com/0xMiden/miden-client/issues/1971 This PR changes the sync so now the `InputNoteReader` can find consumed network notes. It will only detect them if the note has been submitted by the client, meaning the output note is already present in the store. A deeper (and breaking) change would be nee...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e09ac8f104..79fdf0031a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.14.5 (2026-04-21) + +### Fixes + +* [FIX] When the client submits a network note and it is also tracking the recipient network account, now the `InputNoteReader` detec...
10
8
2
[{"id": "G0", "claim": "Asks in which case the `Note::try_from` conversion of a stored output note can fail and whether the error should be returned instead of silently skipping the input-note insertion.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
0xMiden__miden-client__2115
0xMiden/miden-client
2,115
defect
dca43cb42e0519b2c46c402beaa99e0403b79c3c
0507db09686d47026399a1c1abc82e7adf376851
feat: split `address add` in two
Split current `address add` into two parts: - `encode`: receives account id, interface & tag length, outputting `bench32` encoded address to then `add`. - `add`: refactored to only take account id and `bench32` encoded address, to keep track of it. Closes #1432
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d117e0594..efed3014fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * [BREAKING][param][rust] `NodeRpcClient::get_block_by_number()` now takes an `include_proof: bool` parameter to control whether the block proof is included in the response. ([#1991](https...
4
4
2
[{"id": "G0", "claim": "The address validation added to `address add` should probably also be applied in the `remove_address` command.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added covering the network-mismatch rejection in `...
null
0xMiden__miden-client__2132
0xMiden/miden-client
2,132
defect
bf6bb42c6a2e302195f2f838d90a3868bd8f5ab5
7f9418256c7889eaa3630c57fe9e0d4c827ed5c7
feat: decouple `StateSync` from `Store`
Closes #2038 Closes #2102 --- > [!NOTE] > The web-sdk parts of this PR have been migrated to https://github.com/0xMiden/web-sdk/pull/23 as part of the web-sdk split (#1992 / #2135). The miden-client side stays here.
diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c6588788..5c037cdafa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * [BREAKING][param][rust] `NodeRpcClient::sync_chain_mmr()` replaced `block_to: Option<BlockNumber>` with `upper_bound: SyncTarget` to match the RPC definition. Use `SyncTarget::CommittedC...
15
14
4
[{"id": "G0", "claim": "The PR carries web-sdk-related (crates/idxdb-store) changes that have been migrated to web-sdk#23, so the web-sdk file changes should be dropped from this PR.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "build_sync_input loads t...
null
0xMiden__miden-client__2158
0xMiden/miden-client
2,158
defect
bf6bb42c6a2e302195f2f838d90a3868bd8f5ab5
5dc6dd2d576742a2d7f5147ee4d6825ccd299b00
fix(cli): show external account
https://github.com/0xMiden/miden-client/pull/1985 introduced an error on the CLI `show` command when the account is not locally tracked. This PR changes the CLI so when that the account details are accessed from the fetched account details storage, instead of accessing the client's store. This was causing the `show`...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c6588788..5d44579be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ * [FEATURE][rust] Added `GrpcClient::with_bearer_auth(token)` to attach an `authorization: Bearer <token>` header to every outbound gRPC call, for use behind authenticating gateways. T...
3
2
0
[{"id": "G0", "claim": "The `pub` visibility on `show_account` (not introduced by this PR) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Instead of propagating the error from get_token_metadata_from_account, token_symbol sh...
null
0xMiden__miden-client__2170
0xMiden/miden-client
2,170
defect
6e98c10cc3d0e594e1a4e33242847f693f11a1e4
a99b07f45b3604614216bdc84f9f8437715af373
feat: remove limit on tracked accounts and note tags
Closes https://github.com/0xMiden/miden-client/issues/2086 This PR removes the hard limit on the amount of tracked accounts and note tags. Changed the tonic client `sync_notes` to be compliant with the node RPC limits. Now the client chunks the requested note tags to make separate requests if needed. Separately, ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 286b650197..7c51976bb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * [BREAKING][type][rust] `NoteScript::root()` now returns `NoteScriptRoot` instead of `Word`. Use `Word::from(root)` (or `root.into()`) where a `Word` is required. `NoteScriptRoot` is re...
6
5
4
[{"id": "G0", "claim": "The CHANGELOG entry for this PR should be marked [BREAKING], since the PR removes many public functions/structs and changes some return types.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An import in the sync_notes code ...
null
0xMiden__miden-client__2177
0xMiden/miden-client
2,177
defect
c7ba3a7227dc456af56573d06620073018256eb5
4439a79b7be979e7d683122bdcc443a852798802
feat: multi-account batch transactions
Add multi-account support for batch transactions to the client. Now pushing transactions into the `BatchBuilder` requires the `account_id` from which the tx is being created. **Note on pending unauthenticated_note_proofs TODO**: https://github.com/0xMiden/miden-client/blob/4439a79b7be979e7d683122bdcc443a852798802/c...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 95068ce95d..15224ca969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ * Remove MMR peaks from the blocks table and store them alongside the sync height in a new `blockchain_checkpoint` table ([#2100](https://github.com/0xMiden/miden-client/pull/2100)). * ...
14
13
0
[{"id": "G0", "claim": "The new CHANGELOG entry should not be labelled BREAKING since it lands in the same 0.15.0 release as the original BatchBuilder feature; the two entries should be collapsed into one referencing both PRs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
0xMiden__miden-client__895
0xMiden/miden-client
895
defect
eab0fa5afa3f405129cb0c9fb2da2ac4ad959df8
68c59ff92fd7f226d717e538a3832216bb6f4260
feat: Make the maximum block delta customizable from the client
This PR makes it possible to customize the number of blocks the client is behind the network. Before this PR, the maximum number of blocks the client could be behind was hard-coded to be 256 blocks. Now, that difference can be set to any u32 or be ignored entirely. The following changes were introduced: - The curr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index c14159830d..a2d7e2837d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ * Added account code to `miden account --show` command (#835). * Changed exec's input file format to TOML instead of JSON (#870). * [BREAKING] Client's methods renamed after `PartialMm...
1
1
1
[{"id": "G0", "claim": "docs/src/cli-config.md should also be updated to document the new max_block_number_delta option (updating the branch with the changes from merged #883 first to avoid conflicts).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
0xMiden__miden-client__937
0xMiden/miden-client
937
defect
bbd5d4576e1e5bee4f79bac1e4205cfeb92c09d1
cd203856849200e6c40b371ba8ba200d3809b1da
fix: various CLI issues
Found a couple of issues when testing the CLI with the released node: 1. The `miden sync` was not showing the new `new_public_notes` field. 2. Transactions were using the sync height to test for staleness but they should use submition height.
diff --git a/bin/miden-cli/src/commands/sync.rs b/bin/miden-cli/src/commands/sync.rs index 5e2a25b9b1..e841dabba7 100644 --- a/bin/miden-cli/src/commands/sync.rs +++ b/bin/miden-cli/src/commands/sync.rs @@ -12,6 +12,7 @@ impl SyncCmd { let new_details = client.sync_state().await?; println!("State sy...
2
2
0
[{"id": "G0", "claim": "The misspelled identifier \"submition_height\" should be renamed to \"submission_height\" here and wherever else it appears in the change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `submition_height` paramete...
null
0xMiden__miden-client__998
0xMiden/miden-client
998
defect
a4c9aed2e6e4a5486fe98e2da83b3bd80f92f256
ba4c773949f1d95f2e2dd6df74b949192949e3df
refactor: remove `TransactionExecutor` from client and note screener
This PR updates the version of the `miden-base` dependencies. This includes a couple of significant changes I'll specify below: - The `TransactionExecutor` was changed and now it receives references to it's internal components. We don't need to own the executor in the client anymore. These changes close #987 - The cl...
diff --git a/Cargo.lock b/Cargo.lock index a8e5262bf7..e09cdb5be3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,9 +153,9 @@ dependencies = [ [[package]] name = "atomic" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d818003e740b63afc82337e316...
4
3
0
[{"id": "G1", "claim": "Manually inserting the transaction script and account code into the data store is no longer needed because scripts are added within the executor ephemerally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "The miden-node d...
null
0xMiden__miden-vm__1027
0xMiden/miden-vm
1,027
defect
3c90bf4272ca52b660646bf6521433aab8cd37ad
e49f1ecb5c7b05b6de68a15569b210cee32af97b
feat(air): migrate range checker bus to LogUp
This PR addresses #982 and #299 (no longer needed), simplifying the range checker to require only 2 main trace columns and a single auxiliary trace column. - [x] rewrite AIR constraints - [x] rewrite trace generation of main range checker trace - [x] rewrite auxiliary trace generation for range checker lookup bus ...
diff --git a/air/src/constraints/chiplets/memory/mod.rs b/air/src/constraints/chiplets/memory/mod.rs index 94643a3a9c7..e0120aa7580 100644 --- a/air/src/constraints/chiplets/memory/mod.rs +++ b/air/src/constraints/chiplets/memory/mod.rs @@ -355,32 +355,3 @@ impl<E: FieldElement> EvaluationFrameExt<E> for &EvaluationFra...
9
8
0
[{"id": "G0", "claim": "The range checker could be padded at the end of the trace with rows of u16::MAX of multiplicity 0 instead of at the beginning, which would simplify things.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The documentation needs a...
null
0xMiden__miden-vm__1036
0xMiden/miden-vm
1,036
defect
32598b8d1bf97d17f3ec442b6b92e71a627d1199
29add2555b557e893840c066ab7d4115baf01547
Implement complex TSMT inert for depth 16->32 case
This PR implements an insert procedure in std::collections::smt to handle the case when an inserted key-value pair collides with an existing leaf at depth 16 and both key-value pairs must be moved to leaves at depth 32.
diff --git a/assembly/src/ast/nodes/advice.rs b/assembly/src/ast/nodes/advice.rs index 413fc31bd5a..00d054da9e6 100644 --- a/assembly/src/ast/nodes/advice.rs +++ b/assembly/src/ast/nodes/advice.rs @@ -18,6 +18,7 @@ pub enum AdviceInjectorNode { PushU64div, PushExt2intt, PushSmtGet, + PushSmtInsert, ...
3
2
0
[{"id": "G0", "claim": "The nested if/else chain added in the else-branch of the advice-stack injector should be rewritten as a match expression with guards to improve readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the comment ab...
null
0xMiden__miden-vm__1058
0xMiden/miden-vm
1,058
defect
5adec34bac63d17fdda7af67ead59845e95f498d
07bc21e6d5eaf664e76c47006bad418710572325
Print VM cycles after CLI execution
This small PR improves the print of the cycles required for the each VM component. Currently it looks like so: ``` VM cycles: 3045 (stack: 3045, range checker: 39, chiplets: hash 336, bitwise 0, memory 0, kernel 0) extended to 4096 steps. ``` This PR closes issues #442 and #1047
diff --git a/miden/src/cli/run.rs b/miden/src/cli/run.rs index 6f011c28fd1..38e0709a340 100644 --- a/miden/src/cli/run.rs +++ b/miden/src/cli/run.rs @@ -66,7 +66,18 @@ impl RunCmd { let trace = processor::execute(&program, stack_inputs, advice_provider, execution_options) .map_err(|err| format!("F...
3
3
0
[{"id": "G0", "claim": "The VM cycles line in the run command's output should be printed in a more user-friendly multi-line tree layout (one row per component) instead of a single cramped line.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The prover's ...
null
0xMiden__miden-vm__1075
0xMiden/miden-vm
1,075
defect
4075c099ae83d8ec27df2722ade52bae38f2c4d9
bb1be414051fe3892ab0808697142869d2bbc031
Assert with custom error codes
This PR addresses most items of #988. Specifically, it implements ability to specify error codes for `assert`, `assertz`, `assert_eq`, and `assert_eqw` instructions. The format to specify the error code is: ``` assert.err=1234 ``` Error codes can also be specified using named constants. For example: ``` asser...
diff --git a/air/src/constraints/stack/op_flags/mod.rs b/air/src/constraints/stack/op_flags/mod.rs index 9a684326a70..ab41aa9d093 100644 --- a/air/src/constraints/stack/op_flags/mod.rs +++ b/air/src/constraints/stack/op_flags/mod.rs @@ -624,7 +624,7 @@ impl<E: FieldElement> OpFlags<E> { /// Operation Flag of ASSER...
3
2
0
[{"id": "G0", "claim": "Consider introducing assertion error codes for assembly instructions.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Rename AssertWithCode to AssertWithError for clarity and introduce a type declaration for the error code (type ...
null
0xMiden__miden-vm__1076
0xMiden/miden-vm
1,076
defect
4075c099ae83d8ec27df2722ade52bae38f2c4d9
00352680af6407cabf5ef97bd047d1c425e65abb
Make `push` instruction parse hex strings in little-endian
This PR changes how `push.*` instruction is parsing long hex strings. Earlier hex string was parsed as if it was created from big-endian bytes, but now we assume that it was created from little-endian bytes (since it was actually created like that). This change fixes an [issue](https://github.com/0xPolygonMiden/mide...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8063f31b414..1e1146e05a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Added `adv.insert_hperm` decorator (#1042). - Added `adv.push_smtpeek` decorator (#1056). - Added `debug` decorator (#1069). +- Refactored `push` instruction so now it parses long ...
16
15
2
[{"id": "G0", "claim": "The push instruction should adopt the proposed hex-string rules: decimal values unchanged, individual hex elements parsed in big-endian, and long hex strings restricted to full words (64 characters) interpreted in little-endian form, matching how common hash functions read hex strings.", "catego...
null
0xMiden__miden-vm__1117
0xMiden/miden-vm
1,117
defect
fb6f69d7c4da189b3fff3e818aa2b0821b3886b1
06b3d614a7bf1935de6ba073ccf7b9fb455a5e2e
Memory: Create newtype `ContextId`
Creates the `ContextId` type instead of using `u32` everywhere. This makes the code easier to understand to a newcomer; e.g. types such as `(u32, u32, u32)` make understanding the code harder. And this newtype will also prevent bugs which e.g. use the context ID as an address (who's also a `u32`). I suggest we also ...
diff --git a/miden/tests/integration/exec_iters.rs b/miden/tests/integration/exec_iters.rs index 51839d914e..0d1963b32f 100644 --- a/miden/tests/integration/exec_iters.rs +++ b/miden/tests/integration/exec_iters.rs @@ -1,4 +1,4 @@ -use processor::{AsmOpInfo, VmState}; +use processor::{AsmOpInfo, VmState, MemoryContextI...
6
6
2
[{"id": "G0", "claim": "A separate MemoryContextId type is unnecessary; a single ContextId type should suffice.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ContextId should be defined in processor/src/system/mod.rs rather than in the memory chiplet.",...
null
0xMiden__miden-vm__112
0xMiden/miden-vm
112
defect
172224d8e7c41fcae9d5fc7bf681d825ae6b8741
1040d547cc19891a600e3deeadd2235903d3aff1
Add divide by 0 check
Closes #96
diff --git a/processor/src/operations/u32_ops.rs b/processor/src/operations/u32_ops.rs index beefb0c356..7c7b7b492b 100644 --- a/processor/src/operations/u32_ops.rs +++ b/processor/src/operations/u32_ops.rs @@ -130,11 +130,17 @@ impl Process { /// /// # Errors /// Returns an error if the stack contains f...
1
1
0
[{"id": "G0", "claim": "The # Errors doc section for op_u32div should be reformatted as a bullet list (\"Returns an error if:\\n* The stack contains fewer than two elements.\\n* The divisor is ZERO.\") instead of two separate \"Returns an error if\" lines.", "category": "documentation", "verdict": "supported", "priorit...
null
0xMiden__miden-vm__1121
0xMiden/miden-vm
1,121
defect
ef9a12137feb2da0789831c30efcb29b3d226b51
ee06f971406b022b30354a71a3823a582ac1d6d6
Migrate to using Winterfell 0.7
## Describe your changes As the title says though probably does not include the best way to use the `AcceptableOption` argument. I also had to make on modification to the `cli` test as well as some changes to the MMR tests as well. Probably the problems forcing those changes were due to some rebasing issues. ##...
diff --git a/air/Cargo.toml b/air/Cargo.toml index eecac4b4941..bba8d01801b 100644 --- a/air/Cargo.toml +++ b/air/Cargo.toml @@ -30,9 +30,9 @@ std = ["vm-core/std", "winter-air/std"] [dependencies] vm-core = { package = "miden-core", path = "../core", version = "0.8", default-features = false } -winter-air = { pack...
1
1
1
[{"id": "G0", "claim": "Instead of passing `acceptable_opt` as a parameter to `verify()`, an `OptionSet` of the 4 pre-defined options (96 and 128-bit security level for recursive and non-recursive proofs) should be defined and passed to `verify_proof()`, which should reduce the amount of needed changes.", "category": "...
null
0xMiden__miden-vm__1142
0xMiden/miden-vm
1,142
defect
a032ab4ac52dcca8671ae7ebea9f851943b0fe82
b4cf00dcd1e03061aafeceb1e486f1b9e582d806
Update `std::math::u64` according to the new u32 refactoring
This PR removes checked instructions from `std::math::u64` module according to the new u32 instructions refactoring. It also removes overflowing versions of `shl` and `shr` instructions.
diff --git a/assembly/README.md b/assembly/README.md index c78f9c97a12..9d26fca606c 100644 --- a/assembly/README.md +++ b/assembly/README.md @@ -43,7 +43,7 @@ use.std::math::u64 begin push.1.0 push.2.0 - exec.u64::checked_add + exec.u64::wrapping_add end ``` diff --git a/assembly/src/ast/tests.rs b...
2
2
1
[{"id": "G0", "claim": "The wording of the paragraph in docs/src/user_docs/stdlib/math/u64.md about which u64 procedures do not check their inputs is confusing and slightly inaccurate (e.g., `lt` does not check its inputs but has neither the `wrapping` nor `overflowing` prefix), and should be rephrased along the lines ...
null
0xMiden__miden-vm__1160
0xMiden/miden-vm
1,160
defect
c979f8a1728a433cdafbfb75a7866fec4bbdf9b9
2f184f13225f05585bbc6470f483612de4152604
Use dynamic calls after `procref`
This small PR makes it possible to use dynamic instructions (`dyncall` and `dynexec`) after `procref` instruction, without using `call` or `syscall` as it was explained in the #1150 issue.
diff --git a/assembly/src/assembler/instruction/procedures.rs b/assembly/src/assembler/instruction/procedures.rs index 345d0aed705..5a4c5400e7e 100644 --- a/assembly/src/assembler/instruction/procedures.rs +++ b/assembly/src/assembler/instruction/procedures.rs @@ -143,8 +143,10 @@ impl Assembler { context: &mu...
4
4
1
[{"id": "G0", "claim": "The PR should add a test case for imported procedures invoked via `procref` (the existing test only covers a local procedure).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the procref local-procedure comment, the wording sho...
null
0xMiden__miden-vm__1179
0xMiden/miden-vm
1,179
defect
ca7de61d6ed7826b4a86fd86d11e9226969855f9
509f93a0c59081f6fb5ee9a8cdf81a22d0ac7259
Add leading/trailing ones and zero count instructions (part 2)
This PR adds 4 new instructions for `std::math::u64` module: - clz: count leading zeros of the u64 value. [n_hi, n_lo, ...] -> [clz, ...] - ctz: count trailing zeros of the u64 value. [n_hi, n_lo, ...] -> [ctz, ...] - clo: count leading ones of the u64 value. [n_hi, n_lo, ...] -> [clo, ...] - cto: count trailing ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index fc28ae1a2a..f405b24daf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,13 @@ - Introduced the `procref.<proc_name>` assembly instruction (#1113). - Added the ability to use constants as counters in `repeat` loops (#1124). - All `checked` versions of the u32 in...
2
1
0
[{"id": "G0", "claim": "The clz procedure could be changed to a cswap-based variant instead of the `if` construction, which the author suspected wasted cycles about half of the time.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The clz, ctz, clo and...
null
0xMiden__miden-vm__1195
0xMiden/miden-vm
1,195
defect
ee93c6de8146053236a7f50493df03beba8c987f
9586b078f224d237905e430d768bcccbd7f7a550
Trait for auxiliary column build
## Describe your changes Introduces a trait for auxiliary column build. ## Checklist before requesting a review - Repo forked and branch created from `next` according to naming convention. - Commit messages and codestyle follow [conventions](./CONTRIBUTING.md). - Relevant issues are linked in the PR description...
diff --git a/air/src/trace/main_trace.rs b/air/src/trace/main_trace.rs index b07c747eed..56157ea350 100644 --- a/air/src/trace/main_trace.rs +++ b/air/src/trace/main_trace.rs @@ -39,6 +39,10 @@ impl<'a> MainTrace<'a> { } } + pub fn num_rows(&self) -> usize { + self.columns.num_rows() + } + ...
11
10
1
[{"id": "G0", "claim": "Rename the trait methods `requests`/`responses` to something like `get_requests_at`/`get_responses_at` since the plural names suggest returning all requests/responses, and rename the parameter `i` to `row_idx`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
0xMiden__miden-vm__1198
0xMiden/miden-vm
1,198
defect
266263949d17852906aa92969026c641cc4832e7
01d8984e94f173b8f71406f19d8ba80640ebea9d
Add tracing to the `Host` interface
This PR: - Adds new `trace.<trace_id>` "decorator" instruction to the assembly - Adds new `on_trace()` method to the `Host` trait to handle `trace` instructions TODO: - [ ] Update documentation
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e83f70278..550a4f9e4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - Added methods `StackOutputs::get_stack_item()` and `StackOutputs::get_stack_word()` (#1155). - Added [Tracing](https://crates.io/crates/tracing) logger to the VM (#1139). - Added `on...
4
4
1
[{"id": "G0", "claim": "The user documentation for the `trace` instruction is missing and should be placed by merging the trace and event docs into one file (ultimately a `Tracing` section in the existing `Events` file, as bobbinth directed).", "category": "documentation", "verdict": "supported", "priority": "P2", "sco...
null