From 8f5f5757bd80579dd771efa6ac9c486a7e993c90 Mon Sep 17 00:00:00 2001 From: deniallugo Date: Tue, 16 Aug 2022 16:24:29 +0200 Subject: [PATCH] Make a new deposit Signed-off-by: deniallugo --- core/tests/loadnext/src/executor.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/tests/loadnext/src/executor.rs b/core/tests/loadnext/src/executor.rs index 255755d9c0..e6f41b8cb0 100644 --- a/core/tests/loadnext/src/executor.rs +++ b/core/tests/loadnext/src/executor.rs @@ -1,4 +1,5 @@ use futures::{channel::mpsc, future::join_all}; +use std::ops::Mul; use tokio::task::JoinHandle; use zksync::{ @@ -56,7 +57,7 @@ impl Executor { self.set_signing_key().await?; let (executor_future, account_futures) = self.send_initial_transfers().await?; self.wait_account_routines(account_futures).await; - + self.deposit_to_master().await; let final_resultion = executor_future.await.unwrap_or(LoadtestResult::TestFailed); Ok(final_resultion) @@ -83,7 +84,7 @@ impl Executor { /// Mints the ERC-20 token on the main wallet. async fn mint(&mut self) -> anyhow::Result<()> { vlog::info!("Master Account: Minting ERC20 token..."); - let deposit_amount = self.amount_to_deposit(); + let deposit_amount = self.amount_to_deposit().mul(3); let master_wallet = &self.pool.master_wallet; let mut ethereum = master_wallet.ethereum(&self.config.web3_url).await?;