Skip to content

Commit

Permalink
Self review
Browse files Browse the repository at this point in the history
  • Loading branch information
phklive committed Sep 16, 2024
1 parent c84d8c5 commit 9df761c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion miden-lib/asm/kernels/transaction/lib/account.masm
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export.apply_storage_offset
# => [offset_slot_index]
end

#! Validate that all account procedures storage offsets are in bounds.
#! Validates all account procedures storage offsets
#!
#! Notes:
#! - For faucets checks that no storage offset is 0 (preventing reserved storage slot access)
Expand Down
2 changes: 1 addition & 1 deletion miden-tx/src/testing/tx_context/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl TransactionContextBuilder {
acct_id,
nonce,
initial_balance,
TransactionKernel::testing_assembler().with_debug_mode(true),
TransactionKernel::testing_assembler(),
);
let assembler = TransactionKernel::testing_assembler_with_mock_account();

Expand Down
2 changes: 0 additions & 2 deletions miden-tx/src/tests/kernel_tests/test_asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ fn test_create_fungible_asset_succeeds() {
begin
exec.prologue::prepare_transaction
debug.stack
# create fungible asset
push.{FUNGIBLE_ASSET_AMOUNT}
exec.asset::create_fungible_asset
Expand Down
3 changes: 0 additions & 3 deletions miden-tx/tests/integration/scripts/swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ fn prove_swap_script() {
let sender_account = chain.add_new_wallet(Auth::BasicAuth, vec![offered_asset]);
let target_account = chain.add_existing_wallet(Auth::BasicAuth, vec![requested_asset]);

println!("sender storage: {:?}", sender_account.storage().slots().len());
println!("target storage: {:?}", target_account.storage().slots().len());

// Create the note containing the SWAP script
let (note, payback_note) = create_swap_note(
sender_account.id(),
Expand Down

0 comments on commit 9df761c

Please sign in to comment.