-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
139 changed files
with
5,861 additions
and
2,935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[profile.default] | ||
slow-timeout = { period = "5s", terminate-after = 2 } | ||
|
||
[profile.prove] | ||
# A test which also generates a proof takes around 1min to complete on a M2 | ||
slow-timeout = { period = "120s", terminate-after = 2 } | ||
|
||
[profile.ci-default] | ||
failure-output = "immediate-final" | ||
fail-fast = false | ||
|
||
[profile.ci-prove] | ||
# A test which also generates a proof takes around 120sec to complete in the CI | ||
slow-timeout = { period = "200s", terminate-after = 2 } | ||
failure-output = "immediate-final" | ||
fail-fast = false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Runs linting related jobs. | ||
|
||
name: lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
version: | ||
name: check rust version consistency | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
profile: minimal | ||
override: true | ||
- name: check rust versions | ||
run: ./scripts/check-rust-version.sh | ||
|
||
rustfmt: | ||
name: rustfmt nightly on ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install minimal Rust with rustfmt & cargo-make | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
components: rustfmt | ||
override: true | ||
- uses: davidB/rust-cargo-make@v1 | ||
- name: cargo make - format | ||
run: cargo make format | ||
|
||
clippy: | ||
name: clippy stable on ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install minimal Rust with clippy & cargo-make | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
components: clippy | ||
override: true | ||
- uses: davidB/rust-cargo-make@v1 | ||
- name: cargo make - clippy | ||
run: cargo make clippy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Runs no-std related jobs. | ||
|
||
name: no-std | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
no-std: | ||
name: build ${{matrix.toolchain}} no-std for wasm32-unknown-unknown | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, nightly] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{matrix.toolchain}} | ||
override: true | ||
- run: rustup target add wasm32-unknown-unknown | ||
- uses: davidB/rust-cargo-make@v1 | ||
- name: cargo make - build-no-std | ||
run: cargo make build-no-std |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
test: | ||
name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}} | ||
runs-on: ${{matrix.os}}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, nightly] | ||
os: [ubuntu] | ||
args: ["default", "prove"] | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{matrix.toolchain}} | ||
override: true | ||
- uses: davidB/rust-cargo-make@v1 | ||
- uses: taiki-e/install-action@nextest | ||
- name: cargo make - test | ||
run: cargo make ci-test-${{matrix.args}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
# Changelog | ||
|
||
## 0.2.0 | ||
|
||
* [BREAKING] Implement support for public accounts (#481, #485, #538). | ||
* [BREAKING] Implement support for public notes (#515, #540, #572). | ||
* Improved `ProvenTransaction` validation (#532). | ||
* [BREAKING] Updated `no-std` setup (#533). | ||
* Improved `ProvenTransaction` serialization (#543). | ||
* Implemented note tree wrapper structs (#560). | ||
* [BREAKING] Migrated to v0.9 version of Miden VM (#567). | ||
* [BREAKING] Added account storage type parameter to `create_basic_wallet` and `create_basic_fungible_faucet` (miden-lib crate only) (#587). | ||
* Removed serialization of source locations from account code (#590). | ||
|
||
## 0.1.1 (2024-03-07) - `miden-objects` crate only | ||
|
||
* Added `BlockHeader::mock()` method (#511) | ||
|
||
## 0.1.0 (2024-03-05) | ||
|
||
* Initial release. | ||
* Initial release. |
Oops, something went wrong.