Skip to content

Commit

Permalink
Implement send_note for basic wallet (#808)
Browse files Browse the repository at this point in the history
* feat: implement send_note procedure

* test: attempt to implement test for send_note

* feat: send_note without hash check

* feat: implement send_note with hash check

* refactor: divide send_note into two procedures

* chore: update changelog, fix formatting in bench_tx/README

* refactor: simplify move_asset_to_note

* refactor: change add_asset_to_note procedure output, update tests

* chore: update CHANGELOG

* refactor: optimize add_asset_to_note, update comments

* refactor: update comments, update padding for called and syscalled procs

* refactor: update padding before calls
  • Loading branch information
Fumuran authored Aug 9, 2024
1 parent 52522d3 commit 77f0f74
Show file tree
Hide file tree
Showing 14 changed files with 434 additions and 164 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- [BREAKING] Refactored and simplified `NoteOrigin` and `NoteInclusionProof` structs (#810, #814).
- Made `miden_lib::notes::build_swap_tag()` function public (#817).
- [BREAKING] Changed the `NoteFile::NoteDetails` type to struct and added a `after_block_num` field (#823).
- Implemented `cteate_note` and `move_asset_into_note` basic wallet procedures (#808).
- [BREAKING] Interface of the `miden::tx::add_asset_to_note` procedure was changed (#808).

## 0.4.0 (2024-07-03)

Expand Down
123 changes: 82 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion bench-tx/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Miden transactions benchmark

This crate contains an executable used for benchmarking transactions.
This crate contains an executable used for benchmarking transactions.

For each transaction, data is collected on the number of cycles required to complete:

- Prologue
- All notes processing
- Each note execution
Expand Down
Loading

0 comments on commit 77f0f74

Please sign in to comment.