diff --git a/crates/bitcoin-da/Cargo.toml b/crates/bitcoin-da/Cargo.toml index 0a4c9ff69..285da8c09 100644 --- a/crates/bitcoin-da/Cargo.toml +++ b/crates/bitcoin-da/Cargo.toml @@ -7,7 +7,7 @@ homepage = { workspace = true } license = "MIT OR Apache-2.0" publish = false repository = { workspace = true } -rust-version = "1.66" +rust-version = "1.67" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/bitcoin-da/src/service.rs b/crates/bitcoin-da/src/service.rs index 73236fa4d..9aa9ec399 100644 --- a/crates/bitcoin-da/src/service.rs +++ b/crates/bitcoin-da/src/service.rs @@ -821,7 +821,7 @@ mod tests { use bitcoin::hashes::Hash; use bitcoin::secp256k1::Keypair; use bitcoin::{BlockHash, CompactTarget}; - use sov_rollup_interface::da::{DaVerifier, SequencerCommitment}; + use sov_rollup_interface::da::DaVerifier; use sov_rollup_interface::services::da::{DaService, SlotData}; use super::BitcoinService; diff --git a/crates/bitcoin-da/src/verifier.rs b/crates/bitcoin-da/src/verifier.rs index 3158b01ad..46d5ec474 100644 --- a/crates/bitcoin-da/src/verifier.rs +++ b/crates/bitcoin-da/src/verifier.rs @@ -200,9 +200,8 @@ impl DaVerifier for BitcoinVerifier { } } Some(mut commitment_idx) => { - let merkle_root = merkle_tree::BitcoinMerkleTree::new(inclusion_proof.wtxids) - .root() - .expect("Merkle root should not fail"); + let merkle_root = + merkle_tree::BitcoinMerkleTree::new(inclusion_proof.wtxids).root(); let input_witness_value = coinbase_tx.input[0].witness.iter().next().unwrap();