Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
grishasobol committed Dec 20, 2024
1 parent 341e0b4 commit 9fe95d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ethexe/cli/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,10 @@ async fn ping_deep_sync() {
async fn multiple_validators() {
gear_utils::init_default_logger();

let mut config = TestEnvConfig::default();
config.validators = ValidatorsConfig::Generated(3);
let config = TestEnvConfig {
validators: ValidatorsConfig::Generated(3),
..Default::default()
};
let mut env = TestEnv::new(config).await.unwrap();

log::info!("📗 Starting sequencer");
Expand Down Expand Up @@ -1090,7 +1092,7 @@ mod utils {

pub async fn skip_blocks(&self, blocks_amount: u32) {
if self.continuous_block_generation {
tokio::time::sleep(self.block_time.clone().mul(blocks_amount)).await;
tokio::time::sleep(self.block_time.mul(blocks_amount)).await;
} else {
self.observer
.provider()
Expand Down

0 comments on commit 9fe95d7

Please sign in to comment.