Skip to content

Commit

Permalink
Merge of #9131
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 16, 2025
2 parents 926993a + 8034946 commit 1350adb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion book/src/dev/zebra-dependencies-for-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The following consensus, security, and functional changes are in Zebra's develop

The following list of dependencies is out of scope for the audit.

Please ignore the dependency versions in these tables, some of them are are outdated. All versions of these dependencies are out of scope.
Please ignore the dependency versions in these tables, some of them are outdated. All versions of these dependencies are out of scope.

The latest versions of Zebra's dependencies are in [`Cargo.lock`](https://github.com/ZcashFoundation/zebra/tree/audit-v1.0.0-rc.0/Cargo.lock), including transitive dependencies. They can be viewed using `cargo tree`.

Expand Down
2 changes: 1 addition & 1 deletion tower-batch-control/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ where
// We don't schedule any batches on an errored service
self.pending_batch_timer = None;

// By closing the mpsc::Receiver, we know that that the run() loop will
// By closing the mpsc::Receiver, we know that the run() loop will
// drain all pending requests. We just need to make sure that any
// requests that we receive before we've exhausted the receiver receive
// the error:
Expand Down
2 changes: 1 addition & 1 deletion zebra-chain/src/history_tree/tests/vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn push_and_prune_for_network_upgrade(
assert_eq!(first_commitment, ChainHistoryActivationReserved);
}

// Build initial history tree tree with only the first block
// Build initial history tree with only the first block
let first_sapling_root =
sapling::tree::Root::try_from(**sapling_roots.get(&height).expect("test vector exists"))?;
let mut tree = NonEmptyHistoryTree::from_block(
Expand Down
2 changes: 1 addition & 1 deletion zebra-chain/src/transaction/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl Transaction {
// > (nActionsOrchard > 0 and enableSpendsOrchard = 1).
//
// > A coinbase transaction for a block at block height greater than 0 MUST have
// > a script that, as its first item, encodes the block height height as follows. ...
// > a script that, as its first item, encodes the block height as follows. ...
// > let heightBytes be the signed little-endian representation of height,
// > using the minimum nonzero number of bytes such that the most significant byte
// > is < 0x80. The length of heightBytes MUST be in the range {1 .. 5}.
Expand Down
2 changes: 1 addition & 1 deletion zebra-consensus/src/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ where
#[instrument(name = "checkpoint", skip(self, block))]
fn call(&mut self, block: Arc<Block>) -> Self::Future {
// Reset the verifier back to the state tip if requested
// (e.g. due to an error when committing a block to to the state)
// (e.g. due to an error when committing a block to the state)
if let Ok(tip) = self.reset_receiver.try_recv() {
self.reset_progress(tip);
}
Expand Down
2 changes: 1 addition & 1 deletion zebra-rpc/src/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl Runner {

/// Remove transactions that are expired according to number of blocks and current spacing between blocks.
fn remove_expired(&mut self, spacing: Duration) {
// Have some extra time to to make sure we re-submit each transaction `NUMBER_OF_BLOCKS_TO_EXPIRE`
// Have some extra time to make sure we re-submit each transaction `NUMBER_OF_BLOCKS_TO_EXPIRE`
// times, as the main loop also takes some time to run.
let extra_time = Duration::seconds(5);

Expand Down

0 comments on commit 1350adb

Please sign in to comment.