From 6d9937cfa9f617d8a37af8496050e97a730e58a2 Mon Sep 17 00:00:00 2001 From: JulesGuesnon Date: Tue, 30 Jan 2024 14:29:05 +0900 Subject: [PATCH] fix(tests): Putting addr instead of hardcoded address --- tests/e2eTest/v0.3.4.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/e2eTest/v0.3.4.ts b/tests/e2eTest/v0.3.4.ts index 2ced59a6..0bbfb19a 100644 --- a/tests/e2eTest/v0.3.4.ts +++ b/tests/e2eTest/v0.3.4.ts @@ -309,9 +309,7 @@ const test_suit = (setTezosToolkit: (tezos: TezosToolkit) => TezosToolkit) => it("should generate the SPOE transaction and it should be executed when applied", async () => { const v = VersionedApi(version, addr); - const contract = await retry(() => - tezos.wallet.at("KT1VcfDXTkmXtY5qyDdjJpkcU3ZiKkKbSqyS") - ); + const contract = await retry(() => tezos.wallet.at(addr)); const ops = await retry(() => v.generateSpoeOps("myPayload", contract, tezos) );