diff --git a/core/lib/external_price_api/src/forced_price_client.rs b/core/lib/external_price_api/src/forced_price_client.rs index 10b633db039..4ce54e6b9ad 100644 --- a/core/lib/external_price_api/src/forced_price_client.rs +++ b/core/lib/external_price_api/src/forced_price_client.rs @@ -11,8 +11,8 @@ use zksync_types::{base_token_ratio::BaseTokenAPIRatio, Address}; use crate::PriceAPIClient; -const VARIATION_RANGE: f64 = 0.2; //20% -const NEXT_VALUE_VARIATION_RANGE: f64 = 0.03; //3% +const VARIATION_RANGE: f64 = 0.03; //20% +const NEXT_VALUE_VARIATION_RANGE: f64 = 0.01; //3% // Struct for a forced price "client" (conversion ratio is always a configured "forced" ratio). #[derive(Debug)] diff --git a/core/tests/ts-integration/src/test-master.ts b/core/tests/ts-integration/src/test-master.ts index db4494a9651..fa6a8e12f5a 100644 --- a/core/tests/ts-integration/src/test-master.ts +++ b/core/tests/ts-integration/src/test-master.ts @@ -100,7 +100,7 @@ export class TestMaster { this.l2Provider.pollingInterval = 5000; } - this.mainWallet = new BumpUpFeeWallet(suiteWalletPK, this.l2Provider, this.l1Provider); + this.mainWallet = new zksync.Wallet(suiteWalletPK, this.l2Provider, this.l1Provider); } /** @@ -141,7 +141,7 @@ export class TestMaster { */ newEmptyAccount(): zksync.Wallet { const randomPK = ethers.Wallet.createRandom().privateKey; - const newWallet = new BumpUpFeeWallet(randomPK, this.l2Provider, this.l1Provider); + const newWallet = new zksync.Wallet(randomPK, this.l2Provider, this.l1Provider); this.subAccounts.push(newWallet); return newWallet; }