Skip to content

Commit

Permalink
Final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BGluth committed Apr 4, 2024
1 parent f34002f commit a29c93b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions leader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 0 additions & 3 deletions leader/src/padding_and_withdrawals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 0 additions & 2 deletions ops/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ impl Operation for TxProof {
type Output = AggregatableProof;

fn execute(&self, input: Self::Input) -> Result<Self::Output> {
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
Expand Down

0 comments on commit a29c93b

Please sign in to comment.