Skip to content

Commit

Permalink
fix: new one
Browse files Browse the repository at this point in the history
  • Loading branch information
olehbairak committed Feb 29, 2024
1 parent ba073cd commit 6d23d22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { localConfig } from "../../../config";
import { CustomValue, Logger } from "../../../entities";
import { Helper } from "../../../helper";

export const depositEth = async function (sum = CustomValue.txSumEth) {
export const depositEth = async function (sum = CustomValue.txSumEth.toString()) {
const helper = new Helper();
const syncProvider = new zksync.Provider(localConfig.L2Network);
const ethProvider = ethers.getDefaultProvider(localConfig.L1Network);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import { localConfig } from "../../../config";
import { Buffer, CustomValue, Logger, Wallets } from "../../../entities";
import { Helper } from "../../../helper";

export const transferEth = async function (sum = CustomValue.txSumEth, address: string = Wallets.mainWalletPrivateKey) {
export const transferEth = async function (
sum = CustomValue.txSumEth.toString(),
address: string = Wallets.mainWalletPrivateKey
) {
const helper = new Helper();
const syncProvider = new zksync.Provider(localConfig.L2Network);
const ethProvider = ethers.getDefaultProvider(localConfig.L1Network);
Expand Down

0 comments on commit 6d23d22

Please sign in to comment.