Skip to content

chore: InitStorageData followups#2296

Merged
igamigo merged 6 commits intonextfrom
igamigo-init-refactor-followups
Feb 4, 2026
Merged

chore: InitStorageData followups#2296
igamigo merged 6 commits intonextfrom
igamigo-init-refactor-followups

Conversation

@igamigo
Copy link
Copy Markdown
Collaborator

@igamigo igamigo commented Jan 16, 2026

  1. Refactors the storage schema code: Splits the monolithic schema.rs into multiple smaller modules (most of the diff comes from this):
    - felt.rs
    - word.rs
    - slot.rs
    - value_slot.rs
    - map_slot.rs
    - tests.rs
  2. Adds impl TryInto<_> for name types in parameters for building schemas. Adds conversion traits for StorageSlotName and StorageValueName. Also updates tests to use this

@igamigo igamigo changed the title Igamigo init refactor followups chore: InitStorageData followups Jan 16, 2026
@igamigo igamigo force-pushed the igamigo-init-refactor-followups branch from 8f2481b to 4a6e844 Compare January 30, 2026 15:20
@igamigo igamigo marked this pull request as ready for review January 30, 2026 21:40
Copy link
Copy Markdown
Contributor

@PhilippGackstatter PhilippGackstatter 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 to me. I did not really review the code in crates/miden-protocol/src/account/component/storage/schema/* since it sounds like that was only moved and not changed.

@igamigo
Copy link
Copy Markdown
Collaborator Author

igamigo commented Feb 3, 2026

Didn't merge this in case @bobbinth or anyone else wants to take a look, but AFAICT it should be ok to merge as of right now as it's mostly minor refactors.

Copy link
Copy Markdown
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!

@igamigo igamigo merged commit 2bf5542 into next Feb 4, 2026
17 checks passed
@igamigo igamigo deleted the igamigo-init-refactor-followups branch February 4, 2026 14:19
afa7789 pushed a commit to afa7789/miden-base that referenced this pull request Mar 9, 2026
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.

3 participants