diff --git a/block-producer/src/block_builder/mod.rs b/block-producer/src/block_builder/mod.rs index 5ea07dff8..cb0502528 100644 --- a/block-producer/src/block_builder/mod.rs +++ b/block-producer/src/block_builder/mod.rs @@ -2,7 +2,7 @@ use std::sync::Arc; use async_trait::async_trait; use miden_node_utils::formatting::{format_array, format_blake3_digest}; -use miden_objects::{accounts::AccountId, notes::Nullifier, Digest}; +use miden_objects::notes::Nullifier; use tracing::{debug, info, instrument}; use crate::{ diff --git a/block-producer/src/block_builder/prover/block_witness.rs b/block-producer/src/block_builder/prover/block_witness.rs index be7df16b3..c72c84ddc 100644 --- a/block-producer/src/block_builder/prover/block_witness.rs +++ b/block-producer/src/block_builder/prover/block_witness.rs @@ -50,7 +50,9 @@ impl BlockWitness { .iter() .flat_map(|batch| batch.updated_accounts()) .map( - |UpdatedAccount {account_id, final_state_hash, + |UpdatedAccount { + account_id, + final_state_hash, .. }| { let initial_state_hash = account_initial_states diff --git a/block-producer/src/test_utils/block.rs b/block-producer/src/test_utils/block.rs index 586f4785e..02c8a28cd 100644 --- a/block-producer/src/test_utils/block.rs +++ b/block-producer/src/test_utils/block.rs @@ -1,8 +1,5 @@ -use std::collections::BTreeMap; - use miden_node_proto::domain::accounts::UpdatedAccount; use miden_objects::{ - accounts::AccountId, block::BlockNoteTree, crypto::merkle::{Mmr, SimpleSmt}, notes::{NoteEnvelope, Nullifier},