From 8957a3689cb611d11e52c251665c093f125bb921 Mon Sep 17 00:00:00 2001 From: benma's agent Date: Thu, 9 Jul 2026 10:01:59 +0000 Subject: [PATCH 1/2] Fix beta clippy lint Remove redundant references in format arguments so the beta toolchain passes with warnings denied. --- src/eth.rs | 4 ++-- tests/test_btc_psbt.rs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/eth.rs b/src/eth.rs index f8c510b..1e7ec10 100644 --- a/src/eth.rs +++ b/src/eth.rs @@ -418,12 +418,12 @@ fn get_value( .get(&typ.struct_name) .ok_or(format!( "could not lookup type of name: {}", - &typ.struct_name + typ.struct_name ))? .get(*element as usize) .ok_or(format!( "could not lookup member #{} of type: {}", - *element, &typ.struct_name + *element, typ.struct_name ))?; value = Either::JsonValue( value diff --git a/tests/test_btc_psbt.rs b/tests/test_btc_psbt.rs index 29aaf38..d2af3d6 100644 --- a/tests/test_btc_psbt.rs +++ b/tests/test_btc_psbt.rs @@ -466,7 +466,7 @@ async fn test_btc_psbt_multisig_p2wsh() { let multi_descriptor: miniscript::Descriptor = format!( "wsh(sortedmulti({},[{}/48'/1'/0'/2']{}/<0;1>/*,{}/<0;1>/*))", - threshold, our_root_fingerprint, &our_xpub, &some_xpub + threshold, our_root_fingerprint, our_xpub, some_xpub ) .parse::>() .unwrap(); @@ -612,7 +612,7 @@ async fn test_btc_psbt_policy_wsh() { let multi_descriptor: miniscript::Descriptor = policy .replace( "@0", - &format!("[{}/48'/1'/0'/3']{}", &our_root_fingerprint, &our_xpub), + &format!("[{}/48'/1'/0'/3']{}", our_root_fingerprint, our_xpub), ) .replace("@1", &some_xpub.to_string()) .parse::>() @@ -775,7 +775,7 @@ async fn test_btc_psbt_policy_tr_keyspend() { let multi_descriptor: miniscript::Descriptor = policy .replace( "@0", - &format!("[{}/48'/1'/0'/3']{}", &our_root_fingerprint, &our_xpub), + &format!("[{}/48'/1'/0'/3']{}", our_root_fingerprint, our_xpub), ) .parse::>() .unwrap(); @@ -934,7 +934,7 @@ async fn test_btc_psbt_policy_tr_scriptspend() { let multi_descriptor: miniscript::Descriptor = policy .replace( "@1", - &format!("[{}/48'/1'/0'/3']{}", &our_root_fingerprint, &our_xpub), + &format!("[{}/48'/1'/0'/3']{}", our_root_fingerprint, our_xpub), ) .replace("@0", &some_xpub.to_string()) .parse::>() From 7a666342cf348d7f2f6231c54e4c3c7f470ec2d5 Mon Sep 17 00:00:00 2001 From: benma's agent Date: Thu, 9 Jul 2026 09:47:03 +0000 Subject: [PATCH 2/2] Add firmware simulator v9.26.3 Add the v9.26.3 BitBox02 simulator release to the simulator test data. --- tests/simulators.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/simulators.json b/tests/simulators.json index d27efd4..83c9cfe 100644 --- a/tests/simulators.json +++ b/tests/simulators.json @@ -30,5 +30,9 @@ { "url": "https://github.com/BitBoxSwiss/bitbox02-firmware/releases/download/firmware%2Fv9.26.1/bitbox02-multi-v9.26.1-simulator1.0.0-linux-amd64", "sha256": "91ddf47eb0653ce8b3d3344a8e329fc7fef90adfa51e39c5214830cf6e21cccf" + }, + { + "url": "https://github.com/BitBoxSwiss/bitbox02-firmware/releases/download/firmware%2Fv9.26.3/bitbox02-multi-v9.26.3-simulator1.0.0-linux-amd64", + "sha256": "606e1fe6845430a47d1ecbda1df77a3b5e43a5dd164d2568431bbfdc882004dc" } ]