Skip to content

Commit

Permalink
contract-security-non-existent-KT-address: use rpc (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidj authored and egarson committed Nov 16, 2022
1 parent a3cf23a commit b45be26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit b45be26

Please sign in to comment.