Skip to content

Commit

Permalink
get rid of lowercasing addr
Browse files Browse the repository at this point in the history
  • Loading branch information
MariuszSzpyt committed Aug 29, 2024
1 parent 07b7c6c commit 9b3ff10
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-main.deposit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("Gasp UI deposit tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver, true);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-main.metamask.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("Gasp UI wallet tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-main.my-positions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe("Gasp UI swap tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver, true);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-main.swap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("Gasp UI swap tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver, true);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-main.withdraw.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("Gasp UI withdraw tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver, true);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-prod.deposit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("Gasp Prod UI deposit tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver, true);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down
2 changes: 1 addition & 1 deletion test/rollup-test/rollup-prod.withdraw.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe("Gasp Prod UI withdraw tests", () => {

driver = await DriverBuilder.getInstance();
acc_addr = await importMetamaskExtension(driver, true);
acc_addr_short = acc_addr.slice(-4).toLowerCase();
acc_addr_short = acc_addr.slice(-4);

await setupPage(driver);
await connectWallet(driver, "MetaMask", acc_addr_short);
Expand Down

0 comments on commit 9b3ff10

Please sign in to comment.