Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
88f5e6c
feat: Check for duplicate slots after sorting
PhilippGackstatter Dec 10, 2025
ee3ce49
feat: Check for sorting and uniqueness in tx kernel
PhilippGackstatter Dec 10, 2025
7e10dbf
chore: add changelog
PhilippGackstatter Dec 10, 2025
9e1e00a
chore: cover special cases in slot ID comparison in test
PhilippGackstatter Dec 11, 2025
aae2b29
chore: remove implemented todo
PhilippGackstatter Dec 11, 2025
74bba33
feat: Add test for `ERR_ACCOUNT_UNKNOWN_STORAGE_SLOT_NAME`
PhilippGackstatter Dec 11, 2025
2f427e2
chore: rename faucet storage data slot to faucet metadata slot
PhilippGackstatter Dec 11, 2025
1f327f7
chore: drop "name" from slot name getter
PhilippGackstatter Dec 11, 2025
73789e5
chore: unify basic/network faucet slot names
PhilippGackstatter Dec 11, 2025
7f40ad5
chore: add changelog
PhilippGackstatter Dec 11, 2025
cfd4454
chore: change get_kernel_mem_element to use read_element
PhilippGackstatter Dec 11, 2025
2b70e3a
chore: Add test for accessing reserved slot
PhilippGackstatter Dec 11, 2025
819d2bd
feat: Remove storage offset and size from VM memory
PhilippGackstatter Dec 11, 2025
64be499
feat: Remove storage offset and size from `AccountProcedureInfo`
PhilippGackstatter Dec 11, 2025
d0b5adf
chore: Rename `AccountProcedureInfo` to `AccountProcedureRoot`
PhilippGackstatter Dec 11, 2025
2f9125f
chore: Update account code docs
PhilippGackstatter Dec 11, 2025
b9ac434
chore: update account docs and remove unneeded errors
PhilippGackstatter Dec 11, 2025
0a901ec
chore: add changelog
PhilippGackstatter Dec 11, 2025
9049e05
fix: outdated procedure info doc
PhilippGackstatter Dec 11, 2025
257036b
Update crates/miden-objects/src/account/storage/mod.rs
mmagician Dec 11, 2025
7acd5df
fix: remove duplicate changelog entry
mmagician Dec 11, 2025
29ef249
chore: Move faucet slot name definition to faucet mod
PhilippGackstatter Dec 11, 2025
e2c7c6a
Merge remote-tracking branch 'origin/pgackst-sorted-named-slots' into…
PhilippGackstatter Dec 11, 2025
8638a01
Merge remote-tracking branch 'origin/next' into pgackst-sorted-named-…
PhilippGackstatter Dec 12, 2025
f430918
Merge remote-tracking branch 'origin/pgackst-sorted-named-slots' into…
PhilippGackstatter Dec 12, 2025
ae2c20d
chore: Rename faucet metadata to faucet sysdata
PhilippGackstatter Dec 12, 2025
b03031f
chore: make metadata specific to fungible faucets
PhilippGackstatter Dec 12, 2025
43d6847
fix: sysdata access test
PhilippGackstatter Dec 12, 2025
58a5b99
Merge remote-tracking branch 'origin/pgackst-find-slot' into pgackst-…
PhilippGackstatter Dec 12, 2025
e53c816
Merge remote-tracking branch 'origin/next' into pgackst-find-slot
PhilippGackstatter Dec 12, 2025
1d2b0c4
fix: changelog entry
PhilippGackstatter Dec 12, 2025
4fe6a73
Merge remote-tracking branch 'origin/pgackst-find-slot' into pgackst-…
PhilippGackstatter Dec 12, 2025
d0951d5
fix: changelog entry
PhilippGackstatter Dec 12, 2025
1699ccf
Merge remote-tracking branch 'origin/next' into pgackst-remove-proced…
PhilippGackstatter Dec 12, 2025
59a6f6e
fix: messy changelog
PhilippGackstatter Dec 12, 2025
b1174bd
chore: correct account layout in memory table
PhilippGackstatter Dec 12, 2025
f0f7630
chore: use `BTreeSet` for procedure roots in account interface
PhilippGackstatter Dec 12, 2025
0d78e90
chore: update `proc_info` -> `proc_root`
PhilippGackstatter Dec 12, 2025
b611b53
chore: remove BTreeSet from procedure info builder
PhilippGackstatter Dec 12, 2025
3887554
chore: add note on procedure order
PhilippGackstatter Dec 12, 2025
ab07651
chore: Rename procedure info builder to account procedure builder
PhilippGackstatter Dec 12, 2025
a16d076
fix: import from `alloc` instead of `std`
PhilippGackstatter Dec 12, 2025
643fdf7
chore: add account procedure builder docs
PhilippGackstatter Dec 12, 2025
9c964ee
Merge branch 'next' into pgackst-remove-procedure-offset-and-size
bobbinth Dec 13, 2025
7894260
chore: fix lints
bobbinth Dec 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@

### Changes

- [BREAKING] Make `AccountProcedureIndexMap` construction infallible ([#2163](https://github.com/0xMiden/miden-base/pull/2163)).
- [BREAKING] Enforce minimum number of account procedures in tx kernel ([#2171](https://github.com/0xMiden/miden-base/pull/2171)).

## 0.12.2 (unreleased)
- Add proc-macro `WordWrapper` to ease implementation of `Word`-wrapping types ([#2071](https://github.com/0xMiden/miden-base/pull/2108)).
- [BREAKING] Added fee to `TransactionHeader` ([#2131](https://github.com/0xMiden/miden-base/pull/2131)).
Added the ability to get full public key from `TransactionAuthenticator` ([#2145](https://github.com/0xMiden/miden-base/pull/2145)).

### Changes

- [BREAKING] Increased `MAX_INPUTS_PER_NOTE` from 128 to 1024 ([#2139](https://github.com/0xMiden/miden-base/pull/2139)).
- [BREAKING] Added `BlockBody` and `BlockProof` structs in preparation for validator signatures and deferred block proving ([#2012](https://github.com/0xMiden/miden-base/pull/2012)).
- [BREAKING] Renamed `TransactionEvent` into `TransactionEventId` and split event handling into data extraction and handling logic ([#2071](https://github.com/0xMiden/miden-base/pull/2071)).
Expand All @@ -26,7 +17,10 @@ Added the ability to get full public key from `TransactionAuthenticator` ([#2145
- [BREAKING] Updated MINT note to support both private and public output note creation ([#2123](https://github.com/0xMiden/miden-base/pull/2123)).
- [BREAKING] Removed `AccountComponentTemplate` in favor of instantiating components via `AccountComponent::from_package` ([#2127](https://github.com/0xMiden/miden-base/pull/2127)).
- [BREAKING] Add public key to, remove proof commitment from, `BlockHeader`, and add signing functionality through `BlockSigner` trait ([#2128](https://github.com/0xMiden/miden-base/pull/2128)).
- [BREAKING] Renamed `ScriptBuilder` into `CodeBuilder` and added the ability to build component code ([#2142](https://github.com/0xMiden/miden-base/pull/2142)).
- [BREAKING] Added fee to `TransactionHeader` ([#2131](https://github.com/0xMiden/miden-base/pull/2131)).
Added the ability to get full public key from `TransactionAuthenticator` ([#2145](https://github.com/0xMiden/miden-base/pull/2145)).
- [BREAKING] Make `AccountProcedureIndexMap` construction infallible ([#2163](https://github.com/0xMiden/miden-base/pull/2163)).
- [BREAKING] Rename `AccountProcedureInfo` into `AccountProcedureRoot` and remove storage offset and size ([#2162](https://github.com/0xMiden/miden-base/pull/2162)).

## 0.12.4 (2025-11-26)

Expand Down
19 changes: 6 additions & 13 deletions crates/miden-lib/asm/kernels/transaction/api.masm
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ proc.authenticate_account_origin

# assert that the caller is from the user context
exec.account::authenticate_and_track_procedure
# => [storage_offset, storage_size]

# TODO(named_slots): Remove storage offset and size from procedure info.
drop drop
# => []
end

Expand Down Expand Up @@ -735,14 +731,12 @@ end
#!
#! Invocation: dynexec
export.account_get_procedure_root
# get the procedure information
exec.account::get_procedure_info
# => [PROC_ROOT, storage_offset, storage_size, pad(15)]

swapw dropw
# => [PROC_ROOT, pad(13)]
# get the procedure root
exec.account::get_procedure_root
# => [PROC_ROOT, pad(15)]

movup.4 drop
# truncate the stack
movup.4 drop movup.4 drop movup.4 drop
# => [PROC_ROOT, pad(12)]
end

Expand Down Expand Up @@ -1446,8 +1440,7 @@ end
#! - STORAGE_SLOT_DATA is the data contained in the storage slot which is constructed as follows:
#! [SLOT_VALUE, slot_type, 0, 0, 0].
#! - CODE_COMMITMENT is the commitment of the foreign account's code.
#! - ACCOUNT_PROCEDURE_DATA is the information about account procedure which is constructed as
#! follows: [PROCEDURE_MAST_ROOT, storage_offset, 0, 0, 0].
#! - ACCOUNT_PROCEDURE_DATA are the roots of the public procedures of the foreign account.
#!
#! Panics if:
#! - foreign context is created against the native account.
Expand Down
Loading