From f5d3549c2135047f178447240e26374b0b5d53d0 Mon Sep 17 00:00:00 2001 From: Oleh Bairak Date: Wed, 14 Feb 2024 16:31:18 +0100 Subject: [PATCH] fix: new one --- packages/integration-tests/src/entities.ts | 1 - packages/integration-tests/tests/api/contracts.test.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/integration-tests/src/entities.ts b/packages/integration-tests/src/entities.ts index 952d90b841..5c1879e5b1 100644 --- a/packages/integration-tests/src/entities.ts +++ b/packages/integration-tests/src/entities.ts @@ -1,6 +1,5 @@ export enum Buffer { greeterL2 = "./buffer/greeterL2.txt", - greeterL2VerifiedSepolia = "./buffer/sepoliaGreeterVerified.txt", executeGreeterTx = "./buffer/executeGreeterTx.txt", NFTtoL1 = "./buffer/NFTtoL1.txt", NFTtoL2 = "./buffer/NFTtoL2.txt", diff --git a/packages/integration-tests/tests/api/contracts.test.ts b/packages/integration-tests/tests/api/contracts.test.ts index 61966c6202..672d7f45f7 100644 --- a/packages/integration-tests/tests/api/contracts.test.ts +++ b/packages/integration-tests/tests/api/contracts.test.ts @@ -40,7 +40,7 @@ describe("API module: Contract", () => { //id1695 it("Verify /api?module=contract&action=getabi response", async () => { await helper.retryTestAction(async () => { - const greeterContract = await helper.getStringFromFile(bufferFile + Buffer.greeterL2VerifiedSepolia); + const greeterContract = "0xB0927430b017860BB0Af99f192Aa4a79D74f75bB"; apiRoute = `/api?module=contract&action=getabi&address=${greeterContract}`; response = await helper.performGETrequest(apiRoute, "sepolia"); @@ -54,7 +54,7 @@ describe("API module: Contract", () => { //id1802 it("Verify /api?module=contract&action=getsourcecode response", async () => { await helper.retryTestAction(async () => { - const greeterContract = await helper.getStringFromFile(bufferFile + Buffer.greeterL2VerifiedSepolia); + const greeterContract = "0xB0927430b017860BB0Af99f192Aa4a79D74f75bB"; apiRoute = `/api?module=contract&action=getsourcecode&address=${greeterContract}`; response = await helper.performGETrequest(apiRoute, "sepolia");