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

feat: Add monero app and its dependencies #1368

Draft
wants to merge 81 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
1a929fa
feat: Add monero app and its dependencies
Charon-Fan Sep 26, 2024
89c14af
feat: Add monero app to commands.sh
Charon-Fan Oct 8, 2024
5db1b1f
feat: add monero app & calc address
Charon-Fan Oct 9, 2024
1fd640a
Merge branch 'master' into feat/monero-integration
Charon-Fan Oct 9, 2024
f7d77b4
feat: Add Monero Rust C integration
Charon-Fan Oct 9, 2024
4b70c80
chore: add test & fmt
Charon-Fan Oct 9, 2024
c227bc8
Merge remote-tracking branch 'origin/master' into feat/monero-integra…
Charon-Fan Oct 9, 2024
a3012c9
chore: remove unused code
Charon-Fan Oct 9, 2024
07f0010
chore: update rust-monero-checks.yml and Cargo.toml
Charon-Fan Oct 9, 2024
672dd53
chore: update keystone-sdk-rust to version 0.0.33
Charon-Fan Oct 9, 2024
455cc39
fix: deps issues
Charon-Fan Oct 9, 2024
dc68c62
chore: Add rust-toolchain file for Monero integration
Charon-Fan Oct 9, 2024
ecd3fce
chore: Update target platform in rust-monero-checks.yml
Charon-Fan Oct 9, 2024
e57efd0
chore: Update target platform in rust-monero-checks.yml
Charon-Fan Oct 9, 2024
3c8483b
chore: monero_get_address
Charon-Fan Oct 10, 2024
2d17b9c
Merge remote-tracking branch 'origin/master' into feat/monero-integra…
Charon-Fan Oct 10, 2024
31f08a5
chore: generate Monero address
Charon-Fan Oct 10, 2024
0aaafd0
chore: monero fmt
Charon-Fan Oct 15, 2024
351a7c3
chore: clsag
Charon-Fan Oct 17, 2024
79f4dfa
feat: Add outputs module
Charon-Fan Oct 29, 2024
e0b4ae3
feat: Add key_images module
Charon-Fan Oct 31, 2024
9d371e2
Merge remote-tracking branch 'origin/master' into feat/monero-integra…
Charon-Fan Oct 31, 2024
a066a11
feat: integrate Monero
Charon-Fan Nov 13, 2024
7ba9dca
feat: add Monero transaction handling modules and constants
Charon-Fan Nov 27, 2024
a33b650
feat: add Monero performance testing and new dependencies
Charon-Fan Nov 27, 2024
d2fd56d
Merge remote-tracking branch 'origin/master' into feat/monero-integra…
Charon-Fan Nov 27, 2024
b33c46a
feat: update memory management functions and remove unused test function
Charon-Fan Nov 27, 2024
df7ed67
feat: update Rust toolchain version and add Monero support in various…
Charon-Fan Nov 28, 2024
0435986
feat: add Monero support with new wallet integration and tutorial upd…
Charon-Fan Dec 5, 2024
bb30be4
feat: add private mode QR code functionality and security notice in w…
Charon-Fan Dec 5, 2024
9ba834e
run font script
ww3512687 Dec 6, 2024
82a9eaf
feat: update QR code handling to use cyclic part retrieval and improv…
Charon-Fan Dec 6, 2024
d4ba050
feat: add Monero private view key support and refactor QR code handling
Charon-Fan Dec 9, 2024
1fb6cf3
Merge remote-tracking branch 'origin/master' into feat/monero-integra…
Charon-Fan Dec 10, 2024
2b197f3
fix: update dependencies to use tagged versions
Charon-Fan Dec 10, 2024
d3ec873
Merge remote-tracking branch 'origin/master' into feat/monero-integra…
Charon-Fan Dec 10, 2024
45ef057
fix: update submodule branch for keystone3-firmware-release
Charon-Fan Dec 10, 2024
6a00ebe
fix: update submodule commit for keystone3-firmware-release
Charon-Fan Dec 10, 2024
d29392d
fix: update Rust toolchain to nightly-2024-07-01 and ensure core2 dep…
Charon-Fan Dec 10, 2024
d1819c6
fix: remove outdated Rust toolchain files from firmware-maker and fir…
Charon-Fan Dec 10, 2024
d20e737
chore: bake base image
soralit Dec 10, 2024
d5d8cbb
fix: update submodule commit for keystone3-firmware-release
Charon-Fan Dec 10, 2024
332e3dc
fix: add ValidityCheck trait from curve25519_dalek to sign module
Charon-Fan Dec 10, 2024
4f57902
fix: update curve25519-dalek dependency to version 4.1.3 and remove V…
Charon-Fan Dec 10, 2024
a6a27a5
fix: remove point validity check from signature verification
Charon-Fan Dec 10, 2024
05d0669
fix: remove ValidityCheck trait import from sign module
Charon-Fan Dec 10, 2024
eead8e5
refactor: reorganize module imports and improve code formatting
Charon-Fan Dec 11, 2024
e59e15a
style: fmt
Charon-Fan Dec 11, 2024
c78c382
feat: add support for additional transaction keys in key image genera…
Charon-Fan Dec 11, 2024
6d395af
fix: use instance's tx_pubkey when additional transaction public key …
Charon-Fan Dec 11, 2024
b4ee7bc
refactor: remove redundant test for additional keys in key image gene…
Charon-Fan Dec 11, 2024
207c8eb
fix: update key image generation logic to handle major and minor vers…
Charon-Fan Dec 11, 2024
2d9b13f
fix: update encryption to use ChaCha20 with a 12-byte nonce and add u…
Charon-Fan Dec 11, 2024
0e5deb2
fix: update wallet labels to improve clarity and add support for prim…
Charon-Fan Dec 16, 2024
2f4217d
fix: improve tooltip hint box management by ensuring proper closure a…
Charon-Fan Dec 16, 2024
c7ef837
fix: add support for TXO signing confirmation in transaction detail n…
Charon-Fan Dec 16, 2024
2781c9c
fix: add handler for returning to previous tile in private mode QR sh…
Charon-Fan Dec 16, 2024
d6ba677
fix: ensure QR data is set when canceling attention in wallet connection
Charon-Fan Dec 16, 2024
6e5ae88
fix: exit private mode when canceling attention in wallet connection
Charon-Fan Dec 16, 2024
107f1d9
fix: correct condition for generating additional transaction public key
Charon-Fan Dec 17, 2024
6bb67d4
fix: add CAKE wallet to the wallet list
Charon-Fan Dec 17, 2024
be081c3
fix: streamline private mode exit handling and improve QR mode closure
Charon-Fan Dec 17, 2024
a5c8d50
fix: ensure proper exit from private mode and clean up attention handler
Charon-Fan Dec 17, 2024
bd4a510
fix: increase stack size for QR decode task to improve performance
Charon-Fan Dec 17, 2024
cf05712
fix: disable Monero wallet in home state and update Slip39 wallet sup…
Charon-Fan Dec 17, 2024
183b4a0
fix: destroy QR code animation timer on exiting private mode
Charon-Fan Dec 18, 2024
6faedef
fix: update Monero hint boxes to use localized strings and improve to…
Charon-Fan Dec 18, 2024
d097801
run font script
ww3512687 Dec 18, 2024
b647caa
fix: simplify key image generation logic by removing redundant checks
Charon-Fan Dec 18, 2024
a2bb715
fix: enhance key image generation logic by refining additional transa…
Charon-Fan Dec 18, 2024
369fb76
fix: increase stack size for QR decode and UI display tasks; ensure Q…
Charon-Fan Dec 19, 2024
97978d2
fix: optimize transaction overview layout by adjusting container heig…
Charon-Fan Dec 19, 2024
1128afb
run font script
ww3512687 Dec 19, 2024
63b5aa9
run font script
ww3512687 Dec 19, 2024
ddcb089
fix: adjust transaction overview layout by refining container height …
Charon-Fan Dec 19, 2024
8ebcfad
fix: standardize button label text in AR address notice window for co…
Charon-Fan Dec 19, 2024
de325c8
Update version
bianminyan Dec 20, 2024
1b5ce3f
fix: update address prefix for Monero to include Sub_Address and impr…
Charon-Fan Dec 23, 2024
1e896a3
fix: replace monero_generators_mirror::hash_to_point with monero_sera…
Charon-Fan Dec 23, 2024
fa94406
fix: remove unused dependencies and update rand_core version for cons…
Charon-Fan Dec 23, 2024
28324d9
run font script
ww3512687 Dec 24, 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-07-01
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-07-01 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-07-01
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-07-01 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-07-01
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-07-01 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-07-01
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-07-01 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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
36 changes: 19 additions & 17 deletions .github/workflows/rust-fmt-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,42 @@ jobs:

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-01
toolchain: nightly-2024-07-01
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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 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-07-01 fmt --check
- name: Run rust/apps/monero
run: cd rust/apps/monero && cargo +nightly-2024-07-01 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-07-01 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-07-01 fmt --check
- name: Run rust/keystore
run: cd rust/keystore && cargo +nightly-2023-12-01 fmt --check
run: cd rust/keystore && cargo +nightly-2024-07-01 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-07-01 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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
27 changes: 27 additions & 0 deletions .github/workflows/rust-monero-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
pull_request:
paths:
- rust/apps/monero/**

name: Monero 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-07-01
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/monero
run: cd rust/apps/monero && cargo +nightly-2024-07-01 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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
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-07-01
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-07-01 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-07-01
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-07-01 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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
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-07-01
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-07-01 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-07-01
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-07-01 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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
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-07-01
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-07-01 llvm-cov --fail-under-functions 50 --fail-under-lines 50 --fail-under-regions 50
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
[submodule "keystone3-firmware-release"]
path = keystone3-firmware-release
url = [email protected]:KeystoneHQ/keystone3-firmware-release.git
branch = fix-build-monero
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-07-01
RUN rustup target add thumbv7em-none-eabihf --toolchain nightly-2024-07-01
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-07-01
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-07-01

`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
Binary file added images/coin/coinXmr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/img/imgQrcodeMask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/wallet/walletCake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/walletList/walletListCake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion keystone3-firmware-release
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2023-12-01
nightly-2024-07-01
4 changes: 2 additions & 2 deletions rust/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(NOT BUILD_TYPE STREQUAL "Simulator")

add_custom_target(rust_c ALL
COMMAND ${CBINDGEN_EXE} ${CBINDGEN_FLAG}
COMMAND rustup run nightly-2023-12-01 ${RUST_CARGO_EXECUTABLE} build ${CARGO_FLAG}
COMMAND rustup run nightly-2024-07-01 ${RUST_CARGO_EXECUTABLE} build ${CARGO_FLAG}
COMMAND ${COPY_COMMAND}
WORKING_DIRECTORY ${RUST_DIR}
)
Expand All @@ -44,7 +44,7 @@ else()

add_custom_target(rust_c ALL
COMMAND ${CBINDGEN_EXE} ${CBINDGEN_FLAG}
COMMAND rustup run nightly-2023-12-01 ${RUST_CARGO_EXECUTABLE} build ${CARGO_FLAG}
COMMAND rustup run nightly-2024-07-01 ${RUST_CARGO_EXECUTABLE} build ${CARGO_FLAG}
COMMAND ${COPY_COMMAND}
WORKING_DIRECTORY ${RUST_DIR}
)
Expand Down
Loading