Skip to content

Migrate to the VM v0.19.0#2042

Merged
bobbinth merged 8 commits intonextfrom
andrew/pgackst-migrate-to-vm-19
Nov 4, 2025
Merged

Migrate to the VM v0.19.0#2042
bobbinth merged 8 commits intonextfrom
andrew/pgackst-migrate-to-vm-19

Conversation

@Fumuran
Copy link
Contributor

@Fumuran Fumuran commented Nov 3, 2025

This PR updates miden-base to be compatible with miden-vm v0.19.0.

Changes

  • Updating the *_loadw and *_storew procedures to use the big-endian versions (*_loadw_be and *_storew_be).
  • Implementing get_stack_word_be and get_stack_word_le methods for the ExecutionOutputExt trait.
  • Refactor PartialVault, PartialStorageMap, PartialAccountTree and PartialNullifierTree to allow construction from a root. This was necessary to do here because the changes to PartialSmt were breaking how the partial structs worked. This essentially addresses Allow constructing partial structs from a known root #1966, except for adding PartialVault::with_witnesses, which can be done separately if needed.
  • Move miden-air to workspace dependencies, because it is easy to miss otherwise and is in the dependency tree anyway.

closes #1966

Follow-Up: #2043

@PhilippGackstatter
Copy link
Contributor

I self-reviewed the PR, and @Fumuran's changes look good to me.

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you @Fumuran and @PhilippGackstatter!

@bobbinth bobbinth merged commit b160cab into next Nov 4, 2025
17 checks passed
@bobbinth bobbinth deleted the andrew/pgackst-migrate-to-vm-19 branch November 4, 2025 03:55
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.

Allow constructing partial structs from a known root

3 participants