From 40775b2ba89f7fa53528888aa8b53d92850a1a6b Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Thu, 29 Feb 2024 17:22:31 +0100 Subject: [PATCH] fix: new one --- .../src/playbook/scenarios/deposit/depositETH.ts | 2 +- .../src/playbook/scenarios/transfers/transferETH.ts | 2 +- .../src/playbook/scenarios/withdrawal/withdrawETH.ts | 2 +- .../scenarios/withdrawal/withdrawETHtoOtherAddress.ts | 2 +- packages/integration-tests/tests/ui/transactions.spec.ts | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/integration-tests/src/playbook/scenarios/deposit/depositETH.ts b/packages/integration-tests/src/playbook/scenarios/deposit/depositETH.ts index acfc39f427..5af4b760ed 100644 --- a/packages/integration-tests/src/playbook/scenarios/deposit/depositETH.ts +++ b/packages/integration-tests/src/playbook/scenarios/deposit/depositETH.ts @@ -2,7 +2,7 @@ import * as ethers from "ethers"; import * as zksync from "zksync-web3"; import { localConfig } from "../../../config"; -import { CustomValue, Logger, txSumEth } from "../../../entities"; +import { Logger, txSumEth } from "../../../entities"; import { Helper } from "../../../helper"; export const depositEth = async function (sum = txSumEth) { diff --git a/packages/integration-tests/src/playbook/scenarios/transfers/transferETH.ts b/packages/integration-tests/src/playbook/scenarios/transfers/transferETH.ts index 5a62d73559..c19e26de4d 100644 --- a/packages/integration-tests/src/playbook/scenarios/transfers/transferETH.ts +++ b/packages/integration-tests/src/playbook/scenarios/transfers/transferETH.ts @@ -3,7 +3,7 @@ import { promises as fs } from "fs"; import * as zksync from "zksync-web3"; import { localConfig } from "../../../config"; -import { Buffer, CustomValue, Logger, txSumEth, Wallets } from "../../../entities"; +import { Buffer, Logger, txSumEth, Wallets } from "../../../entities"; import { Helper } from "../../../helper"; export const transferEth = async function (sum = txSumEth, address: string = Wallets.mainWalletPrivateKey) { diff --git a/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETH.ts b/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETH.ts index 74b960a963..55adab2b1f 100644 --- a/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETH.ts +++ b/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETH.ts @@ -3,7 +3,7 @@ import { promises as fs } from "fs"; import * as zksync from "zksync-web3"; import { localConfig } from "../../../config"; -import { Buffer, CustomValue, Logger, txSumEth } from "../../../entities"; +import { Buffer, Logger, txSumEth } from "../../../entities"; import { Helper } from "../../../helper"; export const withdrawETH = async function (sum = txSumEth) { diff --git a/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETHtoOtherAddress.ts b/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETHtoOtherAddress.ts index 4ee338a744..b3e975f2ad 100644 --- a/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETHtoOtherAddress.ts +++ b/packages/integration-tests/src/playbook/scenarios/withdrawal/withdrawETHtoOtherAddress.ts @@ -3,7 +3,7 @@ import { promises as fs } from "fs"; import * as zksync from "zksync-web3"; import { localConfig } from "../../../config"; -import { Buffer, CustomValue, Logger, txSumEth, Wallets } from "../../../entities"; +import { Buffer, Logger, txSumEth, Wallets } from "../../../entities"; import { Helper } from "../../../helper"; export const withdrawETHtoOtherAddress = async function (sum = txSumEth) { diff --git a/packages/integration-tests/tests/ui/transactions.spec.ts b/packages/integration-tests/tests/ui/transactions.spec.ts index 8ffc3e3f21..d340e0d633 100644 --- a/packages/integration-tests/tests/ui/transactions.spec.ts +++ b/packages/integration-tests/tests/ui/transactions.spec.ts @@ -1,14 +1,14 @@ import { expect, test } from "@playwright/test"; import { config } from "./config"; -import { BlockExplorer, Buffer, CustomValue, Token, Wallets } from "../../src/entities"; +import { BlockExplorer, Buffer, Token, txSumEth, Wallets } from "../../src/entities"; import { Helper } from "../../src/helper"; import type { Locator } from "@playwright/test"; const bufferRoute = "src/playbook/"; const helper = new Helper(); -const txSum = CustomValue.txSumEth; +const txSum = txSumEth; let url: string; let bufferFile; let failedTxHash: string;