Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking PR for v0.2 release #518

Merged
merged 38 commits into from
Apr 11, 2024
Merged

Tracking PR for v0.2 release #518

merged 38 commits into from
Apr 11, 2024

Conversation

bobbinth
Copy link
Contributor

@bobbinth bobbinth commented Mar 8, 2024

This is a tracking PR for v0.2 release of the miden-base crates

hackaugusto and others added 30 commits March 8, 2024 15:05
* mock: mock_account now requires account_id parameter

* mock: mock_account now requires account_code parameter

* mock: all account mock in the same module
* objects: add account/note details to ProvenTransaction #403

* objects: Add ProvenTransactionBuilder

* tx-prover: Add account on-chain state tracking

* review: typo fixes

* docs: added changelog

---------

Co-authored-by: polydez <155382956+polydez@users.noreply.github.com>
* readme: prepare it for a release

* docs: update content in main readme

---------

Co-authored-by: Bobbin Threadbare <bobbinth@protonmail.com>
* typo: entires -> entries

* storage: use long form names

* objects: using structs instead of tuples for readability
* fix: use of deprecated apis in miden-mock
* fix: use of deprecated apis in miden-objects
* fix: use of deprecated apis in miden-tx
* fix: use of deprecated apis in miden-lib
* feat: implement proven transaction validation

* refactor: fix review comments
* Added cargo-make, updated ci, added version script, added rust-toolchain

* Updated test ci

* Updated all cargo.toml + updated test command in Makefile

* Added cargo-make to README

* Update test CI naming

* Update Makefile and Readme with Bobbin's requirements

* Add doc-serce command and update script

* Added cargo-make, updated ci, added version script, added rust-toolchain

* Revert "Added cargo-make, updated ci, added version script, added rust-toolchain"

This reverts commit a159eb4.

* Removed additional white lines
* Serialise Note instead of (NoteId, Note)
* More idiomatic way to access value
Notes can be stored offchain, on-chain, or encrypted. This is an
orthogonal concept to how the notes are executed. This commit adds a new
metadata field to encode the storage type.
* feat: add conversion for `NoteTag` to and from `u64`

* fix: compilation error under no-std
* refactor: update code to work with next branch of miden-vm

* refactor: import vec from alloc within each file
* refactor: update code to work with next branch of miden-vm

* refactor: import vec from alloc within each file

* feat: implemented wrapper over `SimpleSmt` for storing notes

* feat: implemented `BatchOutputNotesTree` and `BlockOutputNotesTree`

* fix: compilation errors/warnings under no-std

* fix: address review comments

* fix: note metadata by value in iterator

* feat: implemented `BlockNoteTree::mekle_path`

* fix: `NoteId` instead of digest

* feat: implemented (de)serialization of `BlockNoteTree`, improved docs

* feat: implement conversion from `NoteId` to `Digest`

* feat: implement `Default` for `BlockNoteTree`

* fix: write size descriptor in serialization of `BlockNoteTree`

* fix: update `miden-crypto` dependency version

---------

Co-authored-by: Andrey <andrey@polygon.technology>
* refactor: return path to note parent from BlockNoteTree

* fix: changed `Self::note_index()` to `Self::leaf_index()`
* Add parameter for faucet::distribute
@bobbinth bobbinth marked this pull request as ready for review April 11, 2024 01:12
@bobbinth bobbinth merged commit 2a7c703 into main Apr 11, 2024
9 checks passed
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.

9 participants