Skip to content

chore: migrate to VM v0.23, protocol v0.15#1146

Merged
bitwalker merged 10 commits into
nextfrom
i1125-migrate-protocol-v015
Jun 16, 2026
Merged

chore: migrate to VM v0.23, protocol v0.15#1146
bitwalker merged 10 commits into
nextfrom
i1125-migrate-protocol-v015

Conversation

@greenhat

@greenhat greenhat commented May 26, 2026

Copy link
Copy Markdown
Contributor

Close #1125

This PR migrates the compiler to the VM v0.23 and the protocol crate v0.15. It also syncs the protocol API with the Miden SDK bindings.

@greenhat

Copy link
Copy Markdown
Contributor Author

@djolertrk ping

greenhat added 7 commits June 15, 2026 09:50
miden-client now has a protocol 0.15 branch, so the integration-network crate can return to the workspace instead of being omitted during the VM/protocol migration.

Patch the client dependency to that branch, align the integration-network dependency versions with protocol 0.15, and update the mockchain fixtures for the current account, asset, and measurement APIs. Callback-enabled faucet assets now provide their faucet as a foreign account so transfers exercise the same policies as the updated protocol stack.
The newer next base brings FPI and arithmetic coverage that still used APIs changed by the VM and protocol migration.

Update the affected fixtures to construct public accounts with the current account builder API, use fallible felt construction for literal words, and read VM outputs through the trace stack. This keeps the rebased branch on the migrated dependency set without carrying compatibility shims.
@greenhat greenhat force-pushed the i1125-migrate-protocol-v015 branch from e357656 to 954f787 Compare June 15, 2026 08:49
greenhat added 2 commits June 15, 2026 11:59
The protocol migration no longer needs the temporary miden-client branch now that the aligned v0.15 crate is published.

Remove the crates.io patch for the branch dependency and let Cargo resolve miden-client and its related Miden v0.15 crates from the registry. This keeps the dependency graph on released artifacts instead of a temporary git source.
Protocol v0.15 adds attachment helpers and changes some asset, balance, and faucet APIs, so the Rust SDK bindings need to reflect the tx kernel surface directly.

Add the new note, input-note, output-note, active-note, tx, and native-account bindings and stubs. Route list-returning helpers through the ListReturn transform strategy, and update the SDK compilation fixtures and changelog for the changed public API.
@greenhat greenhat marked this pull request as ready for review June 15, 2026 12:06
@greenhat greenhat requested review from bitwalker and mooori June 15, 2026 12:28
@bitwalker bitwalker merged commit 17eb665 into next Jun 16, 2026
18 checks passed
@bitwalker bitwalker deleted the i1125-migrate-protocol-v015 branch June 16, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to protocol v0.15

2 participants