Skip to content

Commit

Permalink
Merge branch 'next' into polydez-onchain-accounts-store
Browse files Browse the repository at this point in the history
# Conflicts:
#	block-producer/src/block_builder/prover/block_witness.rs
#	block-producer/src/test_utils/block.rs
  • Loading branch information
polydez committed Apr 5, 2024
2 parents 12a8bb9 + bb79cb2 commit 09987a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion block-producer/src/block_builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down
4 changes: 3 additions & 1 deletion block-producer/src/block_builder/prover/block_witness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions block-producer/src/test_utils/block.rs
Original file line number Diff line number Diff line change
@@ -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},
Expand Down

0 comments on commit 09987a8

Please sign in to comment.