From a29c93be1078aa26163a1587bceec78b155c4dbf Mon Sep 17 00:00:00 2001 From: BGluth Date: Wed, 3 Apr 2024 22:29:08 -0600 Subject: [PATCH] Final cleanup --- leader/src/lib.rs | 2 -- leader/src/padding_and_withdrawals.rs | 3 --- ops/src/lib.rs | 2 -- 3 files changed, 7 deletions(-) diff --git a/leader/src/lib.rs b/leader/src/lib.rs index d61ea3c..c6f3bef 100644 --- a/leader/src/lib.rs +++ b/leader/src/lib.rs @@ -172,8 +172,6 @@ pub async fn gather_witness( .await? .ok_or_else(|| anyhow!("Block not found. Block number: {}", block_number))?; - // println!("BLOCK: {:?}", block); - let mut state_mpt = Mpt::new(); let mut contract_codes = contract_codes(); let mut storage_mpts: HashMap<_, Mpt> = HashMap::new(); diff --git a/leader/src/padding_and_withdrawals.rs b/leader/src/padding_and_withdrawals.rs index 256a594..d4de2f0 100644 --- a/leader/src/padding_and_withdrawals.rs +++ b/leader/src/padding_and_withdrawals.rs @@ -113,9 +113,6 @@ pub(crate) fn add_withdrawals_to_txns( // If we have no actual dummy proofs, then we create one and append it to the // end of the block. false => { - // TODO: Decide if we want this allocation... - // To avoid double hashing the addrs, but I don't know if the extra `Vec` - // allocation is worth it. let withdrawals_with_hashed_addrs: Vec<_> = withdrawals_with_hashed_addrs_iter.collect(); diff --git a/ops/src/lib.rs b/ops/src/lib.rs index cf3bdc6..153d192 100644 --- a/ops/src/lib.rs +++ b/ops/src/lib.rs @@ -27,8 +27,6 @@ impl Operation for TxProof { type Output = AggregatableProof; fn execute(&self, input: Self::Input) -> Result { - println!("Input: {:#?}", input); - // If we hit a dummy txn, there is no signed txn, so we must come up with a // backup identifier to use for logging. let tx_ident = input