Skip to content

Commit 9ca7570

Browse files
committed
bump deps and toolchain
1 parent ad084ac commit 9ca7570

5 files changed

Lines changed: 18 additions & 13 deletions

File tree

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ edition = "2021"
55

66
[dependencies]
77
messages = { path = "./messages" }
8-
ledger_device_sdk = "1.29.1"
9-
ledger_secure_sdk_sys = "1.12.1"
8+
ledger_device_sdk = "1.30.0"
9+
ledger_secure_sdk_sys = "1.13.0"
1010
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
1111
bech32 = { version = "0.11", default-features = false, features = ["alloc"] }
1212
chrono = { version = "0.4", default-features = false, features = ["alloc"] }
1313

14-
mintlayer-core-primitives = { git = "https://github.com/mintlayer/mintlayer-core-primitives", branch = "feature/ledger-coin-type" }
14+
mintlayer-core-primitives = { git = "https://github.com/mintlayer/mintlayer-core-primitives", rev = "13b10dbc88efdf3b5aa31ece8e34278bc69a5a9b", package = "mintlayer-core-primitives" }
1515

1616
[build-dependencies]
1717
image = "0.25.8"

messages/Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ version = "0.1.0"
44
edition = "2024"
55

66
[dependencies]
7-
# Fixed in: https://github.com/paritytech/parity-scale-codec/pull/751
8-
# Should be included in versions after 3.7.5
7+
# Use the specific commit "5021525697edc0661591ebc71392c48d950a10b0",
8+
# which includes a fix for NanoX devices that do not support certain
9+
# atomic operations.
10+
#
11+
# Fix reference: https://github.com/paritytech/parity-scale-codec/pull/751
12+
# This fix should be included in releases after version 3.7.5.
913
parity-scale-codec = { git = "https://github.com/paritytech/parity-scale-codec.git", rev = "5021525697edc0661591ebc71392c48d950a10b0", default-features = false, features = [
1014
"derive",
1115
"chain-error",
1216
] }
13-
mintlayer-core-primitives = { git = "https://github.com/mintlayer/mintlayer-core-primitives", branch = "feature/ledger-coin-type" }
17+
mintlayer-core-primitives = { git = "https://github.com/mintlayer/mintlayer-core-primitives", rev = "13b10dbc88efdf3b5aa31ece8e34278bc69a5a9b", package = "mintlayer-core-primitives" }
1418
num_enum = { version = "0.7.5", default-features = false }

rust-toolchain.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2024-12-01"
2+
channel = "nightly-2025-12-05"
3+

src/app_ui/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ pub fn bech32m_encode(hrp: &str, data: &[u8]) -> Result<String, StatusWord> {
3030
}
3131

3232
pub fn to_address(destination: &Destination, coin: PCoinType) -> Result<String, StatusWord> {
33-
let hrp = coin.address_prefix(destination);
33+
let hrp = coin.address_prefix(destination.into());
3434
bech32m_encode(hrp, &encode(destination))
3535
}

0 commit comments

Comments
 (0)