0xMiden/protocol
Optimize input note num inputs/assets memory layout
Ouverte
#2 256 ouverte le 12 janv. 2026
good first issuekernels
Métriques du dépôt
- Stars
- (123 étoiles)
- Métriques de merge PR
- (Merge moyen 5j 11h) (110 PRs mergées en 30 j)
Description
After #2109 is closed (to avoid merge conflicts), we should be able to make a tiny PR that moves these two constants closer together:
It should be possible to do:
pub const INPUT_NOTE_NUM_INPUTS_OFFSET: MemoryOffset = 36;
pub const INPUT_NOTE_NUM_ASSETS_OFFSET: MemoryOffset = 37;
pub const INPUT_NOTE_ASSETS_OFFSET: MemoryOffset = 40
This applies to memory.masm in the same way.
Context: https://github.com/0xMiden/miden-base/pull/2249#discussion_r2679280006