Skip to content

Commit

Permalink
".git/.scripts/commands/fmt/fmt.sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
command-bot committed Oct 13, 2023
1 parent dfad1d0 commit a91ac7d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions substrate/frame/alliance/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ mod benchmarks {
Ok(())
}

// We choose 4 as a minimum for param m, so we always trigger a vote in the voting loop (`for j in ...`)
// We choose 4 as a minimum for param m, so we always trigger a vote in the voting loop (`for j
// in ...`)
#[benchmark]
fn close_early_approved(
b: Linear<1, MAX_BYTES>,
Expand Down Expand Up @@ -325,7 +326,8 @@ mod benchmarks {
}

let index = p - 1;
// Caller switches vote to nay on their own proposal, allowing them to be the deciding approval vote
// Caller switches vote to nay on their own proposal, allowing them to be the deciding
// approval vote
Alliance::<T, I>::vote(
SystemOrigin::Signed(proposer.clone()).into(),
last_hash.clone(),
Expand Down Expand Up @@ -368,7 +370,8 @@ mod benchmarks {
Ok(())
}

// We choose 5 fellows as a minimum so we always trigger a vote in the voting loop (`for j in ...`)
// We choose 5 fellows as a minimum so we always trigger a vote in the voting loop (`for j in
// ...`)
#[benchmark]
fn close_disapproved(
b: Linear<1, MAX_BYTES>,
Expand Down

0 comments on commit a91ac7d

Please sign in to comment.