From 59fccf430414df1c9e30123c58cfa22ce9604d4a Mon Sep 17 00:00:00 2001 From: Arvid Jakobsson Date: Tue, 1 Nov 2022 15:26:22 +0100 Subject: [PATCH] contract-security-non-existent-KT-address: use rpc (#2091) --- .../contract-security-non-existent-KT-address.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/contract-security-non-existent-KT-address.spec.ts b/integration-tests/contract-security-non-existent-KT-address.spec.ts index c49fa82c1f..58f3235595 100644 --- a/integration-tests/contract-security-non-existent-KT-address.spec.ts +++ b/integration-tests/contract-security-non-existent-KT-address.spec.ts @@ -6,11 +6,11 @@ import { Protocols, TezosToolkit } from '@taquito/taquito'; // KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn is the tzBTC contract on mainnet -const Tezos = new TezosToolkit(new RpcClient('http://mondaynet.ecadinfra.com:8732')); const testContractAddress = 'KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn'; CONFIGS().forEach(({ rpc, setup, protocol }) => { - const mondaynet = protocol === Protocols.ProtoALpha ? test: test.skip; + const mondaynet = protocol === Protocols.ProtoALpha ? test : test.skip; + const Tezos = new TezosToolkit(new RpcClient(rpc)); describe(`Test contracts using: ${rpc}`, () => { beforeEach(async (done) => {