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

Merge/v1.8.0 #1511

Merged
merged 83 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
c6a5fbe
feat: zcash basic support
soralit Aug 22, 2024
45a5272
feat: introduce pczt vendor crate
soralit Oct 29, 2024
938ba47
refactor: zcash crates
soralit Oct 29, 2024
7b2bfc8
fix: build
soralit Oct 30, 2024
9a18035
feat: update pczt data hash
soralit Oct 31, 2024
ac2ece9
feat: extend pczt functionality
soralit Oct 31, 2024
a612b34
feat: impl signer for pczt
soralit Oct 31, 2024
905f9f7
fix: pczt hash
soralit Nov 5, 2024
7fdb07d
fix: adjust transaction signing code
soralit Nov 5, 2024
b3e1b9a
feat: adopt pczt latest changes
soralit Nov 13, 2024
ec80558
feat: support pczt check and parse output ciphertext
soralit Nov 14, 2024
40b156d
feat: parst pczt transparent and orchard
soralit Nov 18, 2024
df4dbcf
feat: add zcash interfaces
soralit Nov 18, 2024
f25494f
feat: zcash ui
soralit Nov 19, 2024
ee311c6
feat: add rust structs
soralit Nov 21, 2024
ff00372
chore: reduce firmware size
soralit Nov 21, 2024
8a7e196
chore: update dep
soralit Nov 22, 2024
2d58467
feat: zcash basic transaction view
soralit Nov 26, 2024
783845d
feat: pull pczt latest changes
soralit Dec 6, 2024
c68244a
fix: correct sign hash and check
soralit Dec 9, 2024
3b98da7
chore: bump version
soralit Dec 10, 2024
5ac5d2c
fix: should not render transparent part when it is None
soralit Dec 11, 2024
33dfe7a
fix: omit pczt checking ATM
soralit Dec 11, 2024
6b0db39
fix: wrong total transfer value
soralit Dec 12, 2024
b8979c1
fix: pczt transaction signing and display issues
soralit Dec 12, 2024
049014a
fix: memo decode / an edge case of crash / use TRGN randomness when s…
soralit Dec 13, 2024
7b76767
feat: Use TRNG as a custom `getrandom` backend
str4d Dec 13, 2024
286f73b
zcash: Switch to obtaining randomness through `rand_core::OsRng`
str4d Dec 13, 2024
e6d109e
zcash: Replace vendored `zcash_protocol` with published crate
str4d Dec 13, 2024
2717029
zcash: Replace vendored `zcash_encoding` with published crate
str4d Dec 13, 2024
0b4e182
zcash: Replace vendored `zcash_address` with published crate
str4d Dec 13, 2024
9d7d6ea
zcash: Replace vendored `zip32` with published crate
str4d Dec 13, 2024
a29783e
zcash: Replace vendored Sinsemilla with `sinsemilla` crate
str4d Dec 13, 2024
d5923d3
fix: zcash memory leak
soralit Dec 13, 2024
b0ab795
fix: sign transparent input should return der signature with sighash …
soralit Dec 14, 2024
d3c483b
fix(zcash): shielding transaction display issue and modify tx_modifia…
soralit Dec 16, 2024
6dfe512
fix: unshielding transaction failed because of the hash calculation
soralit Dec 16, 2024
1ef4480
chore: update rust-toolchain
soralit Dec 16, 2024
99379eb
chore: update toolchain
soralit Dec 16, 2024
3c3cc5e
fix: judge dummy output
soralit Dec 16, 2024
ca92e5e
chore: upgrade toolchain for CI
soralit Dec 16, 2024
43ee41b
fix: unshielding transaction signing
soralit Dec 16, 2024
a9075ea
zcash: Remove vendored `zcash_encoding` files
str4d Dec 16, 2024
df5de09
zcash: Replace vendored `zcash_primitives` with `zcash_transparent`
str4d Dec 16, 2024
50109c9
zcash: Replace vendored `orchard` with upstream branch
str4d Dec 16, 2024
ddd20ba
zcash: Replace vendored `zcash_keys` with upstream branch
str4d Dec 16, 2024
ac1c0ec
zcash: Replace vendored `pczt` with upstream branch
str4d Dec 17, 2024
eaf9f30
zcash: Display user-facing addresses for outputs
str4d Dec 17, 2024
5934b1e
fix: change output is marked as invalid
soralit Dec 17, 2024
373df13
feat: add fee value display
soralit Dec 17, 2024
3034a28
chore: refine checking logic
soralit Dec 17, 2024
76d6a9d
fix(zcash): home page zec issue
soralit Dec 17, 2024
5539026
refactor(zcash): no hardcoded network
soralit Dec 17, 2024
90b26f5
style: run fmt
soralit Dec 17, 2024
7a179c9
style(zcash): optimize import
soralit Dec 17, 2024
b379e52
style(zcash): run cargo fix
soralit Dec 17, 2024
dd637e4
fix(bitcoin): issues happened after upgrade bitcoin
soralit Dec 17, 2024
f2fb1c3
fix: disable checking ATM
soralit Dec 17, 2024
aa0220a
fix: transaction signing failed issue
soralit Dec 17, 2024
2e2e5b9
feat: ui refinement for sapling part
soralit Dec 17, 2024
b0b01da
feat: ui refinement for sapling part
soralit Dec 17, 2024
0b79d5c
fix: zcash receive page issue
soralit Dec 18, 2024
4641f77
fix: unit test
soralit Dec 18, 2024
1a8bc53
feat: upgrade zcash dep
soralit Dec 18, 2024
bed660d
feat: support passphrase and slip39 to zcash
soralit Dec 18, 2024
fa3f10c
fix: ui issue
soralit Dec 18, 2024
6a04d69
fix: open checking logic
soralit Dec 18, 2024
3882c14
fix: disable zcash for passphrase and slip39 wallet for now
soralit Dec 18, 2024
2a7c871
chore: bump beta version
soralit Dec 18, 2024
6cc43e1
fix: build
soralit Dec 18, 2024
d41a8f2
fix: passphrase judge error
soralit Dec 18, 2024
337981f
fix: issues
soralit Dec 19, 2024
9a81ada
feat: allow p2sh transparent output and input. refactor ut
soralit Dec 19, 2024
05b1372
fix: amount calculation
soralit Dec 19, 2024
71bdfb8
fix: app crash
soralit Dec 19, 2024
79cc493
fix: connect wallet issue
soralit Dec 19, 2024
82a380c
fix: ui issues
soralit Dec 19, 2024
431156e
docs: add v1.8.0 changelog
soralit Dec 19, 2024
14d54b1
Merge pull request #1508 from KeystoneHQ/add-changelog
soralit Dec 19, 2024
03c6e99
chore: bump version
soralit Dec 19, 2024
f82da69
Merge pull request #1509 from KeystoneHQ/bump-version
soralit Dec 19, 2024
7a3efe9
style: run fmt
soralit Dec 19, 2024
cb18636
chore: update ci config to match current project state
soralit Dec 20, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/rust-aptos-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/aptos
run: cd rust/apps/aptos && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/aptos && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-arweave-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/arweave
run: cd rust/apps/arweave && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/arweave && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-bitcoin-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/bitcoin
run: cd rust/apps/bitcoin && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/bitcoin && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-cardano-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/cardano
run: cd rust/apps/cardano && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/cardano && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-cosmos-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/cosmos
run: cd rust/apps/cosmos && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/cosmos && cargo +nightly-2024-01-31 llvm-cov --fail-under-regions 18 --fail-under-functions 12 --fail-under-lines 47
4 changes: 2 additions & 2 deletions .github/workflows/rust-ethereum-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/ethereum
run: cd rust/apps/ethereum && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/ethereum && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
34 changes: 17 additions & 17 deletions .github/workflows/rust-fmt-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,40 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
target: x86_64-apple-darwin
components: rustfmt

- name: Run rust/apps/bitcoin
run: cd rust/apps/bitcoin && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/bitcoin && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/ethereum
run: cd rust/apps/ethereum && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/ethereum && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/solana
run: cd rust/apps/solana && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/solana && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/cardano
run: cd rust/apps/cardano && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/cardano && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/tron
run: cd rust/apps/tron && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/tron && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/near
run: cd rust/apps/near && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/near && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/xrp
run: cd rust/apps/xrp && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/xrp && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/cosmos
run: cd rust/apps/cosmos && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/cosmos && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/aptos
run: cd rust/apps/aptos && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/aptos && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/sui
run: cd rust/apps/sui && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/sui && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/arweave
run: cd rust/apps/arweave && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/arweave && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/stellar
run: cd rust/apps/stellar && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/stellar && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/utils
run: cd rust/apps/utils && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/utils && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/apps/wallets
run: cd rust/apps/wallets && cargo +nightly-2023-12-01 fmt --check
run: cd rust/apps/wallets && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/keystore
run: cd rust/keystore && cargo +nightly-2023-12-01 fmt --check
run: cd rust/keystore && cargo +nightly-2024-01-31 fmt --check
- name: Run rust/rust_c
run: cd rust/rust_c && cargo +nightly-2023-12-01 fmt --check
run: cd rust/rust_c && cargo +nightly-2024-01-31 fmt --check
4 changes: 2 additions & 2 deletions .github/workflows/rust-keystore-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/keystore
run: cd rust/keystore && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/keystore && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-near-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/near
run: cd rust/apps/near && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/near && cargo +nightly-2024-01-31 llvm-cov --fail-under-regions 49 --fail-under-functions 52 --fail-under-lines 68
4 changes: 2 additions & 2 deletions .github/workflows/rust-solana-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/solana
run: cd rust/apps/solana && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/solana && cargo +nightly-2024-01-31 llvm-cov --fail-under-regions 21 --fail-under-functions 34 --fail-under-lines 38
4 changes: 2 additions & 2 deletions .github/workflows/rust-stellar-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/stellar
run: cd rust/apps/stellar && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/stellar && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-sui-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/sui
run: cd rust/apps/sui && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/sui && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-ton-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/ton
run: cd rust/apps/ton && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/ton && cargo +nightly-2024-01-31 llvm-cov --fail-under-regions 41 --fail-under-functions 48 --fail-under-lines 47
4 changes: 2 additions & 2 deletions .github/workflows/rust-tron-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/tron
run: cd rust/apps/tron && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/tron && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-utils-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/utils
run: cd rust/apps/utils && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/utils && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
4 changes: 2 additions & 2 deletions .github/workflows/rust-wallets-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/wallets
run: cd rust/apps/wallets && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/wallets && cargo +nightly-2024-01-31 llvm-cov --fail-under-regions 39 --fail-under-functions 40 --fail-under-lines 57
4 changes: 2 additions & 2 deletions .github/workflows/rust-xrp-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin
Expand All @@ -24,4 +24,4 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/xrp
run: cd rust/apps/xrp && cargo +nightly-2023-12-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
run: cd rust/apps/xrp && cargo +nightly-2024-01-31 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
27 changes: 27 additions & 0 deletions .github/workflows/rust-zcash-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
pull_request:
paths:
- rust/apps/zcash/**

name: Zcash Checks

jobs:
UnitTest:
name: Unit Test And Code coverage
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-01-31
override: true
components: rustfmt
target: x86_64-apple-darwin

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run rust/apps/zcash
run: cd rust/apps/zcash && cargo +nightly-2024-01-31 llvm-cov --fail-under-regions 48 --fail-under-functions 42 --fail-under-lines 56
8 changes: 8 additions & 0 deletions CHANGELOG-ZH.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 1.8.0(2024-12-19)

### 新增

1. 支持通过 Zashi 钱包管理 ZEC 资产



## 1.7.16(2024-12-13)

### Bug 修复
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 1.8.0(2024-12-19)

### What's new

1. Supported managing ZEC assets using Zashi Wallet



## 1.7.16(2024-12-13)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN apt-get install -y \
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
ENV PATH=/root/.cargo/bin:$PATH

RUN rustup default nightly-2023-12-01
RUN rustup target add thumbv7em-none-eabihf --toolchain nightly-2023-12-01
RUN rustup default nightly-2024-01-31
RUN rustup target add thumbv7em-none-eabihf --toolchain nightly-2024-01-31
RUN cargo install cbindgen bindgen-cli

RUN pip3 install PyYaml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ brew install armmbed/formulae/arm-none-eabi-gcc

# Install Rust
# For instructions, visit https://www.rust-lang.org/tools/install
rustup install nightly-2023-12-01
rustup install nightly-2024-01-31
rustup target add thumbv7em-none-eabihf
cargo install bindgen-cli
cargo install cbindgen
Expand Down
2 changes: 1 addition & 1 deletion docs/SIMULATOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ We recommend creating a virtual env for this project: https://docs.python.org/3/
Please follow Rust official site: https://www.rust-lang.org/tools/install

We have fixed the rust version in most of our rust libs so please run this command when you finish rust setup:
> rustup install nightly-2023-12-01
> rustup install nightly-2024-01-31

`cbindgen` is also required to build essential C header files for Rust libs, so run the following after rust setup:
> cargo install cbindgen
Expand Down
Loading
Loading