Skip to content

Commit

Permalink
Merge pull request #2137 from ecadlabs/internal-lima-endpoint
Browse files Browse the repository at this point in the history
Replace lima rpc url in test
  • Loading branch information
roxaneletourneau authored Nov 22, 2022
2 parents ecade81 + 1c0b57d commit bececca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions integration-tests/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const kathmandunetEphemeral = {
};

const limanetEphemeral = {
rpc: process.env['TEZOS_RPC_LIMANET'] || 'https://limanet.ecadinfra.com',
rpc: process.env['TEZOS_RPC_LIMANET'] || 'http://ecad-limanet-full:8732',
pollingIntervalMilliseconds: process.env['POLLING_INTERVAL_MILLISECONDS'] || undefined,
rpcCacheMilliseconds: process.env['RPC_CACHE_MILLISECONDS'] || '1000',
knownBaker: process.env['TEZOS_BAKER'] || 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD',
Expand Down Expand Up @@ -157,7 +157,7 @@ const kathmandunetSecretKey = {
};

const limanetSecretKey = {
rpc: process.env['TEZOS_RPC_LIMANET'] || 'https://limanet-archive.ecadinfra.com',
rpc: process.env['TEZOS_RPC_LIMANET'] || 'http://ecad-limanet-full:8732',
pollingIntervalMilliseconds: process.env['POLLING_INTERVAL_MILLISECONDS'] || undefined,
rpcCacheMilliseconds: process.env['RPC_CACHE_MILLISECONDS'] || '1000',
knownBaker: process.env['TEZOS_BAKER'] || 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD',
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/contract-estimation-tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) =>
expect(estimate.minimalFeeMutez).toEqual(651);
expect(estimate.totalCost).toEqual(651);
expect(estimate.usingBaseFeeMutez).toEqual(651);
expect(estimate.consumedMilligas).toEqual(3148528);
expect(estimate.consumedMilligas).toEqual(3148700);
done();
})

Expand Down Expand Up @@ -198,7 +198,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) =>
expect(estimate.minimalFeeMutez).toEqual(811);
expect(estimate.totalCost).toEqual(129311);
expect(estimate.usingBaseFeeMutez).toEqual(811);
expect(estimate.consumedMilligas).toEqual(4156198);
expect(estimate.consumedMilligas).toEqual(4156370);
done();
})

Expand Down Expand Up @@ -230,7 +230,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) =>
expect(estimate.minimalFeeMutez).toEqual(698);
expect(estimate.totalCost).toEqual(79948);
expect(estimate.usingBaseFeeMutez).toEqual(698);
expect(estimate.consumedMilligas).toEqual(3559038);
expect(estimate.consumedMilligas).toEqual(3559210);
done();
})

Expand Down Expand Up @@ -258,7 +258,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) =>
expect(estimate.minimalFeeMutez).toEqual(905);
expect(estimate.totalCost).toEqual(159405);
expect(estimate.usingBaseFeeMutez).toEqual(905);
expect(estimate.consumedMilligas).toEqual(4977218);
expect(estimate.consumedMilligas).toEqual(4977390);
// Do the actual operation
const op2 = await contract.methods.do(originate2()).send();
await op2.confirmation();
Expand Down

0 comments on commit bececca

Please sign in to comment.