Skip to content

Commit

Permalink
fix: swap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Feb 22, 2024
1 parent 2f15516 commit 0c76b4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/swap/tests/fixtures/mainnet/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NetworkNames } from "@enkryptcom/types";
import { isAddress, toBN } from "web3-utils";
import { NetworkType, TokenType, TokenTypeTo } from "../../../src/types";

const amount = toBN("10000000000000000000");
const amount = toBN("100000000000000000000");

const fromAddress = "0x6B175474E89094C44Da98b954EedeAC495271d0F";
const toAddress = "0x255d4D554325568A2e628A1E93120EbA1157C07e";
Expand Down
2 changes: 1 addition & 1 deletion packages/swap/tests/oneInch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe("OneInch Provider", () => {
`0x095ea7b3000000000000000000000000${ONEINCH_APPROVAL_ADDRESS.replace(
"0x",
""
)}000000000000000000000000000000000000000000000000${numberToHex(
)}00000000000000000000000000000000000000000000000${numberToHex(
amount
).replace("0x", "")}`
);
Expand Down
2 changes: 1 addition & 1 deletion packages/swap/tests/paraswap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("Paraswap Provider", () => {
`0x095ea7b3000000000000000000000000${PARASWAP_APPROVAL_ADDRESS.replace(
"0x",
""
)}000000000000000000000000000000000000000000000000${numberToHex(
)}00000000000000000000000000000000000000000000000${numberToHex(
amount
).replace("0x", "")}`
);
Expand Down
2 changes: 1 addition & 1 deletion packages/swap/tests/zerox.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe("Zerox Provider", () => {
`0x095ea7b3000000000000000000000000${ZEROX_APPROVAL.replace(
"0x",
""
)}000000000000000000000000000000000000000000000000${numberToHex(
)}00000000000000000000000000000000000000000000000${numberToHex(
amount
).replace("0x", "")}`
);
Expand Down

1 comment on commit 0c76b4f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.