diff --git a/integration-tests/__tests__/contract/estimation-tests.spec.ts b/integration-tests/__tests__/contract/estimation-tests.spec.ts index ce9bf98461..6b260fe721 100644 --- a/integration-tests/__tests__/contract/estimation-tests.spec.ts +++ b/integration-tests/__tests__/contract/estimation-tests.spec.ts @@ -102,7 +102,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { expect(estimate.minimalFeeMutez).toEqual(374); expect(estimate.totalCost).toEqual(374); expect(estimate.usingBaseFeeMutez).toEqual(374); - expect(estimate.consumedMilligas).toEqual(1455454); + expect(estimate.consumedMilligas).toEqual(1455798); }); it('Verify .estimate.transfer for multiple internal transfers to unallocated account', async () => { @@ -112,14 +112,14 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { 50) ).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(1570); + expect(estimate.gasLimit).toEqual(1571); expect(estimate.storageLimit).toEqual(534); - expect(estimate.suggestedFeeMutez).toEqual(464); + expect(estimate.suggestedFeeMutez).toEqual(465); expect(estimate.burnFeeMutez).toEqual(133500); - expect(estimate.minimalFeeMutez).toEqual(444); - expect(estimate.totalCost).toEqual(133944); - expect(estimate.usingBaseFeeMutez).toEqual(444); - expect(estimate.consumedMilligas).toEqual(1569983); + expect(estimate.minimalFeeMutez).toEqual(445); + expect(estimate.totalCost).toEqual(133945); + expect(estimate.usingBaseFeeMutez).toEqual(445); + expect(estimate.consumedMilligas).toEqual(1570327); }); it('Verify .estimate.transfer for internal origination', async () => { @@ -132,7 +132,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { expect(estimate.minimalFeeMutez).toEqual(421); expect(estimate.totalCost).toEqual(84671); expect(estimate.usingBaseFeeMutez).toEqual(421); - expect(estimate.consumedMilligas).toEqual(1866078); + expect(estimate.consumedMilligas).toEqual(1866422); }); it('Verify .estimate.transfer for multiple internal originations', async () => { @@ -145,7 +145,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { expect(estimate.minimalFeeMutez).toEqual(539); expect(estimate.totalCost).toEqual(164039); expect(estimate.usingBaseFeeMutez).toEqual(539); - expect(estimate.consumedMilligas).toEqual(2391231); + expect(estimate.consumedMilligas).toEqual(2391575); // Do the actual operation const op2 = await contract.methods.do(originate2()).send(); await op2.confirmation(); diff --git a/integration-tests/__tests__/rpc/nodes.spec.ts b/integration-tests/__tests__/rpc/nodes.spec.ts index bbf49f174c..a7877c79b0 100644 --- a/integration-tests/__tests__/rpc/nodes.spec.ts +++ b/integration-tests/__tests__/rpc/nodes.spec.ts @@ -19,7 +19,7 @@ CONFIGS().forEach( knownViewContract, }) => { const Tezos = lib; - const unrestrictedRPCNode = rpc.endsWith("ecadinfra.com") ? test.skip : test; + const unrestrictedRPCNode = rpc.includes("teztnets.com") ? test : test.skip; const quebecbnet = protocol === Protocols.PsQuebecB ? test : test.skip; let ticketContract: DefaultContractType; @@ -165,7 +165,7 @@ CONFIGS().forEach( expect(bigMapValue).toBeDefined(); }); - it(`Verify that rpcClient.getAllDelegates returns all delegates from RPC`, async () => { + unrestrictedRPCNode(`Verify that rpcClient.getAllDelegates returns all delegates from RPC`, async () => { const allDelegates = await rpcClient.getAllDelegates(); expect(allDelegates).toBeDefined(); diff --git a/integration-tests/config.ts b/integration-tests/config.ts index e652b22d66..31c906134a 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -139,19 +139,19 @@ const parisnetEphemeral: Config = }); const parisnetSecretKey: Config = - { ...parisnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.pariscnet.teztnets.com/' } }; + { ...parisnetEphemeral, ...{ signerConfig: defaultSecretKey } }; const quebecbnetEphemeral: Config = defaultConfig({ networkName: 'QUEBECBNET', protocol: Protocols.PsQuebecB, - defaultRpc: 'https://rpc.quebecbnet.teztnets.com/', - knownContracts: knownContractsPsParisCZ, + defaultRpc: 'https://quebecbnet.ecadinfra.com/', + knownContracts: knownContractsPsQuebecB, signerConfig: defaultEphemeralConfig('https://keygen.ecadinfra.com/quebecbnet') }); const quebecbnetSecretKey: Config = - { ...quebecbnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.quebecbcnet.teztnets.com/' } }; + { ...quebecbnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.quebecbnet.teztnets.com/' } }; const ghostnetEphemeral: Config = defaultConfig({ @@ -163,7 +163,7 @@ const ghostnetEphemeral: Config = }); const ghostnetSecretKey: Config = - { ...ghostnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'http://ecad-tezos-ghostnet-rolling-1.i.ecadinfra.com/' } }; + { ...ghostnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://ghostnet.ecadinfra.com/' } }; const weeklynetEphemeral: Config = defaultConfig({