From 1f66ebb3ce8273db43ad2e450bda1c652ee79dee Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 19 Sep 2024 15:43:46 -0700 Subject: [PATCH 01/14] test: configured to run quebecB tests --- .github/workflows/main.yml | 8 ++++---- .../contract/operations/staking.spec.ts | 2 +- .../__tests__/rpc/get-protocol-constants.spec.ts | 4 ++-- integration-tests/__tests__/rpc/nodes.spec.ts | 6 +++--- .../wallet/staking-pseudo-operations.spec.ts | 2 +- integration-tests/config.ts | 16 ++++++++-------- integration-tests/known-contracts-PsQuebecB.ts | 8 ++++++++ integration-tests/known-contracts-PtBetaaEZ.ts | 8 -------- integration-tests/package.json | 2 +- packages/taquito-local-forging/src/protocols.ts | 4 ++-- packages/taquito/src/constants.ts | 6 +++--- 11 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 integration-tests/known-contracts-PsQuebecB.ts delete mode 100644 integration-tests/known-contracts-PtBetaaEZ.ts diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af87978bfd..7088294793 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,14 +64,14 @@ jobs: env: # Ternary operator workaround TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }} - integration-tests-testnet-quebecA-secret-key: + integration-tests-testnet-quebecB-secret-key: runs-on: ubuntu-latest continue-on-error: true strategy: matrix: include: - - testnet: betanet - testnet_uppercase: BETANET + - testnet: quebecbnet + testnet_uppercase: QUEBECBNET steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -85,6 +85,6 @@ jobs: with: authkey: ${{ secrets.TAILSCALE_AUTHKEY }} version: 1.32.2 - - run: npm -w integration-tests run test:betanet-secret-key + - run: npm -w integration-tests run test:quebecbnet-secret-key env: RUN_${{ matrix.testnet_uppercase }}_WITH_SECRET_KEY: true \ No newline at end of file diff --git a/integration-tests/__tests__/contract/operations/staking.spec.ts b/integration-tests/__tests__/contract/operations/staking.spec.ts index ff720f3065..0b4b06a1c2 100644 --- a/integration-tests/__tests__/contract/operations/staking.spec.ts +++ b/integration-tests/__tests__/contract/operations/staking.spec.ts @@ -6,7 +6,7 @@ CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { beforeAll(async () => { await setup(true); - // There is no baker accept staking in betanet and weeklylnet hence tests will fail + // There is no baker accept staking in quebecbnet and weeklylnet hence tests will fail // Currently TF is a baker that allows staking on parisnet. if (rpc.includes('paris')) { knownBaker = 'tz3Q67aMz7gSMiQRcW729sXSfuMtkyAHYfqc' // TF diff --git a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts index 0c923b330f..00e3a7d3c4 100644 --- a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts +++ b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts @@ -6,7 +6,7 @@ import { ConstantsResponseProto020, ConstantsResponseProto021 } from '@taquito/r CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { const Tezos = lib; const parisnet = (networkType == NetworkType.TESTNET && protocol === Protocols.PsParisCZ) ? test : test.skip; - const betanet = (networkType == NetworkType.TESTNET && protocol === Protocols.PtBetaaEZ) ? test : test.skip; + const quebecbnet = (networkType == NetworkType.TESTNET && protocol === Protocols.PsQuebecB) ? test : test.skip; const weeklynet = (networkType == NetworkType.TESTNET && protocol === Protocols.ProtoALpha) ? test : test.skip; describe('Test fetching constants for all protocols on Mainnet', () => { const rpcUrl = 'https://mainnet.ecadinfra.com/'; @@ -304,7 +304,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { }); }); - betanet(`should successfully fetch all constants for Betanet + quebecbnet(`should successfully fetch all constants for quebecbnet using ${rpc}`, async () => { Tezos.setRpcProvider(rpc); const constants: ConstantsResponseProto021 = await Tezos.rpc.getConstants(); diff --git a/integration-tests/__tests__/rpc/nodes.spec.ts b/integration-tests/__tests__/rpc/nodes.spec.ts index 71a54bcdee..bbf49f174c 100644 --- a/integration-tests/__tests__/rpc/nodes.spec.ts +++ b/integration-tests/__tests__/rpc/nodes.spec.ts @@ -20,7 +20,7 @@ CONFIGS().forEach( }) => { const Tezos = lib; const unrestrictedRPCNode = rpc.endsWith("ecadinfra.com") ? test.skip : test; - const betanet = protocol === Protocols.PtBetaaEZ ? test : test.skip; + const quebecbnet = protocol === Protocols.PsQuebecB ? test : test.skip; let ticketContract: DefaultContractType; beforeAll(async () => { @@ -66,7 +66,7 @@ CONFIGS().forEach( expect(balance).toBeDefined(); }); - betanet(`Verify that rpcClient.getSpendable for knownBaker returns the spendable balance excluding frozen bonds`, async () => { + quebecbnet(`Verify that rpcClient.getSpendable for knownBaker returns the spendable balance excluding frozen bonds`, async () => { const balance = await rpcClient.getSpendable(knownBaker); expect(balance).toBeDefined(); }); @@ -76,7 +76,7 @@ CONFIGS().forEach( expect(balance).toBeDefined(); }); - betanet(`Verify that rpcClient.getSpendableAndFrozenBonds for knownBaker returns the full balance`, async () => { + quebecbnet(`Verify that rpcClient.getSpendableAndFrozenBonds for knownBaker returns the full balance`, async () => { const balance = await rpcClient.getSpendableAndFrozenBonds(knownBaker); expect(balance).toBeDefined(); }); diff --git a/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts b/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts index 471b7ebd92..a9fd70fc20 100644 --- a/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts +++ b/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts @@ -7,7 +7,7 @@ CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { beforeAll(async () => { await setup(true); try { - // There is no baker accept staking in betanet and weeklylnet hence tests will fail + // There is no baker accept staking in quebecbnet and weeklylnet hence tests will fail // Currently TF is a baker that allows staking on parisnet. if (rpc.includes('paris')) { knownBaker = 'tz3Q67aMz7gSMiQRcW729sXSfuMtkyAHYfqc' // TF diff --git a/integration-tests/config.ts b/integration-tests/config.ts index d3543694a1..f06fb3bcfa 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -8,7 +8,7 @@ import { KnownContracts } from './known-contracts'; import { knownContractsProtoALph } from './known-contracts-ProtoALph'; import { knownContractsPtGhostnet } from './known-contracts-PtGhostnet'; import { knownContractsPsParisCZ } from './known-contracts-PsParisCZ'; -import { knownContractsPtBetaaEZ } from './known-contracts-PtBetaaEZ'; +import { knownContractsPsQuebecB } from './known-contracts-PsQuebecB'; const nodeCrypto = require('crypto'); @@ -141,12 +141,12 @@ const parisnetEphemeral: Config = const parisnetSecretKey: Config = { ...parisnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.pariscnet.teztnets.com/' } }; -const betanetSecretKey: Config = +const quebecbnetSecretKey: Config = defaultConfig({ - networkName: 'BETANET', - protocol: Protocols.PtBetaaEZ, - defaultRpc: 'https://rpc.betanet-2024-08-29.teztnets.com', - knownContracts: knownContractsPtBetaaEZ, + networkName: 'QUEBECBNET', + protocol: Protocols.PsQuebecB, + defaultRpc: 'https://rpc.quebecbnet.teztnets.com', + knownContracts: knownContractsPsQuebecB, signerConfig: defaultSecretKey }) @@ -182,8 +182,8 @@ if (process.env['RUN_WITH_SECRET_KEY']) { providers.push(parisnetSecretKey); } else if (process.env['RUN_GHOSTNET_WITH_SECRET_KEY']) { providers.push(ghostnetSecretKey); -} else if (process.env['RUN_BETANET_WITH_SECRET_KEY']) { - providers.push(betanetSecretKey); +} else if (process.env['RUN_QUEBECBNET_WITH_SECRET_KEY']) { + providers.push(quebecbnetSecretKey); } else if (process.env['RUN_WEEKLYNET_WITH_SECRET_KEY']) { providers.push(weeklynetSecretKey); } else if (process.env['PARISNET']) { diff --git a/integration-tests/known-contracts-PsQuebecB.ts b/integration-tests/known-contracts-PsQuebecB.ts new file mode 100644 index 0000000000..2cd1109fba --- /dev/null +++ b/integration-tests/known-contracts-PsQuebecB.ts @@ -0,0 +1,8 @@ +import { KnownContracts } from './known-contracts'; +export const knownContractsPsQuebecB: KnownContracts = { + contract: "KT1KAK4KbpyzfPBhy4g46iCdB4eAFZwPKyaH", + bigMapContract: "KT1AHDjPEfoiyCvQBPXZEkoXR26h8J6LsiU2", + tzip12BigMapOffChainContract: "KT1SGSDiRRu5qHSKFVpDBBXDBxKUxdRnzbRQ", + saplingContract: "KT1PF3ePtD7Q45SaDVFdfYtqybbURqBd1wgz", + onChainViewContractAddress: "KT1LKW5sryVUqEygK2n59RzPHHJSJofBVzzm", +}; diff --git a/integration-tests/known-contracts-PtBetaaEZ.ts b/integration-tests/known-contracts-PtBetaaEZ.ts deleted file mode 100644 index 217490e7eb..0000000000 --- a/integration-tests/known-contracts-PtBetaaEZ.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { KnownContracts } from './known-contracts'; -export const knownContractsPtBetaaEZ: KnownContracts = { - contract: "KT1XKPeFgUEn2kt4Wg8cEL8DfopiHQQaPpBj", - bigMapContract: "KT1LBaTaYaKUQwDDhud7EG2CYvZjxwQghn81", - tzip12BigMapOffChainContract: "KT1GLrL9dVQQSi6bPv8pePKwcHYjcj8mMTa7", - saplingContract: "KT1ErqDowX2QE29KSp73dsg75oeXBu3fe9qD", - onChainViewContractAddress: "KT1QmK4ffXJRTvRj9ciAjBhFjX1uPSU97kEu", -}; diff --git a/integration-tests/package.json b/integration-tests/package.json index ff88320deb..c725aee77c 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -5,7 +5,7 @@ "test:secret-key": "RUN_WITH_SECRET_KEY=true jest --runInBand", "test:parisnet": "PARISNET=true jest", "test:parisnet-secret-key": "RUN_PARISNET_WITH_SECRET_KEY=true jest --runInBand", - "test:betanet-secret-key": "RUN_BETANET_WITH_SECRET_KEY=true jest --runInBand", + "test:quebecbnet-secret-key": "RUN_QUEBECBNET_WITH_SECRET_KEY=true jest --runInBand", "test:weeklynet": "WEEKLYNET=true jest", "test:weeklynet-secret-key": "RUN_WEEKLYNET_WITH_SECRET_KEY=true jest --runInBand", "test:ghostnet": "GHOSTNET=true jest", diff --git a/packages/taquito-local-forging/src/protocols.ts b/packages/taquito-local-forging/src/protocols.ts index b8243be065..adeb2b88da 100644 --- a/packages/taquito-local-forging/src/protocols.ts +++ b/packages/taquito-local-forging/src/protocols.ts @@ -18,7 +18,7 @@ export enum ProtocolsHash { ProxfordY = 'ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH', PtParisBx = 'PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ', PsParisCZ = 'PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi', - PtBetaaEZ = 'PtBetaaEZxGcn9JDpkpAZ6E92Kh7bQb5FDoTCeYhmkfcwNehZcT', + PsQuebecB = 'PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1', ProtoALpha = 'ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK', } @@ -42,7 +42,7 @@ const protoLevel: Record = { ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19, PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20, PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi: 20, - PtBetaaEZxGcn9JDpkpAZ6E92Kh7bQb5FDoTCeYhmkfcwNehZcT: 21, + PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1: 21, ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 22, }; diff --git a/packages/taquito/src/constants.ts b/packages/taquito/src/constants.ts index 57a79517af..b339b8c5c1 100644 --- a/packages/taquito/src/constants.ts +++ b/packages/taquito/src/constants.ts @@ -70,7 +70,7 @@ export enum Protocols { ProxfordY = 'ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH', PtParisBx = 'PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ', PsParisCZ = 'PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi', - PtBetaaEZ = 'PtBetaaEZxGcn9JDpkpAZ6E92Kh7bQb5FDoTCeYhmkfcwNehZcT', + PsQuebecB = 'PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1', ProtoALpha = 'ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK', } @@ -91,7 +91,7 @@ export const protocols = { '017': [Protocols.PtNairobi], '019': [Protocols.ProxfordY], '020': [Protocols.PtParisBx, Protocols.PsParisCZ], - '021': [Protocols.PtBetaaEZ], + '021': [Protocols.PsQuebecB], '022': [Protocols.ProtoALpha], }; @@ -114,7 +114,7 @@ export enum ChainIds { OXFORDNET2 = 'NetXxWsskGahzQB', PARISBNET = 'NetXo8SqH1c38SS', PARISCNET = 'NetXXWAHLEvre9b', - BETANET = 'NetXsTfFgyGbHTz', + QUEBECBNET = 'NetXamR3dD5nwmS', } // A fixed fee reveal operation gasLimit accepted by both simulate and injection endpoint is between 1.2-5 times of actual gas consumption (3.5 fails occasionally with gas exhausted; 4 fails occasionally with fee too low) From 9e095c3bca723f54d4e86cb25c320c1c41e35ee5 Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 19 Sep 2024 15:44:28 -0700 Subject: [PATCH 02/14] added michel codec quebecb constant --- packages/taquito-michel-codec/src/michelson-types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taquito-michel-codec/src/michelson-types.ts b/packages/taquito-michel-codec/src/michelson-types.ts index c436fb92a8..e5dbe43dee 100644 --- a/packages/taquito-michel-codec/src/michelson-types.ts +++ b/packages/taquito-michel-codec/src/michelson-types.ts @@ -406,7 +406,7 @@ export enum Protocol { ProxfordY = 'ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH', PtParisBx = 'PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ', PsParisCZ = 'PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi', - PtBetaaEZ = 'PtBetaaEZxGcn9JDpkpAZ6E92Kh7bQb5FDoTCeYhmkfcwNehZcT', + PsQuebecB = 'PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1', ProtoALpha = 'ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK', // temporary protocol hash } @@ -442,7 +442,7 @@ const protoLevel: Record = { ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19, PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20, PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi: 20, - PtBetaaEZxGcn9JDpkpAZ6E92Kh7bQb5FDoTCeYhmkfcwNehZcT: 21, + PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1: 21, ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 22, }; From 7e242c5eb52f4ad7794169c406369493d3143bc0 Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 19 Sep 2024 15:51:26 -0700 Subject: [PATCH 03/14] test: updated test assertions --- .../contract/estimation-tests.spec.ts | 20 +++++++++---------- .../rpc/get-protocol-constants.spec.ts | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/integration-tests/__tests__/contract/estimation-tests.spec.ts b/integration-tests/__tests__/contract/estimation-tests.spec.ts index e82d62dc22..ce9bf98461 100644 --- a/integration-tests/__tests__/contract/estimation-tests.spec.ts +++ b/integration-tests/__tests__/contract/estimation-tests.spec.ts @@ -95,14 +95,14 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { it('Verify .estimate.transfer for internal transfer to allocated implicit', async () => { const tx = contract.methods.do(MANAGER_LAMBDA.transferImplicit(knownBaker, 5)).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(1457); + expect(estimate.gasLimit).toEqual(1456); expect(estimate.storageLimit).toEqual(0); expect(estimate.suggestedFeeMutez).toEqual(394); expect(estimate.burnFeeMutez).toEqual(0); expect(estimate.minimalFeeMutez).toEqual(374); expect(estimate.totalCost).toEqual(374); expect(estimate.usingBaseFeeMutez).toEqual(374); - expect(estimate.consumedMilligas).toEqual(1456056); + expect(estimate.consumedMilligas).toEqual(1455454); }); 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(1571); + expect(estimate.gasLimit).toEqual(1570); expect(estimate.storageLimit).toEqual(534); - expect(estimate.suggestedFeeMutez).toEqual(465); + expect(estimate.suggestedFeeMutez).toEqual(464); expect(estimate.burnFeeMutez).toEqual(133500); - expect(estimate.minimalFeeMutez).toEqual(445); - expect(estimate.totalCost).toEqual(133945); - expect(estimate.usingBaseFeeMutez).toEqual(445); - expect(estimate.consumedMilligas).toEqual(1570585); + expect(estimate.minimalFeeMutez).toEqual(444); + expect(estimate.totalCost).toEqual(133944); + expect(estimate.usingBaseFeeMutez).toEqual(444); + expect(estimate.consumedMilligas).toEqual(1569983); }); 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(1866680); + expect(estimate.consumedMilligas).toEqual(1866078); }); 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(2391833); + expect(estimate.consumedMilligas).toEqual(2391231); // Do the actual operation const op2 = await contract.methods.do(originate2()).send(); await op2.confirmation(); diff --git a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts index 00e3a7d3c4..e036a4b23b 100644 --- a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts +++ b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts @@ -385,7 +385,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { vdf_revelation_tip_weight: 1, }, min_proposal_quorum: 500, - edge_of_staking_over_delegation: 2, + edge_of_staking_over_delegation: 3, global_limit_of_staking_over_baking: 5, liquidity_baking_toggle_ema_threshold: 100000, max_operations_time_to_live: 187, @@ -443,7 +443,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { smart_rollup_riscv_pvm_enable: true, smart_rollup_stake_amount: '32000000', smart_rollup_timeout_period_in_blocks: 781, - testnet_dictator: 'tz1Xf8zdT3DbAX9cHw3c3CXh79rc4nK4gCe8', + testnet_dictator: 'tz1e1TX7KghsqWUBXWmBTAAtPK3W6JTbNc82', vdf_difficulty: new BigNumber(10000000), zk_rollup_enable: true, zk_rollup_max_ticket_payload_size: 2048, From 135de9056a04004105719a19a784412129449d10 Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 19 Sep 2024 15:57:11 -0700 Subject: [PATCH 04/14] ci: switched to run ci test with keygen --- .github/workflows/main.yml | 29 ++++------------------------- integration-tests/config.ts | 15 ++++++++++----- 2 files changed, 14 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7088294793..debb10e7db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,9 @@ jobs: - testnet: parisnet testnet_uppercase: PARISNET rpc_url: https://parisnet.ecadinfra.com + - testnet: quebecbnet + testnet_uppercase: QUEBECBNET + rpc_url: https://quebecbnet.ecadinfra.com/ steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -63,28 +66,4 @@ jobs: run: npm -w integration-tests run test:${{ matrix.testnet }} -- --maxWorkers=4 env: # Ternary operator workaround - TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }} - integration-tests-testnet-quebecB-secret-key: - runs-on: ubuntu-latest - continue-on-error: true - strategy: - matrix: - include: - - testnet: quebecbnet - testnet_uppercase: QUEBECBNET - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: lts/hydrogen - - run: npm ci - - run: npm run build - - if: ${{ !github.event.pull_request.head.repo.fork }} - name: Tailscale - uses: tailscale/github-action@v1 - with: - authkey: ${{ secrets.TAILSCALE_AUTHKEY }} - version: 1.32.2 - - run: npm -w integration-tests run test:quebecbnet-secret-key - env: - RUN_${{ matrix.testnet_uppercase }}_WITH_SECRET_KEY: true \ No newline at end of file + TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }} \ No newline at end of file diff --git a/integration-tests/config.ts b/integration-tests/config.ts index f06fb3bcfa..e652b22d66 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -141,14 +141,17 @@ const parisnetEphemeral: Config = const parisnetSecretKey: Config = { ...parisnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.pariscnet.teztnets.com/' } }; -const quebecbnetSecretKey: Config = + const quebecbnetEphemeral: Config = defaultConfig({ networkName: 'QUEBECBNET', protocol: Protocols.PsQuebecB, - defaultRpc: 'https://rpc.quebecbnet.teztnets.com', - knownContracts: knownContractsPsQuebecB, - signerConfig: defaultSecretKey - }) + defaultRpc: 'https://rpc.quebecbnet.teztnets.com/', + knownContracts: knownContractsPsParisCZ, + signerConfig: defaultEphemeralConfig('https://keygen.ecadinfra.com/quebecbnet') + }); + +const quebecbnetSecretKey: Config = + { ...quebecbnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.quebecbcnet.teztnets.com/' } }; const ghostnetEphemeral: Config = defaultConfig({ @@ -188,6 +191,8 @@ if (process.env['RUN_WITH_SECRET_KEY']) { providers.push(weeklynetSecretKey); } else if (process.env['PARISNET']) { providers.push(parisnetEphemeral); +} else if (process.env['QUEBECBNET']) { + providers.push(quebecbnetEphemeral); } else if (process.env['GHOSTNET']) { providers.push(ghostnetEphemeral); } else if (process.env['WEEKLYNET']) { From d15b44cd1f0d73123cd3d36ac1581ef789ac6619 Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 19 Sep 2024 16:26:05 -0700 Subject: [PATCH 05/14] ci: added test:quebecbnet script --- integration-tests/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/package.json b/integration-tests/package.json index c725aee77c..b188902677 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -5,6 +5,7 @@ "test:secret-key": "RUN_WITH_SECRET_KEY=true jest --runInBand", "test:parisnet": "PARISNET=true jest", "test:parisnet-secret-key": "RUN_PARISNET_WITH_SECRET_KEY=true jest --runInBand", + "test:quebecbnet": "QUEBECBNET=true jest", "test:quebecbnet-secret-key": "RUN_QUEBECBNET_WITH_SECRET_KEY=true jest --runInBand", "test:weeklynet": "WEEKLYNET=true jest", "test:weeklynet-secret-key": "RUN_WEEKLYNET_WITH_SECRET_KEY=true jest --runInBand", From 9d1a731851684c7b35df8495e77c42339a1beca0 Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 19 Sep 2024 18:05:04 -0700 Subject: [PATCH 06/14] test: updated to knownContractsPsQuebecB in config --- .../contract/estimation-tests.spec.ts | 18 +++++++++--------- integration-tests/__tests__/rpc/nodes.spec.ts | 4 ++-- integration-tests/config.ts | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) 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({ From 88ebbcb64bf4d9d9cfb7e65c842e1448474149ec Mon Sep 17 00:00:00 2001 From: huianyang Date: Fri, 20 Sep 2024 12:53:43 -0700 Subject: [PATCH 07/14] test: updated test config and assertions --- .../__tests__/contract/estimation-tests.spec.ts | 8 ++++---- integration-tests/__tests__/rpc/nodes.spec.ts | 2 +- integration-tests/config.ts | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-tests/__tests__/contract/estimation-tests.spec.ts b/integration-tests/__tests__/contract/estimation-tests.spec.ts index 6b260fe721..383f14ac40 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(1455798); + expect(estimate.consumedMilligas).toEqual(1455970); }); it('Verify .estimate.transfer for multiple internal transfers to unallocated account', async () => { @@ -119,7 +119,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { expect(estimate.minimalFeeMutez).toEqual(445); expect(estimate.totalCost).toEqual(133945); expect(estimate.usingBaseFeeMutez).toEqual(445); - expect(estimate.consumedMilligas).toEqual(1570327); + expect(estimate.consumedMilligas).toEqual(1570499); }); 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(1866422); + expect(estimate.consumedMilligas).toEqual(1866594); }); 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(2391575); + expect(estimate.consumedMilligas).toEqual(2391747); // 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 a7877c79b0..5c0fecd652 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.includes("teztnets.com") ? test : test.skip; + const unrestrictedRPCNode = rpc.includes("i.ecadinfra.com") ? test : test.skip; const quebecbnet = protocol === Protocols.PsQuebecB ? test : test.skip; let ticketContract: DefaultContractType; diff --git a/integration-tests/config.ts b/integration-tests/config.ts index 31c906134a..f193bac7e3 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -145,13 +145,13 @@ const parisnetSecretKey: Config = defaultConfig({ networkName: 'QUEBECBNET', protocol: Protocols.PsQuebecB, - defaultRpc: 'https://quebecbnet.ecadinfra.com/', + defaultRpc: 'http://ecad-tezos-quebecbnet-rolling-1.i.ecadinfra.com/', knownContracts: knownContractsPsQuebecB, signerConfig: defaultEphemeralConfig('https://keygen.ecadinfra.com/quebecbnet') }); const quebecbnetSecretKey: Config = - { ...quebecbnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://rpc.quebecbnet.teztnets.com/' } }; + { ...quebecbnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://quebecbnet.ecadinfra.com/' } }; const ghostnetEphemeral: Config = defaultConfig({ From 8184d2e097b73ca99bd4c8a0a6806b597156feb7 Mon Sep 17 00:00:00 2001 From: huianyang Date: Fri, 20 Sep 2024 13:02:48 -0700 Subject: [PATCH 08/14] test: improve failing_noop tests --- .../__tests__/contract/operations/failing-noop.spec.ts | 4 +++- integration-tests/__tests__/wallet/failing-noop.spec.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/integration-tests/__tests__/contract/operations/failing-noop.spec.ts b/integration-tests/__tests__/contract/operations/failing-noop.spec.ts index 20a140d370..e84d4647b5 100644 --- a/integration-tests/__tests__/contract/operations/failing-noop.spec.ts +++ b/integration-tests/__tests__/contract/operations/failing-noop.spec.ts @@ -7,7 +7,7 @@ CONFIGS().forEach(({ setup, rpc, lib }) => { let signerAlice = new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq') describe(`Test failing_noop through wallet api using: ${rpc}`, () => { - let Tezos = lib + const Tezos = lib beforeAll(async () => { setup(true) if (rpc.includes('paris')) { @@ -22,7 +22,9 @@ CONFIGS().forEach(({ setup, rpc, lib }) => { arbitrary: "48656C6C6F20576F726C64", // Hello World basedOnBlock: 0, }); + console.log(signed) const pk = await Tezos.signer.publicKey(); + console.log(pk) expect(verifySignature(signed.bytes, pk!, signed.signature, new Uint8Array([3]))).toBe(true); }); diff --git a/integration-tests/__tests__/wallet/failing-noop.spec.ts b/integration-tests/__tests__/wallet/failing-noop.spec.ts index 8af97e8216..19d7eba483 100644 --- a/integration-tests/__tests__/wallet/failing-noop.spec.ts +++ b/integration-tests/__tests__/wallet/failing-noop.spec.ts @@ -7,7 +7,7 @@ CONFIGS().forEach(({ setup, rpc, lib }) => { let signerAlice = new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq') describe(`Test failing_noop through wallet api using: ${rpc}`, () => { - let Tezos = lib + const Tezos = lib beforeAll(async () => { setup(true) if (rpc.includes('paris')) { From bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb Mon Sep 17 00:00:00 2001 From: huianyang Date: Mon, 23 Sep 2024 11:58:34 -0700 Subject: [PATCH 09/14] test: updated estimation assertion --- .../__tests__/contract/estimation-tests.spec.ts | 10 +++++----- .../__tests__/contract/operations/failing-noop.spec.ts | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/integration-tests/__tests__/contract/estimation-tests.spec.ts b/integration-tests/__tests__/contract/estimation-tests.spec.ts index 383f14ac40..e82d62dc22 100644 --- a/integration-tests/__tests__/contract/estimation-tests.spec.ts +++ b/integration-tests/__tests__/contract/estimation-tests.spec.ts @@ -95,14 +95,14 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { it('Verify .estimate.transfer for internal transfer to allocated implicit', async () => { const tx = contract.methods.do(MANAGER_LAMBDA.transferImplicit(knownBaker, 5)).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(1456); + expect(estimate.gasLimit).toEqual(1457); expect(estimate.storageLimit).toEqual(0); expect(estimate.suggestedFeeMutez).toEqual(394); expect(estimate.burnFeeMutez).toEqual(0); expect(estimate.minimalFeeMutez).toEqual(374); expect(estimate.totalCost).toEqual(374); expect(estimate.usingBaseFeeMutez).toEqual(374); - expect(estimate.consumedMilligas).toEqual(1455970); + expect(estimate.consumedMilligas).toEqual(1456056); }); it('Verify .estimate.transfer for multiple internal transfers to unallocated account', async () => { @@ -119,7 +119,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { expect(estimate.minimalFeeMutez).toEqual(445); expect(estimate.totalCost).toEqual(133945); expect(estimate.usingBaseFeeMutez).toEqual(445); - expect(estimate.consumedMilligas).toEqual(1570499); + expect(estimate.consumedMilligas).toEqual(1570585); }); 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(1866594); + expect(estimate.consumedMilligas).toEqual(1866680); }); 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(2391747); + expect(estimate.consumedMilligas).toEqual(2391833); // Do the actual operation const op2 = await contract.methods.do(originate2()).send(); await op2.confirmation(); diff --git a/integration-tests/__tests__/contract/operations/failing-noop.spec.ts b/integration-tests/__tests__/contract/operations/failing-noop.spec.ts index e84d4647b5..8eb825cd7e 100644 --- a/integration-tests/__tests__/contract/operations/failing-noop.spec.ts +++ b/integration-tests/__tests__/contract/operations/failing-noop.spec.ts @@ -22,9 +22,7 @@ CONFIGS().forEach(({ setup, rpc, lib }) => { arbitrary: "48656C6C6F20576F726C64", // Hello World basedOnBlock: 0, }); - console.log(signed) const pk = await Tezos.signer.publicKey(); - console.log(pk) expect(verifySignature(signed.bytes, pk!, signed.signature, new Uint8Array([3]))).toBe(true); }); From 44bfadbebbff97b8bf6beaef091b0aae72e2e8a6 Mon Sep 17 00:00:00 2001 From: Davis Sawali Date: Mon, 23 Sep 2024 12:59:50 -0700 Subject: [PATCH 10/14] chore(releng) bump version to 21.0.0-beta.0 --- apps/taquito-test-dapp/package.json | 10 +- example/package.json | 22 +- integration-tests/package.json | 30 +-- lerna.json | 4 +- package-lock.json | 204 +++++++++--------- packages/taquito-beacon-wallet/package.json | 6 +- packages/taquito-beacon-wallet/src/version.ts | 5 +- .../taquito-contracts-library/package.json | 10 +- .../taquito-contracts-library/src/version.ts | 5 +- packages/taquito-core/package.json | 2 +- packages/taquito-core/src/version.ts | 5 +- packages/taquito-http-utils/package.json | 4 +- packages/taquito-http-utils/src/version.ts | 5 +- packages/taquito-ledger-signer/package.json | 8 +- packages/taquito-ledger-signer/src/version.ts | 5 +- packages/taquito-local-forging/package.json | 8 +- packages/taquito-local-forging/src/version.ts | 5 +- .../pack-test-tool/package.json | 4 +- packages/taquito-michel-codec/package.json | 4 +- packages/taquito-michel-codec/src/version.ts | 5 +- .../taquito-michelson-encoder/package.json | 8 +- .../taquito-michelson-encoder/src/version.ts | 5 +- packages/taquito-remote-signer/package.json | 10 +- packages/taquito-remote-signer/src/version.ts | 5 +- packages/taquito-rpc/package.json | 8 +- packages/taquito-rpc/src/version.ts | 5 +- packages/taquito-sapling/package.json | 10 +- packages/taquito-sapling/src/version.ts | 5 +- packages/taquito-signer/package.json | 8 +- packages/taquito-signer/src/version.ts | 5 +- packages/taquito-timelock/package.json | 8 +- packages/taquito-timelock/src/version.ts | 5 +- packages/taquito-tzip12/package.json | 10 +- packages/taquito-tzip12/src/version.ts | 5 +- packages/taquito-tzip16/package.json | 14 +- packages/taquito-tzip16/src/version.ts | 5 +- packages/taquito-utils/package.json | 4 +- packages/taquito-utils/src/version.ts | 5 +- packages/taquito/README.md | 2 +- packages/taquito/assets-manifest.json | 2 +- packages/taquito/package.json | 16 +- packages/taquito/src/version.ts | 5 +- 42 files changed, 259 insertions(+), 242 deletions(-) diff --git a/apps/taquito-test-dapp/package.json b/apps/taquito-test-dapp/package.json index b0d99f5977..e83225b89a 100644 --- a/apps/taquito-test-dapp/package.json +++ b/apps/taquito-test-dapp/package.json @@ -1,7 +1,7 @@ { "name": "taquito-test-dapp-vite", "private": true, - "version": "20.0.1", + "version": "21.0.0-beta.0", "type": "module", "scripts": { "dev": "vite", @@ -26,10 +26,10 @@ "dependencies": { "@airgap/beacon-sdk": "^4.2.2", "@airgap/beacon-types": "^4.2.2", - "@taquito/beacon-wallet": "^20.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/beacon-wallet": "^21.0.0-beta.0", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "buffer": "^6.0.3", "svelte-select": "^5.8.3", "vite-compatible-readable-stream": "^3.6.1" diff --git a/example/package.json b/example/package.json index 715df03b06..914ab2ce5a 100644 --- a/example/package.json +++ b/example/package.json @@ -1,7 +1,7 @@ { "name": "@taquito/example", "private": true, - "version": "20.0.1", + "version": "21.0.0-beta.0", "scripts": { "example": "node -r ts-node/register --preserve-symlinks example-node.ts", "example:activation": "node -r ts-node/register --preserve-symlinks example-activate.ts", @@ -42,16 +42,16 @@ }, "dependencies": { "@ledgerhq/hw-transport-node-hid": "^6.29.3", - "@taquito/ledger-signer": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/sapling": "^20.0.1", - "@taquito/signer": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip16": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/ledger-signer": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/sapling": "^21.0.0-beta.0", + "@taquito/signer": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { diff --git a/integration-tests/package.json b/integration-tests/package.json index b188902677..8b9a555365 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -14,26 +14,26 @@ "originate-known-contracts": "node -r ts-node/register originate-known-contracts.ts", "originate-known-contracts-and-run-test": "node -r ts-node/register originate-known-contracts.ts && jest" }, - "version": "20.0.1", + "version": "21.0.0-beta.0", "dependencies": { "@ledgerhq/devices": "8.4.2", "@ledgerhq/hw-transport": "6.31.2", "@ledgerhq/hw-transport-node-hid": "6.29.3", "@ledgerhq/hw-transport-node-hid-noevents": "6.30.3", - "@taquito/contracts-library": "^20.0.1", - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/remote-signer": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/sapling": "^20.0.1", - "@taquito/signer": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip12": "^20.0.1", - "@taquito/tzip16": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/contracts-library": "^21.0.0-beta.0", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/remote-signer": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/sapling": "^21.0.0-beta.0", + "@taquito/signer": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip12": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "bip39": "3.1.0", "blakejs": "^1.2.1" diff --git a/lerna.json b/lerna.json index aace12516a..d0a55a1203 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "useNx": true, - "version": "20.0.1" -} + "version": "21.0.0-beta.0" +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 7b1ceed147..8d930a9b62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,14 +56,14 @@ }, "apps/taquito-test-dapp": { "name": "taquito-test-dapp-vite", - "version": "20.0.1", + "version": "21.0.0-beta.0", "dependencies": { "@airgap/beacon-sdk": "^4.2.2", "@airgap/beacon-types": "^4.2.2", - "@taquito/beacon-wallet": "^20.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/beacon-wallet": "^21.0.0-beta.0", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "buffer": "^6.0.3", "svelte-select": "^5.8.3", "vite-compatible-readable-stream": "^3.6.1" @@ -109,19 +109,19 @@ }, "example": { "name": "@taquito/example", - "version": "20.0.1", + "version": "21.0.0-beta.0", "dependencies": { "@ledgerhq/hw-transport-node-hid": "^6.29.3", - "@taquito/ledger-signer": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/sapling": "^20.0.1", - "@taquito/signer": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip16": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/ledger-signer": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/sapling": "^21.0.0-beta.0", + "@taquito/signer": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { @@ -130,26 +130,26 @@ } }, "integration-tests": { - "version": "20.0.1", + "version": "21.0.0-beta.0", "dependencies": { "@ledgerhq/devices": "8.4.2", "@ledgerhq/hw-transport": "6.31.2", "@ledgerhq/hw-transport-node-hid": "6.29.3", "@ledgerhq/hw-transport-node-hid-noevents": "6.30.3", - "@taquito/contracts-library": "^20.0.1", - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/remote-signer": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/sapling": "^20.0.1", - "@taquito/signer": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip12": "^20.0.1", - "@taquito/tzip16": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/contracts-library": "^21.0.0-beta.0", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/remote-signer": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/sapling": "^21.0.0-beta.0", + "@taquito/signer": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip12": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "bip39": "3.1.0", "blakejs": "^1.2.1" @@ -27355,17 +27355,17 @@ }, "packages/taquito": { "name": "@taquito/taquito", - "version": "20.0.1", + "version": "21.0.0-beta.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "rxjs": "^7.8.1" }, @@ -27413,12 +27413,12 @@ }, "packages/taquito-beacon-wallet": { "name": "@taquito/beacon-wallet", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@airgap/beacon-dapp": "^4.2.2", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", @@ -27469,13 +27469,13 @@ }, "packages/taquito-contracts-library": { "name": "@taquito/contracts-library", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { @@ -27512,7 +27512,7 @@ }, "packages/taquito-core": { "name": "@taquito/core", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "json-stringify-safe": "^5.0.1" @@ -27528,10 +27528,10 @@ }, "packages/taquito-http-utils": { "name": "@taquito/http-utils", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", "node-fetch": "^2.7.0" }, "devDependencies": { @@ -27589,14 +27589,14 @@ }, "packages/taquito-ledger-signer": { "name": "@taquito/ledger-signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@ledgerhq/hw-transport": "^6.31.2", "@stablelib/blake2b": "^1.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "buffer": "^6.0.3" }, "devDependencies": { @@ -27657,15 +27657,15 @@ }, "packages/taquito-local-forging": { "name": "@taquito/local-forging", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { - "@taquito/rpc": "^20.0.1", + "@taquito/rpc": "^21.0.0-beta.0", "@types/bluebird": "^3.5.42", "@types/estree": "^1.0.5", "@types/jest": "^29.5.12", @@ -27703,10 +27703,10 @@ }, "packages/taquito-michel-codec": { "name": "@taquito/michel-codec", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", @@ -27735,21 +27735,21 @@ } }, "packages/taquito-michel-codec/pack-test-tool": { - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/rpc": "^20.0.1", + "@taquito/rpc": "^21.0.0-beta.0", "yargs": "^17.7.2" } }, "packages/taquito-michelson-encoder": { "name": "@taquito/michelson-encoder", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "fast-json-stable-stringify": "^2.1.0" }, @@ -27786,15 +27786,15 @@ }, "packages/taquito-remote-signer": { "name": "@taquito/remote-signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "typedarray-to-buffer": "^4.0.0" }, "devDependencies": { @@ -27831,12 +27831,12 @@ }, "packages/taquito-rpc": { "name": "@taquito/rpc", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { @@ -27872,17 +27872,17 @@ }, "packages/taquito-sapling": { "name": "@taquito/sapling", - "version": "20.0.1", + "version": "21.0.0-beta.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@airgap/sapling-wasm": "0.0.9", "@stablelib/nacl": "^1.0.4", "@stablelib/random": "^1.0.2", - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "bip39": "3.1.0", "blakejs": "^1.2.1", @@ -27943,7 +27943,7 @@ }, "packages/taquito-signer": { "name": "@taquito/signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", @@ -27952,9 +27952,9 @@ "@stablelib/nacl": "^1.0.4", "@stablelib/pbkdf2": "^1.0.1", "@stablelib/sha512": "^1.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "@types/bn.js": "^5.1.5", "bip39": "3.1.0", "elliptic": "^6.5.7", @@ -27997,7 +27997,7 @@ }, "packages/taquito-timelock": { "name": "@taquito/timelock", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", @@ -28005,9 +28005,9 @@ "big-integer": "^1.6.52" }, "devDependencies": { - "@taquito/signer": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/signer": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", @@ -28038,13 +28038,13 @@ }, "packages/taquito-tzip12": { "name": "@taquito/tzip12", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip16": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", @@ -28080,15 +28080,15 @@ }, "packages/taquito-tzip16": { "name": "@taquito/tzip16", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "crypto-js": "^4.2.0" }, @@ -28127,12 +28127,12 @@ }, "packages/taquito-utils": { "name": "@taquito/utils", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/core": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", "@types/bs58check": "^2.1.2", "bignumber.js": "^9.1.2", "blakejs": "^1.2.1", diff --git a/packages/taquito-beacon-wallet/package.json b/packages/taquito-beacon-wallet/package.json index 8513301d84..658855dbb7 100644 --- a/packages/taquito-beacon-wallet/package.json +++ b/packages/taquito-beacon-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/beacon-wallet", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Beacon wallet provider", "keywords": [ "tezos", @@ -68,8 +68,8 @@ }, "dependencies": { "@airgap/beacon-dapp": "^4.2.2", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", diff --git a/packages/taquito-beacon-wallet/src/version.ts b/packages/taquito-beacon-wallet/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-beacon-wallet/src/version.ts +++ b/packages/taquito-beacon-wallet/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-contracts-library/package.json b/packages/taquito-contracts-library/package.json index 2e43471fa2..35fa517ee8 100644 --- a/packages/taquito-contracts-library/package.json +++ b/packages/taquito-contracts-library/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/contracts-library", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Can be used as an extension on the TezosToolkit to provide contracts data", "keywords": [ "tezos" @@ -67,10 +67,10 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { diff --git a/packages/taquito-contracts-library/src/version.ts b/packages/taquito-contracts-library/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-contracts-library/src/version.ts +++ b/packages/taquito-contracts-library/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-core/package.json b/packages/taquito-core/package.json index f90b09f0f7..fddce8ed9a 100644 --- a/packages/taquito-core/package.json +++ b/packages/taquito-core/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/core", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Classes, interfaces, and types shared across Taquito packages", "keywords": [ "tezos", diff --git a/packages/taquito-core/src/version.ts b/packages/taquito-core/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-core/src/version.ts +++ b/packages/taquito-core/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-http-utils/package.json b/packages/taquito-http-utils/package.json index a8fe0d1c84..6549e26515 100644 --- a/packages/taquito-http-utils/package.json +++ b/packages/taquito-http-utils/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/http-utils", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "", "keywords": [ "tezos" @@ -58,7 +58,7 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", "node-fetch": "^2.7.0" }, "devDependencies": { diff --git a/packages/taquito-http-utils/src/version.ts b/packages/taquito-http-utils/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-http-utils/src/version.ts +++ b/packages/taquito-http-utils/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-ledger-signer/package.json b/packages/taquito-ledger-signer/package.json index 4252709ac8..2a93d28715 100644 --- a/packages/taquito-ledger-signer/package.json +++ b/packages/taquito-ledger-signer/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/ledger-signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Ledger signer provider", "keywords": [ "tezos", @@ -59,9 +59,9 @@ "dependencies": { "@ledgerhq/hw-transport": "^6.31.2", "@stablelib/blake2b": "^1.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "buffer": "^6.0.3" }, "devDependencies": { diff --git a/packages/taquito-ledger-signer/src/version.ts b/packages/taquito-ledger-signer/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-ledger-signer/src/version.ts +++ b/packages/taquito-ledger-signer/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-local-forging/package.json b/packages/taquito-local-forging/package.json index 44400be643..d648a01741 100644 --- a/packages/taquito-local-forging/package.json +++ b/packages/taquito-local-forging/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/local-forging", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Provide local forging functionality to be with taquito", "keywords": [ "tezos", @@ -67,12 +67,12 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { - "@taquito/rpc": "^20.0.1", + "@taquito/rpc": "^21.0.0-beta.0", "@types/bluebird": "^3.5.42", "@types/estree": "^1.0.5", "@types/jest": "^29.5.12", diff --git a/packages/taquito-local-forging/src/version.ts b/packages/taquito-local-forging/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-local-forging/src/version.ts +++ b/packages/taquito-local-forging/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-michel-codec/pack-test-tool/package.json b/packages/taquito-michel-codec/pack-test-tool/package.json index 9d0dc361b3..78b592594c 100644 --- a/packages/taquito-michel-codec/pack-test-tool/package.json +++ b/packages/taquito-michel-codec/pack-test-tool/package.json @@ -1,6 +1,6 @@ { "name": "pack-test-tool", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Generate pack test data via Tezos RPC", "main": "pack-test-tool.js", "private": true, @@ -8,7 +8,7 @@ "author": "Eugene Zagidullin ", "license": "Apache-2.0", "dependencies": { - "@taquito/rpc": "^20.0.1", + "@taquito/rpc": "^21.0.0-beta.0", "yargs": "^17.7.2" } } diff --git a/packages/taquito-michel-codec/package.json b/packages/taquito-michel-codec/package.json index 51681c8402..c5b2e59031 100644 --- a/packages/taquito-michel-codec/package.json +++ b/packages/taquito-michel-codec/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/michel-codec", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Michelson parser/validator/formatter", "keywords": [ "tezos", @@ -66,7 +66,7 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", diff --git a/packages/taquito-michel-codec/src/version.ts b/packages/taquito-michel-codec/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-michel-codec/src/version.ts +++ b/packages/taquito-michel-codec/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-michelson-encoder/package.json b/packages/taquito-michelson-encoder/package.json index a2631285c9..4d40c9b73b 100644 --- a/packages/taquito-michelson-encoder/package.json +++ b/packages/taquito-michelson-encoder/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/michelson-encoder", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "converts michelson data and types into convenient JS/TS objects", "keywords": [ "tezos", @@ -67,9 +67,9 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "fast-json-stable-stringify": "^2.1.0" }, diff --git a/packages/taquito-michelson-encoder/src/version.ts b/packages/taquito-michelson-encoder/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-michelson-encoder/src/version.ts +++ b/packages/taquito-michelson-encoder/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-remote-signer/package.json b/packages/taquito-remote-signer/package.json index 6dc36a6e6c..19cc072aae 100644 --- a/packages/taquito-remote-signer/package.json +++ b/packages/taquito-remote-signer/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/remote-signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Remote signer provider", "keywords": [ "tezos", @@ -62,10 +62,10 @@ "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "typedarray-to-buffer": "^4.0.0" }, "devDependencies": { diff --git a/packages/taquito-remote-signer/src/version.ts b/packages/taquito-remote-signer/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-remote-signer/src/version.ts +++ b/packages/taquito-remote-signer/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-rpc/package.json b/packages/taquito-rpc/package.json index ca610b7175..dff390de9b 100644 --- a/packages/taquito-rpc/package.json +++ b/packages/taquito-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/rpc", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node", "keywords": [ "tezos", @@ -66,9 +66,9 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { diff --git a/packages/taquito-rpc/src/version.ts b/packages/taquito-rpc/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-rpc/src/version.ts +++ b/packages/taquito-rpc/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-sapling/package.json b/packages/taquito-sapling/package.json index 42968fe031..59313a401e 100644 --- a/packages/taquito-sapling/package.json +++ b/packages/taquito-sapling/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/sapling", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Allows reading and preparing sapling transactions", "keywords": [ "tezos", @@ -68,10 +68,10 @@ "@airgap/sapling-wasm": "0.0.9", "@stablelib/nacl": "^1.0.4", "@stablelib/random": "^1.0.2", - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "bip39": "3.1.0", "blakejs": "^1.2.1", diff --git a/packages/taquito-sapling/src/version.ts b/packages/taquito-sapling/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-sapling/src/version.ts +++ b/packages/taquito-sapling/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-signer/package.json b/packages/taquito-signer/package.json index 36eedf519e..595fb13edd 100644 --- a/packages/taquito-signer/package.json +++ b/packages/taquito-signer/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Provide signing functionality to be with taquito", "keywords": [ "tezos", @@ -72,9 +72,9 @@ "@stablelib/nacl": "^1.0.4", "@stablelib/pbkdf2": "^1.0.1", "@stablelib/sha512": "^1.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "@types/bn.js": "^5.1.5", "bip39": "3.1.0", "elliptic": "^6.5.7", diff --git a/packages/taquito-signer/src/version.ts b/packages/taquito-signer/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-signer/src/version.ts +++ b/packages/taquito-signer/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-timelock/package.json b/packages/taquito-timelock/package.json index e2f43208b9..40738f4559 100644 --- a/packages/taquito-timelock/package.json +++ b/packages/taquito-timelock/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/timelock", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "TypeScript implementation of the Timelock feature in Tezos", "main": "./dist/taquito-timelock.umd.js", "module": "./dist/taquito-timelock.es6.js", @@ -68,9 +68,9 @@ "big-integer": "^1.6.52" }, "devDependencies": { - "@taquito/signer": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/signer": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "@types/node": "^22.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", diff --git a/packages/taquito-timelock/src/version.ts b/packages/taquito-timelock/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-timelock/src/version.ts +++ b/packages/taquito-timelock/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-tzip12/package.json b/packages/taquito-tzip12/package.json index 16184f9071..3e9ac690d5 100644 --- a/packages/taquito-tzip12/package.json +++ b/packages/taquito-tzip12/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/tzip12", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Tzip12", "keywords": [ "tezos", @@ -62,10 +62,10 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip16": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", diff --git a/packages/taquito-tzip12/src/version.ts b/packages/taquito-tzip12/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-tzip12/src/version.ts +++ b/packages/taquito-tzip12/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-tzip16/package.json b/packages/taquito-tzip16/package.json index 1e627cc56f..591c0d7885 100644 --- a/packages/taquito-tzip16/package.json +++ b/packages/taquito-tzip16/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/tzip16", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "Tzip16", "keywords": [ "tezos", @@ -61,12 +61,12 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "crypto-js": "^4.2.0" }, diff --git a/packages/taquito-tzip16/src/version.ts b/packages/taquito-tzip16/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-tzip16/src/version.ts +++ b/packages/taquito-tzip16/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito-utils/package.json b/packages/taquito-utils/package.json index 40cf8165d4..217fd24684 100644 --- a/packages/taquito-utils/package.json +++ b/packages/taquito-utils/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/utils", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "converts michelson data and types into convenient JS/TS objects", "keywords": [ "tezos", @@ -64,7 +64,7 @@ "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/core": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", "@types/bs58check": "^2.1.2", "bignumber.js": "^9.1.2", "blakejs": "^1.2.1", diff --git a/packages/taquito-utils/src/version.ts b/packages/taquito-utils/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito-utils/src/version.ts +++ b/packages/taquito-utils/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; diff --git a/packages/taquito/README.md b/packages/taquito/README.md index b14d500f28..9267f30b1d 100644 --- a/packages/taquito/README.md +++ b/packages/taquito/README.md @@ -7,7 +7,7 @@ The `@taquito/taquito` package contains higher-level functionality that builds u ## CDN Bundle ```html - ``` diff --git a/packages/taquito/assets-manifest.json b/packages/taquito/assets-manifest.json index 3ebf8ed077..2c12490aea 100644 --- a/packages/taquito/assets-manifest.json +++ b/packages/taquito/assets-manifest.json @@ -5,6 +5,6 @@ }, "main.js": { "src": "dist/taquito.min.js", - "integrity": "sha256-KcAHd9YiZt4U4KnpGSrP6x4OYO/dUTSpRgSeY2XBBBc= sha384-PsHEjYg0mY0R8Kvc11Q+J81S1FMGTZMIWHe14o5H4KF+T+2LxECi3wFZ9cB5BH8Z sha512-2+HALs6t2yRTYxBj8QWl9Bn4lp4HrpNYXKwsHax5ULdmQ2gryQpIRFQnqRng4aa1x1fTSnJtrG32V7HMSYQeSg==" + "integrity": "sha256-cSRaS+BP171juh9hzB/eJJFHok+dfDX6qK8p4CVlPlI= sha384-zMOZ+smFEBKJ+KZu9FzCUgQ1H3kez2meJ3tLLQYtEWUH7yO6CkU4ltpCSeEzX7t6 sha512-PyCmQfEld9ydQFUQo36WvMKwM2bjOYrq7LK9p0NX3x/aYX49t/Kye31Fa2U+vvsILE7FslMkfKlznFqTvM3vcg==" } } \ No newline at end of file diff --git a/packages/taquito/package.json b/packages/taquito/package.json index ae51f52a4e..4bbd918f23 100644 --- a/packages/taquito/package.json +++ b/packages/taquito/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/taquito", - "version": "20.0.1", + "version": "21.0.0-beta.0", "description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.", "keywords": [ "tezos", @@ -77,13 +77,13 @@ ] }, "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "rxjs": "^7.8.1" }, diff --git a/packages/taquito/src/version.ts b/packages/taquito/src/version.ts index be2f0cca3b..6c96f76600 100644 --- a/packages/taquito/src/version.ts +++ b/packages/taquito/src/version.ts @@ -1,5 +1,6 @@ + // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: 'd44ee8a26e6924e12a8cae2f9c5b717fc65af72c', - version: '20.0.1', + "commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb", + "version": "21.0.0-beta.0" }; From 0ae254a4d7c99e5f7bed0d196772ed91321d2ec3 Mon Sep 17 00:00:00 2001 From: huianyang Date: Mon, 23 Sep 2024 15:53:43 -0700 Subject: [PATCH 11/14] test: updated to teztnets rpc instead --- integration-tests/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/config.ts b/integration-tests/config.ts index f193bac7e3..ada675aa72 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -145,7 +145,7 @@ const parisnetSecretKey: Config = defaultConfig({ networkName: 'QUEBECBNET', protocol: Protocols.PsQuebecB, - defaultRpc: 'http://ecad-tezos-quebecbnet-rolling-1.i.ecadinfra.com/', + defaultRpc: 'https://rpc.quebecbnet.teztnets.com/', knownContracts: knownContractsPsQuebecB, signerConfig: defaultEphemeralConfig('https://keygen.ecadinfra.com/quebecbnet') }); From 58121fc610c41bb9d956b4221e719bc10ae43bfd Mon Sep 17 00:00:00 2001 From: huianyang Date: Wed, 9 Oct 2024 17:20:11 -0700 Subject: [PATCH 12/14] feat: configured integraiton test for quna protocol and run ci tests --- .github/workflows/main.yml | 32 +++- cspell.json | 1 + .../contract/operations/staking.spec.ts | 2 +- .../rpc/get-protocol-constants.spec.ts | 4 +- integration-tests/__tests__/rpc/nodes.spec.ts | 6 +- .../wallet/staking-pseudo-operations.spec.ts | 2 +- integration-tests/config.ts | 26 +-- .../known-contracts-PsQuebecB.ts | 8 - .../known-contracts-PtQenaB1P.ts | 8 + .../originate-known-contracts.ts | 2 +- integration-tests/package.json | 4 +- .../taquito-local-forging/src/protocols.ts | 4 +- .../src/michelson-types.ts | 165 +++++++++--------- packages/taquito/src/constants.ts | 6 +- 14 files changed, 149 insertions(+), 121 deletions(-) delete mode 100644 integration-tests/known-contracts-PsQuebecB.ts create mode 100644 integration-tests/known-contracts-PtQenaB1P.ts diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index debb10e7db..ec565dfe87 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,9 +46,9 @@ jobs: - testnet: parisnet testnet_uppercase: PARISNET rpc_url: https://parisnet.ecadinfra.com - - testnet: quebecbnet - testnet_uppercase: QUEBECBNET - rpc_url: https://quebecbnet.ecadinfra.com/ + - testnet: qenanet + testnet_uppercase: QENANET + rpc_url: https://rpc.qenanet.teztnets.com/ steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -66,4 +66,28 @@ jobs: run: npm -w integration-tests run test:${{ matrix.testnet }} -- --maxWorkers=4 env: # Ternary operator workaround - TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }} \ No newline at end of file + TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }} + integration-tests-qena-secret-key: + runs-on: ubuntu-latest + continue-on-error: true + strategy: + matrix: + include: + - testnet: qenanet + testnet_uppercase: QENANET + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: lts/iron + - run: npm ci + - run: npm run build + - if: ${{ !github.event.pull_request.head.repo.fork }} + name: Tailscale + uses: tailscale/github-action@v1 + with: + authkey: ${{ secrets.TAILSCALE_AUTHKEY }} + version: 1.32.2 + - run: npm -w integration-tests run test:qenanet-secret-key + env: + TEZOS_RPC_${{ matrix.testnet_uppercase }}: ${{ github.event.pull_request.head.repo.fork && matrix.rpc_url || null }} diff --git a/cspell.json b/cspell.json index a076a11188..8952d0478a 100644 --- a/cspell.json +++ b/cspell.json @@ -85,6 +85,7 @@ "Protofire", "ProxfordY", "PtNairobi", + "qenanet", "refetched", "riscv", "rollups", diff --git a/integration-tests/__tests__/contract/operations/staking.spec.ts b/integration-tests/__tests__/contract/operations/staking.spec.ts index 0b4b06a1c2..29bddd2066 100644 --- a/integration-tests/__tests__/contract/operations/staking.spec.ts +++ b/integration-tests/__tests__/contract/operations/staking.spec.ts @@ -6,7 +6,7 @@ CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { beforeAll(async () => { await setup(true); - // There is no baker accept staking in quebecbnet and weeklylnet hence tests will fail + // There is no baker accept staking in qenanet and weeklylnet hence tests will fail // Currently TF is a baker that allows staking on parisnet. if (rpc.includes('paris')) { knownBaker = 'tz3Q67aMz7gSMiQRcW729sXSfuMtkyAHYfqc' // TF diff --git a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts index e036a4b23b..e6bbc62232 100644 --- a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts +++ b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts @@ -6,7 +6,7 @@ import { ConstantsResponseProto020, ConstantsResponseProto021 } from '@taquito/r CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { const Tezos = lib; const parisnet = (networkType == NetworkType.TESTNET && protocol === Protocols.PsParisCZ) ? test : test.skip; - const quebecbnet = (networkType == NetworkType.TESTNET && protocol === Protocols.PsQuebecB) ? test : test.skip; + const qenanet = (networkType == NetworkType.TESTNET && protocol === Protocols.PtQenaB1P) ? test : test.skip; const weeklynet = (networkType == NetworkType.TESTNET && protocol === Protocols.ProtoALpha) ? test : test.skip; describe('Test fetching constants for all protocols on Mainnet', () => { const rpcUrl = 'https://mainnet.ecadinfra.com/'; @@ -304,7 +304,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { }); }); - quebecbnet(`should successfully fetch all constants for quebecbnet + qenanet(`should successfully fetch all constants for qenanet using ${rpc}`, async () => { Tezos.setRpcProvider(rpc); const constants: ConstantsResponseProto021 = await Tezos.rpc.getConstants(); diff --git a/integration-tests/__tests__/rpc/nodes.spec.ts b/integration-tests/__tests__/rpc/nodes.spec.ts index 5c0fecd652..dc73ac52e8 100644 --- a/integration-tests/__tests__/rpc/nodes.spec.ts +++ b/integration-tests/__tests__/rpc/nodes.spec.ts @@ -20,7 +20,7 @@ CONFIGS().forEach( }) => { const Tezos = lib; const unrestrictedRPCNode = rpc.includes("i.ecadinfra.com") ? test : test.skip; - const quebecbnet = protocol === Protocols.PsQuebecB ? test : test.skip; + const qenanet = protocol === Protocols.PtQenaB1P ? test : test.skip; let ticketContract: DefaultContractType; beforeAll(async () => { @@ -66,7 +66,7 @@ CONFIGS().forEach( expect(balance).toBeDefined(); }); - quebecbnet(`Verify that rpcClient.getSpendable for knownBaker returns the spendable balance excluding frozen bonds`, async () => { + qenanet(`Verify that rpcClient.getSpendable for knownBaker returns the spendable balance excluding frozen bonds`, async () => { const balance = await rpcClient.getSpendable(knownBaker); expect(balance).toBeDefined(); }); @@ -76,7 +76,7 @@ CONFIGS().forEach( expect(balance).toBeDefined(); }); - quebecbnet(`Verify that rpcClient.getSpendableAndFrozenBonds for knownBaker returns the full balance`, async () => { + qenanet(`Verify that rpcClient.getSpendableAndFrozenBonds for knownBaker returns the full balance`, async () => { const balance = await rpcClient.getSpendableAndFrozenBonds(knownBaker); expect(balance).toBeDefined(); }); diff --git a/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts b/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts index a9fd70fc20..d90b634eeb 100644 --- a/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts +++ b/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts @@ -7,7 +7,7 @@ CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { beforeAll(async () => { await setup(true); try { - // There is no baker accept staking in quebecbnet and weeklylnet hence tests will fail + // There is no baker accept staking in qenanet and weeklylnet hence tests will fail // Currently TF is a baker that allows staking on parisnet. if (rpc.includes('paris')) { knownBaker = 'tz3Q67aMz7gSMiQRcW729sXSfuMtkyAHYfqc' // TF diff --git a/integration-tests/config.ts b/integration-tests/config.ts index ada675aa72..d3f741d6fb 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -8,7 +8,7 @@ import { KnownContracts } from './known-contracts'; import { knownContractsProtoALph } from './known-contracts-ProtoALph'; import { knownContractsPtGhostnet } from './known-contracts-PtGhostnet'; import { knownContractsPsParisCZ } from './known-contracts-PsParisCZ'; -import { knownContractsPsQuebecB } from './known-contracts-PsQuebecB'; +import { knownContractsPtQenaB1P } from './known-contracts-PtQenaB1P'; const nodeCrypto = require('crypto'); @@ -141,17 +141,17 @@ const parisnetEphemeral: Config = const parisnetSecretKey: Config = { ...parisnetEphemeral, ...{ signerConfig: defaultSecretKey } }; - const quebecbnetEphemeral: Config = + const qenanetEphemeral: Config = defaultConfig({ - networkName: 'QUEBECBNET', - protocol: Protocols.PsQuebecB, - defaultRpc: 'https://rpc.quebecbnet.teztnets.com/', - knownContracts: knownContractsPsQuebecB, - signerConfig: defaultEphemeralConfig('https://keygen.ecadinfra.com/quebecbnet') + networkName: 'QENANET', + protocol: Protocols.PtQenaB1P, + defaultRpc: 'https://rpc.qenanet.teztnets.com/', + knownContracts: knownContractsPtQenaB1P, + signerConfig: defaultEphemeralConfig('https://keygen.ecadinfra.com/qenanet') }); -const quebecbnetSecretKey: Config = - { ...quebecbnetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://quebecbnet.ecadinfra.com/' } }; +const qenanetSecretKey: Config = + { ...qenanetEphemeral, ...{ signerConfig: defaultSecretKey }, ...{ defaultRpc: 'https://qenanet.ecadinfra.com/' } }; const ghostnetEphemeral: Config = defaultConfig({ @@ -185,14 +185,14 @@ if (process.env['RUN_WITH_SECRET_KEY']) { providers.push(parisnetSecretKey); } else if (process.env['RUN_GHOSTNET_WITH_SECRET_KEY']) { providers.push(ghostnetSecretKey); -} else if (process.env['RUN_QUEBECBNET_WITH_SECRET_KEY']) { - providers.push(quebecbnetSecretKey); +} else if (process.env['RUN_QENANET_WITH_SECRET_KEY']) { + providers.push(qenanetSecretKey); } else if (process.env['RUN_WEEKLYNET_WITH_SECRET_KEY']) { providers.push(weeklynetSecretKey); } else if (process.env['PARISNET']) { providers.push(parisnetEphemeral); -} else if (process.env['QUEBECBNET']) { - providers.push(quebecbnetEphemeral); +} else if (process.env['QENANET']) { + providers.push(qenanetEphemeral); } else if (process.env['GHOSTNET']) { providers.push(ghostnetEphemeral); } else if (process.env['WEEKLYNET']) { diff --git a/integration-tests/known-contracts-PsQuebecB.ts b/integration-tests/known-contracts-PsQuebecB.ts deleted file mode 100644 index 2cd1109fba..0000000000 --- a/integration-tests/known-contracts-PsQuebecB.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { KnownContracts } from './known-contracts'; -export const knownContractsPsQuebecB: KnownContracts = { - contract: "KT1KAK4KbpyzfPBhy4g46iCdB4eAFZwPKyaH", - bigMapContract: "KT1AHDjPEfoiyCvQBPXZEkoXR26h8J6LsiU2", - tzip12BigMapOffChainContract: "KT1SGSDiRRu5qHSKFVpDBBXDBxKUxdRnzbRQ", - saplingContract: "KT1PF3ePtD7Q45SaDVFdfYtqybbURqBd1wgz", - onChainViewContractAddress: "KT1LKW5sryVUqEygK2n59RzPHHJSJofBVzzm", -}; diff --git a/integration-tests/known-contracts-PtQenaB1P.ts b/integration-tests/known-contracts-PtQenaB1P.ts new file mode 100644 index 0000000000..e8eebe1f9d --- /dev/null +++ b/integration-tests/known-contracts-PtQenaB1P.ts @@ -0,0 +1,8 @@ +import { KnownContracts } from './known-contracts'; +export const knownContractsPtQenaB1P: KnownContracts = { + contract: "KT1Dz1b1TLUq4ox7MvHf3XPjggXWe2sQnXWf", + bigMapContract: "KT1WFNfSGy3sJB6Aoy9rVfuipnxsiszaHVWi", + tzip12BigMapOffChainContract: "KT1Hn2M7BArLntv35LMbE6EzAdrSEnij5JCh", + saplingContract: "KT1Wrf8qGFeWBD4q2o16AnYWmQK8kP6Pw471", + onChainViewContractAddress: "KT1GrzvfRi6zZ7jFbirsCT6qfNGfDGWDaCSr", +}; diff --git a/integration-tests/originate-known-contracts.ts b/integration-tests/originate-known-contracts.ts index 946ed90d83..9b872f30a2 100644 --- a/integration-tests/originate-known-contracts.ts +++ b/integration-tests/originate-known-contracts.ts @@ -8,7 +8,7 @@ import { codeViewsTopLevel } from './data/contract_views_top_level'; import { knownBigMapContract } from './data/knownBigMapContract'; import { knownContract } from './data/knownContract'; import * as fs from 'fs/promises'; - +// before running the test with secret key make sure tz2RqxsYQyFuP9amsmrr25x9bUcBMWXGvjuD is funded const MUTEZ_UNIT = new BigNumber(1000000); CONFIGS().forEach(({ lib, setup, protocol }) => { diff --git a/integration-tests/package.json b/integration-tests/package.json index 8b9a555365..aa0a8515cc 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -5,8 +5,8 @@ "test:secret-key": "RUN_WITH_SECRET_KEY=true jest --runInBand", "test:parisnet": "PARISNET=true jest", "test:parisnet-secret-key": "RUN_PARISNET_WITH_SECRET_KEY=true jest --runInBand", - "test:quebecbnet": "QUEBECBNET=true jest", - "test:quebecbnet-secret-key": "RUN_QUEBECBNET_WITH_SECRET_KEY=true jest --runInBand", + "test:qenanet": "QENANET=true jest", + "test:qenanet-secret-key": "RUN_QENANET_WITH_SECRET_KEY=true jest --runInBand", "test:weeklynet": "WEEKLYNET=true jest", "test:weeklynet-secret-key": "RUN_WEEKLYNET_WITH_SECRET_KEY=true jest --runInBand", "test:ghostnet": "GHOSTNET=true jest", diff --git a/packages/taquito-local-forging/src/protocols.ts b/packages/taquito-local-forging/src/protocols.ts index adeb2b88da..359a76c6dd 100644 --- a/packages/taquito-local-forging/src/protocols.ts +++ b/packages/taquito-local-forging/src/protocols.ts @@ -18,7 +18,7 @@ export enum ProtocolsHash { ProxfordY = 'ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH', PtParisBx = 'PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ', PsParisCZ = 'PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi', - PsQuebecB = 'PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1', + PtQenaB1P = 'PtQenaB1PqFEfTe2og7bZTaPvMw2CxRyDFEwWNj3GiWp9ba4bJd', ProtoALpha = 'ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK', } @@ -42,7 +42,7 @@ const protoLevel: Record = { ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19, PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20, PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi: 20, - PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1: 21, + PtQenaB1PqFEfTe2og7bZTaPvMw2CxRyDFEwWNj3GiWp9ba4bJd: 21, ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 22, }; diff --git a/packages/taquito-michel-codec/src/michelson-types.ts b/packages/taquito-michel-codec/src/michelson-types.ts index e5dbe43dee..2d0be77fa5 100644 --- a/packages/taquito-michel-codec/src/michelson-types.ts +++ b/packages/taquito-michel-codec/src/michelson-types.ts @@ -128,7 +128,7 @@ type Instr0 = Prim0; type InstrX = PrimX; export type MichelsonCode = InstructionList | MichelsonInstruction; -export interface InstructionList extends List { } +export interface InstructionList extends List {} export type MichelsonNoArgInstruction = Instr0; export type MichelsonInstruction = @@ -224,87 +224,87 @@ export type MichelsonTypeChest = Type0<'chest'>; type TypeList = T & Node; export type MichelsonTypePair = TypeX<'pair', T> | TypeList; -export interface MichelsonTypeOption extends TypeX<'option', [T]> { } -export interface MichelsonTypeList extends TypeX<'list', [T]> { } -export interface MichelsonTypeContract extends TypeX<'contract', [T]> { } -export interface MichelsonTypeOr extends TypeX<'or', T> { } +export interface MichelsonTypeOption extends TypeX<'option', [T]> {} +export interface MichelsonTypeList extends TypeX<'list', [T]> {} +export interface MichelsonTypeContract extends TypeX<'contract', [T]> {} +export interface MichelsonTypeOr extends TypeX<'or', T> {} export interface MichelsonTypeLambda - extends TypeX<'lambda', [Arg, Ret]> { } + extends TypeX<'lambda', [Arg, Ret]> {} -export interface MichelsonTypeSet extends TypeX<'set', [T]> { } +export interface MichelsonTypeSet extends TypeX<'set', [T]> {} export interface MichelsonTypeMap - extends TypeX<'map', [K, V]> { } + extends TypeX<'map', [K, V]> {} export interface MichelsonTypeBigMap - extends TypeX<'big_map', [K, V]> { } + extends TypeX<'big_map', [K, V]> {} export interface MichelsonTypeSaplingState - extends TypeX<'sapling_state', [IntLiteral]> { } + extends TypeX<'sapling_state', [IntLiteral]> {} export interface MichelsonTypeSaplingTransaction - extends TypeX<'sapling_transaction', [IntLiteral]> { } -export interface MichelsonTypeTicket extends TypeX<'ticket', [T]> { } + extends TypeX<'sapling_transaction', [IntLiteral]> {} +export interface MichelsonTypeTicket extends TypeX<'ticket', [T]> {} export type MichelsonType = T extends 'int' ? MichelsonTypeInt : T extends 'nat' - ? MichelsonTypeNat - : T extends 'string' - ? MichelsonTypeString - : T extends 'bytes' - ? MichelsonTypeBytes - : T extends 'mutez' - ? MichelsonTypeMutez - : T extends 'bool' - ? MichelsonTypeBool - : T extends 'key_hash' - ? MichelsonTypeKeyHash - : T extends 'timestamp' - ? MichelsonTypeTimestamp - : T extends 'address' - ? MichelsonTypeAddress - : T extends 'key' - ? MichelsonTypeKey - : T extends 'unit' - ? MichelsonTypeUnit - : T extends 'signature' - ? MichelsonTypeSignature - : T extends 'operation' - ? MichelsonTypeOperation - : T extends 'chain_id' - ? MichelsonTypeChainID - : T extends 'option' - ? MichelsonTypeOption - : T extends 'list' - ? MichelsonTypeList - : T extends 'contract' - ? MichelsonTypeContract - : T extends 'ticket' - ? MichelsonTypeTicket - : T extends 'pair' - ? MichelsonTypePair - : T extends 'or' - ? MichelsonTypeOr<[MichelsonType, MichelsonType]> - : T extends 'lambda' - ? MichelsonTypeLambda - : T extends 'set' - ? MichelsonTypeSet - : T extends 'map' - ? MichelsonTypeMap - : T extends 'big_map' - ? MichelsonTypeBigMap - : T extends 'never' - ? MichelsonTypeNever - : T extends 'bls12_381_g1' - ? MichelsonTypeBLS12_381_G1 - : T extends 'bls12_381_g2' - ? MichelsonTypeBLS12_381_G2 - : T extends 'bls12_381_fr' - ? MichelsonTypeBLS12_381_FR - : T extends 'sapling_transaction' - ? MichelsonTypeSaplingTransaction - : T extends 'sapling_state' - ? MichelsonTypeSaplingState - : T extends 'chest_key' - ? MichelsonTypeChestKey - : MichelsonTypeChest; + ? MichelsonTypeNat + : T extends 'string' + ? MichelsonTypeString + : T extends 'bytes' + ? MichelsonTypeBytes + : T extends 'mutez' + ? MichelsonTypeMutez + : T extends 'bool' + ? MichelsonTypeBool + : T extends 'key_hash' + ? MichelsonTypeKeyHash + : T extends 'timestamp' + ? MichelsonTypeTimestamp + : T extends 'address' + ? MichelsonTypeAddress + : T extends 'key' + ? MichelsonTypeKey + : T extends 'unit' + ? MichelsonTypeUnit + : T extends 'signature' + ? MichelsonTypeSignature + : T extends 'operation' + ? MichelsonTypeOperation + : T extends 'chain_id' + ? MichelsonTypeChainID + : T extends 'option' + ? MichelsonTypeOption + : T extends 'list' + ? MichelsonTypeList + : T extends 'contract' + ? MichelsonTypeContract + : T extends 'ticket' + ? MichelsonTypeTicket + : T extends 'pair' + ? MichelsonTypePair + : T extends 'or' + ? MichelsonTypeOr<[MichelsonType, MichelsonType]> + : T extends 'lambda' + ? MichelsonTypeLambda + : T extends 'set' + ? MichelsonTypeSet + : T extends 'map' + ? MichelsonTypeMap + : T extends 'big_map' + ? MichelsonTypeBigMap + : T extends 'never' + ? MichelsonTypeNever + : T extends 'bls12_381_g1' + ? MichelsonTypeBLS12_381_G1 + : T extends 'bls12_381_g2' + ? MichelsonTypeBLS12_381_G2 + : T extends 'bls12_381_fr' + ? MichelsonTypeBLS12_381_FR + : T extends 'sapling_transaction' + ? MichelsonTypeSaplingTransaction + : T extends 'sapling_state' + ? MichelsonTypeSaplingState + : T extends 'chest_key' + ? MichelsonTypeChestKey + : MichelsonTypeChest; // Data @@ -330,7 +330,10 @@ export type MichelsonDataPair = DataX<'Pair', T> | Da export type MichelsonMapElt = PrimX<'Elt', [MichelsonData, MichelsonData]>; export type MichelsonMapEltList = List; export type MichelsonLambdaRec = DataX<'Lambda_rec', [InstructionList]>; -export type MichelsonTicket = PrimX<'Ticket', [StringLiteral | BytesLiteral, MichelsonType, MichelsonData, IntLiteral]>; +export type MichelsonTicket = PrimX< + 'Ticket', + [StringLiteral | BytesLiteral, MichelsonType, MichelsonData, IntLiteral] +>; export type MichelsonData = | IntLiteral @@ -363,12 +366,12 @@ export type MichelsonContract = MichelsonContractSection[]; export type MichelsonContractSection = T extends 'parameter' - ? MichelsonContractParameter - : T extends 'storage' - ? MichelsonContractStorage - : T extends 'view' - ? MichelsonContractView - : MichelsonContractCode; + ? MichelsonContractParameter + : T extends 'storage' + ? MichelsonContractStorage + : T extends 'view' + ? MichelsonContractView + : MichelsonContractCode; // Code analysis types export interface MichelsonTypeFailed { @@ -406,7 +409,7 @@ export enum Protocol { ProxfordY = 'ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH', PtParisBx = 'PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ', PsParisCZ = 'PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi', - PsQuebecB = 'PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1', + PtQenaB1P = 'PtQenaB1PqFEfTe2og7bZTaPvMw2CxRyDFEwWNj3GiWp9ba4bJd', ProtoALpha = 'ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK', // temporary protocol hash } @@ -442,7 +445,7 @@ const protoLevel: Record = { ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19, PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20, PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi: 20, - PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1: 21, + PtQenaB1PqFEfTe2og7bZTaPvMw2CxRyDFEwWNj3GiWp9ba4bJd: 21, ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 22, }; diff --git a/packages/taquito/src/constants.ts b/packages/taquito/src/constants.ts index b339b8c5c1..bacd8773f9 100644 --- a/packages/taquito/src/constants.ts +++ b/packages/taquito/src/constants.ts @@ -70,7 +70,7 @@ export enum Protocols { ProxfordY = 'ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH', PtParisBx = 'PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ', PsParisCZ = 'PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi', - PsQuebecB = 'PsQuebecBo3zZmhQT7KdEQ2RRDtncE6gQFRPgwkKEyC1ea995G1', + PtQenaB1P = 'PtQenaB1PqFEfTe2og7bZTaPvMw2CxRyDFEwWNj3GiWp9ba4bJd', ProtoALpha = 'ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK', } @@ -91,7 +91,7 @@ export const protocols = { '017': [Protocols.PtNairobi], '019': [Protocols.ProxfordY], '020': [Protocols.PtParisBx, Protocols.PsParisCZ], - '021': [Protocols.PsQuebecB], + '021': [Protocols.PtQenaB1P], '022': [Protocols.ProtoALpha], }; @@ -114,7 +114,7 @@ export enum ChainIds { OXFORDNET2 = 'NetXxWsskGahzQB', PARISBNET = 'NetXo8SqH1c38SS', PARISCNET = 'NetXXWAHLEvre9b', - QUEBECBNET = 'NetXamR3dD5nwmS', + QENANET = 'NetXaVebR53QZgE', } // A fixed fee reveal operation gasLimit accepted by both simulate and injection endpoint is between 1.2-5 times of actual gas consumption (3.5 fails occasionally with gas exhausted; 4 fails occasionally with fee too low) From 61cd962d3d0ce344fcbd21218ebd86e1eeceb3ad Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 10 Oct 2024 08:58:11 -0700 Subject: [PATCH 13/14] test: updating protocol constant assertion for qena and estimation assertion + dependency update --- .../contract/estimation-tests.spec.ts | 82 ++++---- .../rpc/get-protocol-constants.spec.ts | 2 +- package-lock.json | 178 ++++++++--------- package.json | 2 +- packages/taquito-beacon-wallet/package.json | 2 +- .../taquito-contracts-library/package.json | 2 +- packages/taquito-core/package.json | 2 +- packages/taquito-http-utils/package.json | 2 +- packages/taquito-ledger-signer/package.json | 2 +- packages/taquito-local-forging/package.json | 2 +- packages/taquito-michel-codec/package.json | 2 +- .../taquito-michelson-encoder/package.json | 2 +- packages/taquito-remote-signer/package.json | 2 +- packages/taquito-rpc/package.json | 2 +- packages/taquito-sapling/package.json | 2 +- packages/taquito-signer/package.json | 2 +- packages/taquito-timelock/package.json | 2 +- packages/taquito-tzip12/package.json | 2 +- packages/taquito-tzip16/package.json | 2 +- packages/taquito-utils/package.json | 2 +- packages/taquito/package.json | 2 +- website/package-lock.json | 183 ++++++++---------- 22 files changed, 234 insertions(+), 247 deletions(-) diff --git a/integration-tests/__tests__/contract/estimation-tests.spec.ts b/integration-tests/__tests__/contract/estimation-tests.spec.ts index e82d62dc22..05b06fcce7 100644 --- a/integration-tests/__tests__/contract/estimation-tests.spec.ts +++ b/integration-tests/__tests__/contract/estimation-tests.spec.ts @@ -41,11 +41,11 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { const estimate = await LowAmountTez.estimate.transfer({ to: await Tezos.signer.publicKeyHash(), amount: 0.019 }); expect(estimate.gasLimit).toEqual(101); expect(estimate.storageLimit).toEqual(0); - expect(estimate.suggestedFeeMutez).toEqual(186); + expect(estimate.suggestedFeeMutez).toEqual(188); expect(estimate.burnFeeMutez).toEqual(0); - expect(estimate.minimalFeeMutez).toEqual(166); - expect(estimate.totalCost).toEqual(166); - expect(estimate.usingBaseFeeMutez).toEqual(166); + expect(estimate.minimalFeeMutez).toEqual(168); + expect(estimate.totalCost).toEqual(168); + expect(estimate.usingBaseFeeMutez).toEqual(168); expect(estimate.consumedMilligas).toEqual(100040); }); @@ -53,11 +53,11 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { const estimate = await LowAmountTez.estimate.transfer({ to: await (await createAddress()).signer.publicKeyHash(), amount: 0.017 }); expect(estimate.gasLimit).toEqual(101); expect(estimate.storageLimit).toEqual(277); - expect(estimate.suggestedFeeMutez).toEqual(186); + expect(estimate.suggestedFeeMutez).toEqual(188); expect(estimate.burnFeeMutez).toEqual(69250); - expect(estimate.minimalFeeMutez).toEqual(166); - expect(estimate.totalCost).toEqual(69416); - expect(estimate.usingBaseFeeMutez).toEqual(166); + expect(estimate.minimalFeeMutez).toEqual(168); + expect(estimate.totalCost).toEqual(69418); + expect(estimate.usingBaseFeeMutez).toEqual(168); expect(estimate.consumedMilligas).toEqual(100040); }); @@ -69,11 +69,11 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { }); expect(estimate.gasLimit).toEqual(677); expect(estimate.storageLimit).toEqual(591); - expect(estimate.suggestedFeeMutez).toEqual(535); + expect(estimate.suggestedFeeMutez).toEqual(537); expect(estimate.burnFeeMutez).toEqual(147750); - expect(estimate.minimalFeeMutez).toEqual(515); - expect(estimate.totalCost).toEqual(148265); - expect(estimate.usingBaseFeeMutez).toEqual(515); + expect(estimate.minimalFeeMutez).toEqual(517); + expect(estimate.totalCost).toEqual(148267); + expect(estimate.usingBaseFeeMutez).toEqual(517); expect(estimate.consumedMilligas).toEqual(676402); }); @@ -84,11 +84,11 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { }); expect(estimate.gasLimit).toEqual(100); expect(estimate.storageLimit).toEqual(0); - expect(estimate.suggestedFeeMutez).toEqual(181); + expect(estimate.suggestedFeeMutez).toEqual(183); expect(estimate.burnFeeMutez).toEqual(0); - expect(estimate.minimalFeeMutez).toEqual(161); - expect(estimate.totalCost).toEqual(161); - expect(estimate.usingBaseFeeMutez).toEqual(161); + expect(estimate.minimalFeeMutez).toEqual(163); + expect(estimate.totalCost).toEqual(163); + expect(estimate.usingBaseFeeMutez).toEqual(163); expect(estimate.consumedMilligas).toEqual(100000); }); @@ -97,12 +97,12 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { const estimate = await LowAmountTez.estimate.transfer(tx); expect(estimate.gasLimit).toEqual(1457); expect(estimate.storageLimit).toEqual(0); - expect(estimate.suggestedFeeMutez).toEqual(394); + expect(estimate.suggestedFeeMutez).toEqual(396); expect(estimate.burnFeeMutez).toEqual(0); - expect(estimate.minimalFeeMutez).toEqual(374); - expect(estimate.totalCost).toEqual(374); - expect(estimate.usingBaseFeeMutez).toEqual(374); - expect(estimate.consumedMilligas).toEqual(1456056); + expect(estimate.minimalFeeMutez).toEqual(376); + expect(estimate.totalCost).toEqual(376); + expect(estimate.usingBaseFeeMutez).toEqual(376); + expect(estimate.consumedMilligas).toEqual(1456228); }); it('Verify .estimate.transfer for multiple internal transfers to unallocated account', async () => { @@ -114,12 +114,12 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { const estimate = await LowAmountTez.estimate.transfer(tx); expect(estimate.gasLimit).toEqual(1571); expect(estimate.storageLimit).toEqual(534); - expect(estimate.suggestedFeeMutez).toEqual(465); + expect(estimate.suggestedFeeMutez).toEqual(467); expect(estimate.burnFeeMutez).toEqual(133500); - expect(estimate.minimalFeeMutez).toEqual(445); - expect(estimate.totalCost).toEqual(133945); - expect(estimate.usingBaseFeeMutez).toEqual(445); - expect(estimate.consumedMilligas).toEqual(1570585); + expect(estimate.minimalFeeMutez).toEqual(447); + expect(estimate.totalCost).toEqual(133947); + expect(estimate.usingBaseFeeMutez).toEqual(447); + expect(estimate.consumedMilligas).toEqual(1570757); }); it('Verify .estimate.transfer for internal origination', async () => { @@ -127,25 +127,25 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { const estimate = await LowAmountTez.estimate.transfer(tx); expect(estimate.gasLimit).toEqual(1867); expect(estimate.storageLimit).toEqual(337); - expect(estimate.suggestedFeeMutez).toEqual(441); + expect(estimate.suggestedFeeMutez).toEqual(443); expect(estimate.burnFeeMutez).toEqual(84250); - expect(estimate.minimalFeeMutez).toEqual(421); - expect(estimate.totalCost).toEqual(84671); - expect(estimate.usingBaseFeeMutez).toEqual(421); - expect(estimate.consumedMilligas).toEqual(1866680); + expect(estimate.minimalFeeMutez).toEqual(423); + expect(estimate.totalCost).toEqual(84673); + expect(estimate.usingBaseFeeMutez).toEqual(423); + expect(estimate.consumedMilligas).toEqual(1866852); }); it('Verify .estimate.transfer for multiple internal originations', async () => { const tx = contract.methods.do(originate2()).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(2392); + expect(estimate.gasLimit).toEqual(2393); expect(estimate.storageLimit).toEqual(654); - expect(estimate.suggestedFeeMutez).toEqual(559); + expect(estimate.suggestedFeeMutez).toEqual(561); expect(estimate.burnFeeMutez).toEqual(163500); - expect(estimate.minimalFeeMutez).toEqual(539); - expect(estimate.totalCost).toEqual(164039); - expect(estimate.usingBaseFeeMutez).toEqual(539); - expect(estimate.consumedMilligas).toEqual(2391833); + expect(estimate.minimalFeeMutez).toEqual(541); + expect(estimate.totalCost).toEqual(164041); + expect(estimate.usingBaseFeeMutez).toEqual(541); + expect(estimate.consumedMilligas).toEqual(2392005); // Do the actual operation const op2 = await contract.methods.do(originate2()).send(); await op2.confirmation(); @@ -176,11 +176,11 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc }) => { let estimate = await LowAmountTez.estimate.transfer({ to: await Tezos.signer.publicKeyHash(), mutez: true, amount: amt - (1382 + getRevealFee(await LowAmountTez.signer.publicKeyHash())) }); expect(estimate.gasLimit).toEqual(101); expect(estimate.storageLimit).toEqual(0); - expect(estimate.suggestedFeeMutez).toEqual(185); + expect(estimate.suggestedFeeMutez).toEqual(187); expect(estimate.burnFeeMutez).toEqual(0); - expect(estimate.minimalFeeMutez).toEqual(165); - expect(estimate.totalCost).toEqual(165); - expect(estimate.usingBaseFeeMutez).toEqual(165); + expect(estimate.minimalFeeMutez).toEqual(167); + expect(estimate.totalCost).toEqual(167); + expect(estimate.usingBaseFeeMutez).toEqual(167); expect(estimate.consumedMilligas).toEqual(100040); }); diff --git a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts index e6bbc62232..42751ed453 100644 --- a/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts +++ b/integration-tests/__tests__/rpc/get-protocol-constants.spec.ts @@ -385,7 +385,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, networkType }) => { vdf_revelation_tip_weight: 1, }, min_proposal_quorum: 500, - edge_of_staking_over_delegation: 3, + edge_of_staking_over_delegation: 2, global_limit_of_staking_over_baking: 5, liquidity_baking_toggle_ema_threshold: 100000, max_operations_time_to_live: 187, diff --git a/package-lock.json b/package-lock.json index 8d930a9b62..2256c72a9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -6448,9 +6448,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.1.tgz", - "integrity": "sha512-XzqSg714++M+FXhHfXpS1tDnNZNpgxxuGZWlRG/jSj+VEPmZ0yg6jV4E0AL3uyBKxO8mO3xtOsP5mQ+XLfrlww==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", + "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", "cpu": [ "arm" ], @@ -6462,9 +6462,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.1.tgz", - "integrity": "sha512-thFUbkHteM20BGShD6P08aungq4irbIZKUNbG70LN8RkO7YztcGPiKTTGZS7Kw+x5h8hOXs0i4OaHwFxlpQN6A==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", + "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", "cpu": [ "arm64" ], @@ -6476,9 +6476,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.1.tgz", - "integrity": "sha512-8o6eqeFZzVLia2hKPUZk4jdE3zW7LCcZr+MD18tXkgBBid3lssGVAYuox8x6YHoEPDdDa9ixTaStcmx88lio5Q==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", + "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", "cpu": [ "arm64" ], @@ -6490,9 +6490,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.1.tgz", - "integrity": "sha512-4T42heKsnbjkn7ovYiAdDVRRWZLU9Kmhdt6HafZxFcUdpjlBlxj4wDrt1yFWLk7G4+E+8p2C9tcmSu0KA6auGA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", + "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", "cpu": [ "x64" ], @@ -6504,9 +6504,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.1.tgz", - "integrity": "sha512-MXg1xp+e5GhZ3Vit1gGEyoC+dyQUBy2JgVQ+3hUrD9wZMkUw/ywgkpK7oZgnB6kPpGrxJ41clkPPnsknuD6M2Q==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", + "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", "cpu": [ "arm" ], @@ -6518,9 +6518,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.1.tgz", - "integrity": "sha512-DZNLwIY4ftPSRVkJEaxYkq7u2zel7aah57HESuNkUnz+3bZHxwkCUkrfS2IWC1sxK6F2QNIR0Qr/YXw7nkF3Pw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", + "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", "cpu": [ "arm" ], @@ -6532,9 +6532,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.1.tgz", - "integrity": "sha512-C7evongnjyxdngSDRRSQv5GvyfISizgtk9RM+z2biV5kY6S/NF/wta7K+DanmktC5DkuaJQgoKGf7KUDmA7RUw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", + "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", "cpu": [ "arm64" ], @@ -6546,9 +6546,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.1.tgz", - "integrity": "sha512-89tFWqxfxLLHkAthAcrTs9etAoBFRduNfWdl2xUs/yLV+7XDrJ5yuXMHptNqf1Zw0UCA3cAutkAiAokYCkaPtw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", + "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", "cpu": [ "arm64" ], @@ -6560,9 +6560,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.1.tgz", - "integrity": "sha512-PromGeV50sq+YfaisG8W3fd+Cl6mnOOiNv2qKKqKCpiiEke2KiKVyDqG/Mb9GWKbYMHj5a01fq/qlUR28PFhCQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", + "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", "cpu": [ "ppc64" ], @@ -6574,9 +6574,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.1.tgz", - "integrity": "sha512-/1BmHYh+iz0cNCP0oHCuF8CSiNj0JOGf0jRlSo3L/FAyZyG2rGBuKpkZVH9YF+x58r1jgWxvm1aRg3DHrLDt6A==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", + "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", "cpu": [ "riscv64" ], @@ -6588,9 +6588,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.1.tgz", - "integrity": "sha512-0cYP5rGkQWRZKy9/HtsWVStLXzCF3cCBTRI+qRL8Z+wkYlqN7zrSYm6FuY5Kd5ysS5aH0q5lVgb/WbG4jqXN1Q==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", + "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", "cpu": [ "s390x" ], @@ -6602,9 +6602,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.1.tgz", - "integrity": "sha512-XUXeI9eM8rMP8aGvii/aOOiMvTs7xlCosq9xCjcqI9+5hBxtjDpD+7Abm1ZhVIFE1J2h2VIg0t2DX/gjespC2Q==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", "cpu": [ "x64" ], @@ -6616,9 +6616,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.1.tgz", - "integrity": "sha512-V7cBw/cKXMfEVhpSvVZhC+iGifD6U1zJ4tbibjjN+Xi3blSXaj/rJynAkCFFQfoG6VZrAiP7uGVzL440Q6Me2Q==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", + "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", "cpu": [ "x64" ], @@ -6630,9 +6630,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.1.tgz", - "integrity": "sha512-88brja2vldW/76jWATlBqHEoGjJLRnP0WOEKAUbMcXaAZnemNhlAHSyj4jIwMoP2T750LE9lblvD4e2jXleZsA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", + "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", "cpu": [ "arm64" ], @@ -6644,9 +6644,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.1.tgz", - "integrity": "sha512-LdxxcqRVSXi6k6JUrTah1rHuaupoeuiv38du8Mt4r4IPer3kwlTo+RuvfE8KzZ/tL6BhaPlzJ3835i6CxrFIRQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", + "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", "cpu": [ "ia32" ], @@ -6658,9 +6658,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.1.tgz", - "integrity": "sha512-2bIrL28PcK3YCqD9anGxDxamxdiJAxA+l7fWIwM5o8UqNy1t3d1NdAweO2XhA0KTDJ5aH1FsuiT5+7VhtHliXg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", + "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", "cpu": [ "x64" ], @@ -7355,9 +7355,9 @@ } }, "node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "dev": true, "license": "MIT" }, @@ -23381,13 +23381,13 @@ } }, "node_modules/rollup": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.19.1.tgz", - "integrity": "sha512-K5vziVlg7hTpYfFBI+91zHBEMo6jafYXpkMlqZjg7/zhIG9iHqazBf4xz9AVdjS9BruRn280ROqLI7G3OFRIlw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", + "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.5" + "@types/estree": "1.0.6" }, "bin": { "rollup": "dist/bin/rollup" @@ -23397,22 +23397,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.19.1", - "@rollup/rollup-android-arm64": "4.19.1", - "@rollup/rollup-darwin-arm64": "4.19.1", - "@rollup/rollup-darwin-x64": "4.19.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.19.1", - "@rollup/rollup-linux-arm-musleabihf": "4.19.1", - "@rollup/rollup-linux-arm64-gnu": "4.19.1", - "@rollup/rollup-linux-arm64-musl": "4.19.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.19.1", - "@rollup/rollup-linux-riscv64-gnu": "4.19.1", - "@rollup/rollup-linux-s390x-gnu": "4.19.1", - "@rollup/rollup-linux-x64-gnu": "4.19.1", - "@rollup/rollup-linux-x64-musl": "4.19.1", - "@rollup/rollup-win32-arm64-msvc": "4.19.1", - "@rollup/rollup-win32-ia32-msvc": "4.19.1", - "@rollup/rollup-win32-x64-msvc": "4.19.1", + "@rollup/rollup-android-arm-eabi": "4.24.0", + "@rollup/rollup-android-arm64": "4.24.0", + "@rollup/rollup-darwin-arm64": "4.24.0", + "@rollup/rollup-darwin-x64": "4.24.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", + "@rollup/rollup-linux-arm-musleabihf": "4.24.0", + "@rollup/rollup-linux-arm64-gnu": "4.24.0", + "@rollup/rollup-linux-arm64-musl": "4.24.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", + "@rollup/rollup-linux-riscv64-gnu": "4.24.0", + "@rollup/rollup-linux-s390x-gnu": "4.24.0", + "@rollup/rollup-linux-x64-gnu": "4.24.0", + "@rollup/rollup-linux-x64-musl": "4.24.0", + "@rollup/rollup-win32-arm64-msvc": "4.24.0", + "@rollup/rollup-win32-ia32-msvc": "4.24.0", + "@rollup/rollup-win32-x64-msvc": "4.24.0", "fsevents": "~2.3.2" } }, @@ -27391,7 +27391,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "rx-sandbox": "^2.0.5", @@ -27441,7 +27441,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27497,7 +27497,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27519,7 +27519,7 @@ }, "devDependencies": { "@types/json-stringify-safe": "^5.0.3", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-typescript2": "^0.36.0" }, "engines": { @@ -27554,7 +27554,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27618,7 +27618,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27684,7 +27684,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27722,7 +27722,7 @@ "lodash.camelcase": "^4.3.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.3", @@ -27771,7 +27771,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27816,7 +27816,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27857,7 +27857,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -27910,7 +27910,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", "ts-jest": "^29.2.3", @@ -27981,7 +27981,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -28023,7 +28023,7 @@ "lodash.camelcase": "^4.3.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.3", @@ -28065,7 +28065,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -28112,7 +28112,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -28160,7 +28160,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/package.json b/package.json index f127edd0dc..74a12a563b 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-beacon-wallet/package.json b/packages/taquito-beacon-wallet/package.json index 658855dbb7..1fe4c36026 100644 --- a/packages/taquito-beacon-wallet/package.json +++ b/packages/taquito-beacon-wallet/package.json @@ -92,7 +92,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-contracts-library/package.json b/packages/taquito-contracts-library/package.json index 35fa517ee8..4737a64c9c 100644 --- a/packages/taquito-contracts-library/package.json +++ b/packages/taquito-contracts-library/package.json @@ -92,7 +92,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-core/package.json b/packages/taquito-core/package.json index fddce8ed9a..e48fe223ca 100644 --- a/packages/taquito-core/package.json +++ b/packages/taquito-core/package.json @@ -64,7 +64,7 @@ }, "devDependencies": { "@types/json-stringify-safe": "^5.0.3", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-typescript2": "^0.36.0" } } diff --git a/packages/taquito-http-utils/package.json b/packages/taquito-http-utils/package.json index 6549e26515..4463c83f3c 100644 --- a/packages/taquito-http-utils/package.json +++ b/packages/taquito-http-utils/package.json @@ -81,7 +81,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-ledger-signer/package.json b/packages/taquito-ledger-signer/package.json index 2a93d28715..b1806fb07e 100644 --- a/packages/taquito-ledger-signer/package.json +++ b/packages/taquito-ledger-signer/package.json @@ -83,7 +83,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-local-forging/package.json b/packages/taquito-local-forging/package.json index d648a01741..3f3009302f 100644 --- a/packages/taquito-local-forging/package.json +++ b/packages/taquito-local-forging/package.json @@ -91,7 +91,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-michel-codec/package.json b/packages/taquito-michel-codec/package.json index c5b2e59031..41f555e3df 100644 --- a/packages/taquito-michel-codec/package.json +++ b/packages/taquito-michel-codec/package.json @@ -82,7 +82,7 @@ "lodash.camelcase": "^4.3.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.3", diff --git a/packages/taquito-michelson-encoder/package.json b/packages/taquito-michelson-encoder/package.json index 4d40c9b73b..630d06ca29 100644 --- a/packages/taquito-michelson-encoder/package.json +++ b/packages/taquito-michelson-encoder/package.json @@ -91,7 +91,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-remote-signer/package.json b/packages/taquito-remote-signer/package.json index 19cc072aae..e3e132a357 100644 --- a/packages/taquito-remote-signer/package.json +++ b/packages/taquito-remote-signer/package.json @@ -87,7 +87,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-rpc/package.json b/packages/taquito-rpc/package.json index dff390de9b..132c281d27 100644 --- a/packages/taquito-rpc/package.json +++ b/packages/taquito-rpc/package.json @@ -89,7 +89,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-sapling/package.json b/packages/taquito-sapling/package.json index 59313a401e..88c9e179e9 100644 --- a/packages/taquito-sapling/package.json +++ b/packages/taquito-sapling/package.json @@ -99,7 +99,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", "ts-jest": "^29.2.3", diff --git a/packages/taquito-signer/package.json b/packages/taquito-signer/package.json index 595fb13edd..594f419ad4 100644 --- a/packages/taquito-signer/package.json +++ b/packages/taquito-signer/package.json @@ -101,7 +101,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-timelock/package.json b/packages/taquito-timelock/package.json index 40738f4559..266f6b27be 100644 --- a/packages/taquito-timelock/package.json +++ b/packages/taquito-timelock/package.json @@ -86,7 +86,7 @@ "lodash.camelcase": "^4.3.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.3", diff --git a/packages/taquito-tzip12/package.json b/packages/taquito-tzip12/package.json index 3e9ac690d5..62c7a2f05f 100644 --- a/packages/taquito-tzip12/package.json +++ b/packages/taquito-tzip12/package.json @@ -86,7 +86,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-tzip16/package.json b/packages/taquito-tzip16/package.json index 591c0d7885..86bcadf236 100644 --- a/packages/taquito-tzip16/package.json +++ b/packages/taquito-tzip16/package.json @@ -90,7 +90,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito-utils/package.json b/packages/taquito-utils/package.json index 217fd24684..cbe277463f 100644 --- a/packages/taquito-utils/package.json +++ b/packages/taquito-utils/package.json @@ -92,7 +92,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", diff --git a/packages/taquito/package.json b/packages/taquito/package.json index 4bbd918f23..57ae70be53 100644 --- a/packages/taquito/package.json +++ b/packages/taquito/package.json @@ -109,7 +109,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "rx-sandbox": "^2.0.5", diff --git a/website/package-lock.json b/website/package-lock.json index 4bbf7a11a6..4329646bf4 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -68,17 +68,17 @@ }, "../packages/taquito": { "name": "@taquito/taquito", - "version": "20.0.1", + "version": "21.0.0-beta.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/local-forging": "^20.0.1", - "@taquito/michel-codec": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/local-forging": "^21.0.0-beta.0", + "@taquito/michel-codec": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "rxjs": "^7.8.1" }, @@ -104,7 +104,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "rx-sandbox": "^2.0.5", @@ -126,12 +126,12 @@ }, "../packages/taquito-beacon-wallet": { "name": "@taquito/beacon-wallet", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@airgap/beacon-dapp": "^4.2.2", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", @@ -154,7 +154,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -171,14 +171,14 @@ }, "../packages/taquito-core": { "name": "@taquito/core", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "json-stringify-safe": "^5.0.1" }, "devDependencies": { "@types/json-stringify-safe": "^5.0.3", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-typescript2": "^0.36.0" }, "engines": { @@ -187,10 +187,10 @@ }, "../packages/taquito-http-utils": { "name": "@taquito/http-utils", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", "node-fetch": "^2.7.0" }, "devDependencies": { @@ -213,7 +213,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -228,14 +228,14 @@ }, "../packages/taquito-ledger-signer": { "name": "@taquito/ledger-signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@ledgerhq/hw-transport": "^6.31.2", "@stablelib/blake2b": "^1.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "buffer": "^6.0.3" }, "devDependencies": { @@ -257,7 +257,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -272,10 +272,10 @@ }, "../packages/taquito-michel-codec": { "name": "@taquito/michel-codec", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", @@ -291,7 +291,7 @@ "lodash.camelcase": "^4.3.0", "prettier": "^3.3.3", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.3", @@ -305,12 +305,12 @@ }, "../packages/taquito-michelson-encoder": { "name": "@taquito/michelson-encoder", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "fast-json-stable-stringify": "^2.1.0" }, @@ -332,7 +332,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -347,15 +347,15 @@ }, "../packages/taquito-remote-signer": { "name": "@taquito/remote-signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "typedarray-to-buffer": "^4.0.0" }, "devDependencies": { @@ -377,7 +377,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -392,12 +392,12 @@ }, "../packages/taquito-rpc": { "name": "@taquito/rpc", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2" }, "devDependencies": { @@ -418,7 +418,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -433,7 +433,7 @@ }, "../packages/taquito-signer": { "name": "@taquito/signer", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", @@ -442,9 +442,9 @@ "@stablelib/nacl": "^1.0.4", "@stablelib/pbkdf2": "^1.0.1", "@stablelib/sha512": "^1.0.1", - "@taquito/core": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "@types/bn.js": "^5.1.5", "bip39": "3.1.0", "elliptic": "^6.5.7", @@ -471,7 +471,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -487,13 +487,13 @@ }, "../packages/taquito-tzip12": { "name": "@taquito/tzip12", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/tzip16": "^20.0.1" + "@taquito/core": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/tzip16": "^21.0.0-beta.0" }, "devDependencies": { "@types/bluebird": "^3.5.42", @@ -514,7 +514,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -529,15 +529,15 @@ }, "../packages/taquito-tzip16": { "name": "@taquito/tzip16", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@taquito/core": "^20.0.1", - "@taquito/http-utils": "^20.0.1", - "@taquito/michelson-encoder": "^20.0.1", - "@taquito/rpc": "^20.0.1", - "@taquito/taquito": "^20.0.1", - "@taquito/utils": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", + "@taquito/http-utils": "^21.0.0-beta.0", + "@taquito/michelson-encoder": "^21.0.0-beta.0", + "@taquito/rpc": "^21.0.0-beta.0", + "@taquito/taquito": "^21.0.0-beta.0", + "@taquito/utils": "^21.0.0-beta.0", "bignumber.js": "^9.1.2", "crypto-js": "^4.2.0" }, @@ -561,7 +561,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -576,12 +576,12 @@ }, "../packages/taquito-utils": { "name": "@taquito/utils", - "version": "20.0.1", + "version": "21.0.0-beta.0", "license": "Apache-2.0", "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/core": "^20.0.1", + "@taquito/core": "^21.0.0-beta.0", "@types/bs58check": "^2.1.2", "bignumber.js": "^9.1.2", "blakejs": "^1.2.1", @@ -609,7 +609,7 @@ "prompt": "^1.3.0", "replace-in-file": "^8.1.0", "rimraf": "^6.0.1", - "rollup": "^4.19.1", + "rollup": "^4.22.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-typescript2": "^0.36.0", "shelljs": "^0.8.5", @@ -9776,9 +9776,9 @@ "license": "MIT" }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -11408,9 +11408,9 @@ } }, "node_modules/dompurify": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.3.tgz", - "integrity": "sha512-q6QaLcakcRjebxjg8/+NP+h0rPfatOgOzc46Fst9VAA3jF2ApfKBNKMzdP4DYTqtUMXSCd5pRS/8Po/OmoCHZQ==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.4.tgz", + "integrity": "sha512-l5NNozANzaLPPe0XaAwvg3uZcHtDBnziX/HjsY1UcDj1MxTK8Dd0Kv096jyPK5HRzs/XM5IMj20dW8Fk+HnbUA==", "license": "(MPL-2.0 OR Apache-2.0)" }, "node_modules/domutils": { @@ -11905,16 +11905,17 @@ "license": "Apache-2.0" }, "node_modules/express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -11975,7 +11976,8 @@ "node_modules/express/node_modules/path-to-regexp": { "version": "0.1.10", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "license": "MIT" }, "node_modules/express/node_modules/range-parser": { "version": "1.2.1", @@ -14571,12 +14573,6 @@ "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==", "license": "MIT" }, - "node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", - "license": "MIT" - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -15889,7 +15885,7 @@ "d3": "^7.4.0", "dagre-d3-es": "7.0.9", "dayjs": "^1.11.7", - "dompurify": "2.4.3", + "dompurify": "2.5.4", "elkjs": "^0.8.2", "khroma": "^2.0.0", "lodash-es": "^4.17.21", @@ -18049,13 +18045,10 @@ } }, "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", - "license": "MIT", - "dependencies": { - "isarray": "0.0.1" - } + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", + "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==", + "license": "MIT" }, "node_modules/path-type": { "version": "4.0.0", @@ -19636,7 +19629,7 @@ "history": "^4.9.0", "hoist-non-react-statics": "^3.1.0", "loose-envify": "^1.3.1", - "path-to-regexp": "^1.7.0", + "path-to-regexp": "^3.3.0", "prop-types": "^15.6.2", "react-is": "^16.6.0", "tiny-invariant": "^1.0.2", @@ -21126,7 +21119,7 @@ "mime-types": "2.1.18", "minimatch": "3.1.2", "path-is-inside": "1.0.2", - "path-to-regexp": "2.2.1", + "path-to-regexp": "^3.3.0", "range-parser": "1.2.0" } }, @@ -21163,12 +21156,6 @@ "node": "*" } }, - "node_modules/serve-handler/node_modules/path-to-regexp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz", - "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==", - "license": "MIT" - }, "node_modules/serve-index": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", @@ -23982,7 +23969,7 @@ "compression": "^1.7.4", "connect-history-api-fallback": "^2.0.0", "default-gateway": "^6.0.3", - "express": "^4.17.3", + "express": "^4.21.1", "graceful-fs": "^4.2.6", "html-entities": "^2.3.2", "http-proxy-middleware": "^2.0.3", From 26c3db77bf4084899247e452771e1d250881e991 Mon Sep 17 00:00:00 2001 From: huianyang Date: Thu, 10 Oct 2024 16:07:25 -0700 Subject: [PATCH 14/14] test: udpated test and docs with qena --- apps/taquito-test-dapp/src/config.ts | 4 +++ apps/taquito-test-dapp/src/types.ts | 9 ------- docs/rpc_nodes.md | 3 ++- docs/rpc_nodes_integration_test.md | 2 +- docs/staking.md | 10 +++---- docs/wallet_API.md | 4 +-- example/deploy-test-dapp-contract.ts | 6 ++--- integration-tests/README.md | 10 +++---- .../contract/operations/failing-noop.spec.ts | 2 ++ .../contract/operations/staking.spec.ts | 11 +++----- .../pseudo-entrypoints-forging.spec.ts | 4 +-- integration-tests/__tests__/rpc/nodes.spec.ts | 2 +- .../__tests__/wallet/failing-noop.spec.ts | 2 ++ .../wallet/staking-pseudo-operations.spec.ts | 9 ++----- .../src/taquito-local-forging.ts | 2 +- .../src/rpc-client-modules/rpc-cache.ts | 27 ++++++++++--------- packages/taquito-rpc/src/taquito-rpc.ts | 24 ++++++++--------- 17 files changed, 59 insertions(+), 72 deletions(-) diff --git a/apps/taquito-test-dapp/src/config.ts b/apps/taquito-test-dapp/src/config.ts index 2e707b8afc..6afcf002d6 100644 --- a/apps/taquito-test-dapp/src/config.ts +++ b/apps/taquito-test-dapp/src/config.ts @@ -7,6 +7,7 @@ const rpcUrls: Record = { [NetworkType.GHOSTNET]: "https://ghostnet.ecadinfra.com/", [NetworkType.OXFORDNET]: "https://oxfordnet.ecadinfra.com/", [NetworkType.PARISNET]: "https://rpc.pariscnet.teztnets.com/", + // [NetworkType.QENANET]: "https://rpc.qenanet.teztnets.com/", [NetworkType.CUSTOM]: "https://ghostnet.ecadinfra.com/", }; @@ -24,6 +25,8 @@ export const getTzKtUrl = (networkType: SupportedNetworks): string | undefined = return "https://oxfordnet.tzkt.io"; case NetworkType.PARISNET: return "https://parisnet.tzkt.io"; + // case NetworkType.QENANET: + // return "https://qenanet.tzkt.io"; case NetworkType.CUSTOM: return undefined; } @@ -39,4 +42,5 @@ export const contractAddress = { ghostnet: "KT1QKmcNBcfzVTXG2kBcE6XqXtEuYYUzMcT5", oxfordnet: "KT1GYx1KDhMQt2GJEztRh8EyYxJUPM6fnAMM", parisnet: "KT1E43cQefjM8fq7B5pEJFJoGbRmuNibDoBC", + qenanet: "KT1PHMmvVxKYBiju4uNPL31KWBF5Zjft25WM", }; diff --git a/apps/taquito-test-dapp/src/types.ts b/apps/taquito-test-dapp/src/types.ts index f3dc3042a4..e13a3848e5 100644 --- a/apps/taquito-test-dapp/src/types.ts +++ b/apps/taquito-test-dapp/src/types.ts @@ -21,12 +21,3 @@ export interface TestSettings { export type TezosContractAddress = `KT1${string}`; export type TezosAccountAddress = `tz${"1" | "2" | "3"}${string}`; - -// export enum NetworkType { -// MAINNET = "mainnet", -// GHOSTNET = "ghostnet", -// WEEKLYNET = "weeklynet", -// OXFORDNET = "oxfordnet", -// PARISNET = "parisnet", -// CUSTOM = "custom" -// } diff --git a/docs/rpc_nodes.md b/docs/rpc_nodes.md index 3f361e2fc9..4a3aa2bd1e 100644 --- a/docs/rpc_nodes.md +++ b/docs/rpc_nodes.md @@ -29,7 +29,8 @@ values={[ | SmartPy | Ghostnet | https://ghostnet.smartpy.io | [Check](https://ghostnet.smartpy.io/chains/main/blocks/head/header) | | Tezos Foundation | Mainnet | https://rpc.tzbeta.net/ | [Check](https://rpc.tzbeta.net/chains/main/blocks/head/header) | | Tezos Foundation | Ghostnet | https://rpc.ghostnet.teztnets.com/ | [Check](https://rpc.ghostnet.teztnets.com/chains/main/blocks/head/header) | -| Tezos Foundation | Parisnet | https://rpc.pariscnet.teztnets.com/ | [Check](https://rpc.pariscnet.teztnets.com/chains/main/blocks/head/header) | +| Tezos Foundation | Parisnet | https://rpc.pariscnet.teztnets.com/ | [Check](https://rpc.pariscnet.teztnets.com/chains/main/blocks/head/header) | +| Tezos Foundation | Qenanet | https://rpc.qenanet.teztnets.com/ | [Check](https://rpc.qenanet.teztnets.com/chains/main/blocks/head/header) | *If you are aware of a public node missing from our list or our information is inaccurate, please help us by submitting an issue or pull request on our GitHub page.* diff --git a/docs/rpc_nodes_integration_test.md b/docs/rpc_nodes_integration_test.md index 5ded3a746a..147954fef6 100644 --- a/docs/rpc_nodes_integration_test.md +++ b/docs/rpc_nodes_integration_test.md @@ -122,6 +122,6 @@ Remove `./rpc-nodes.spec.ts` from `"testPathIgnorePatterns"` in the package.json ✓ Verify that rpcClient.getStoragePaidSpace will retrieve the paid space of a contract storage (55 ms) ✓ Verify that rpcClient.ticketBalance will retrieve the specified ticket owned by the given contract (55 ms) ✓ Verify that rpcClient.allTicketBalances will retrieve all tickets owned by the given contract (56 ms) - ✓ Verify that rpcClient.getAdaptiveIssuanceLaunchCycle will retrieve launch cycle 6 for https://rpc.betanet-2024-08-29.teztnets.com (52 ms) + ✓ Verify that rpcClient.getAdaptiveIssuanceLaunchCycle will retrieve launch cycle 6 for https://rpc.qenanet.teztnets.com (52 ms) ✓ Verify that rpcClient.getPendingOperations v2 will retrieve the pending operations in mempool with property validated (281 ms) ``` \ No newline at end of file diff --git a/docs/staking.md b/docs/staking.md index 64343e3940..f5ced56fca 100644 --- a/docs/staking.md +++ b/docs/staking.md @@ -16,11 +16,7 @@ Staking changes this by allowing any user to participate in the "Proof of Stake" Users can control their staked funds using the `stake`, `unstake`, and `finalize_unstake` operations. These are implemented as pseudo-entrypoints, and the parameters are passed to a transfer operation with the same destination as the sender. -To accept staked funds, a delegate needs to have opted in to staking. This is done by `set_delegate_parameters`. This part is not supported by Taquito, as it is not a dApp operation. More information [here](https://tezos.gitlab.io/paris/adaptive_issuance.html#staking-policy-configuration). - -:::info -After protocol Paris is activated, the adaptive issuance will still be disabled for about two weeks. During this period, staking operations will result in this error: `proto.019-PtParisB.operation.manual_staking_forbidden`. -::: +To accept staked funds, a delegate needs to have opted in to staking. This is done by `set_delegate_parameters`. This part is not supported by Taquito, as it is not a dApp operation. More information [here](https://tezos.gitlab.io/qena/adaptive_issuance.html#staking-policy-configuration). # Staking Funds To stake your funds, you need to call the `stake` operation. @@ -137,7 +133,7 @@ const op = await Tezos.wallet.finalizeUnstake().send(); # Additional Info and Some Notes ## Cycle -At the time of this writing, a cycle is ~~16384~~ blocks (with Paris protocol will be 24576), and ~~15~~ (10) seconds per block. This means a cycle is about 2.8 days (and will stay the same after Paris). This might change with the activation of newer protocols. +At the time of this writing, a cycle is 24576 blocks in Paris protocol (will be 30720 in Quebec), and 10 seconds per block in Paris (will be 8 in Quebec). This means a cycle is about 2.8 days (and will stay the same after Quebec). This might change with the activation of newer protocols. ## Overstaking A delegate can set the maximum amount of staking they can accept, as a multiply of their own balance. If a delegate's limit is exceeded, the exceeding stake is automatically considered as delegation for the delegate's baking and voting power calculation, but it does remain slashable. That means it's your responsibility to make sure you're not overstaking. Remember that overstaking can even happen after you have staked successfully, because your delegate changes their own balance, or their staking parameter. @@ -150,7 +146,7 @@ When you change your delegate, your funds will be automatically unstaked. You wi The `stake` and `unstake` operations will automatically finalize all currently finalizable funds. ## Adaptive Issuance -A concept related to staking is adaptive issuance. Adaptive issuance is a mechanism that adjusts the block reward based on the total amount of staked tez. In short, the reward will be adjusted to keep the staked funds about 50% of the total supply. To read more about the mechanism, you can check [this document](https://tezos.gitlab.io/paris/adaptive_issuance.html#adaptive-issuance). +A concept related to staking is adaptive issuance. Adaptive issuance is a mechanism that adjusts the block reward based on the total amount of staked tez. In short, the reward will be adjusted to keep the staked funds about 50% of the total supply. To read more about the mechanism, you can check [this document](https://tezos.gitlab.io/qena/adaptive_issuance.html#adaptive-issuance). ## Staking Rewards In delegation, rewards were given to the baker, and it was the baker's responsibility to distribute the rewards to the delegators. In staking, the rewards are given directly to the staker. However, rewards are not given immediately, but are distributed through staked (frozen) balance, and the user can spend the reward along with their initial stake when they `unstake` and `finalize_unstake`. diff --git a/docs/wallet_API.md b/docs/wallet_API.md index f5b1111c05..1120dc952a 100644 --- a/docs/wallet_API.md +++ b/docs/wallet_API.md @@ -88,7 +88,7 @@ Please check out the section [Subscribing to events](#subscribing-to-events) to In previous versions of Beacon, you were able to set the `network` property when doing `requestPermissions()`. This behavior was removed from Beacon, and you must now set the network when instantiating the wallet. -You can choose among `mainnet`, `parisnet`, `ghostnet` and `custom` to set up the network. Once the permissions have been configured, you can get the user's address by calling the `getPKH` method on the wallet: +You can choose among `mainnet`, `qenanet`, `parisnet`, `ghostnet` and `custom` to set up the network. Once the permissions have been configured, you can get the user's address by calling the `getPKH` method on the wallet: ```js const userAddress = await wallet.getPKH(); @@ -175,7 +175,7 @@ const wallet = new TempleWallet('MyAwesomeDapp'); The class constructor takes one parameter, the name of your dapp (this will be used later in the transaction confirmation pop-up). After the instantiation, we can connect the wallet by calling the `connect` method: ```js -await wallet.connect('mainnet' | 'parisnet' | 'ghostnet' | 'mondaynet' | 'sandbox'); +await wallet.connect('mainnet' | 'qenanet' | 'parisnet' | 'ghostnet' | 'mondaynet' | 'sandbox'); ``` (Temple used to be called Thanos and some Taquito code still uses the name Thanos.) diff --git a/example/deploy-test-dapp-contract.ts b/example/deploy-test-dapp-contract.ts index 99462d5e3b..897e8ad429 100644 --- a/example/deploy-test-dapp-contract.ts +++ b/example/deploy-test-dapp-contract.ts @@ -3,14 +3,14 @@ import { InMemorySigner } from '@taquito/signer' import { code, storage } from './data/test-dapp-contract'; // update the targeted rpc url before running -const rpcUrl = 'http://parisnet.i.ecadinfra.com:8732' +const rpcUrl = 'https://rpc.qenanet.teztnets.com' originate(rpcUrl) async function originate(url: string) { const Tezos = new TezosToolkit(url) - // if it's a new protocol might need to fund alice's address tz1VSUr8wwNhLAzempoch5d6hLRiTh8Cjcjb - Tezos.setSignerProvider(new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')) + // if it's a new protocol might need to fund alice's address spsk21y52Cp943kGnqPBSjXMC2xf1hz8QDGGih7AJdFqhxPcm1ihRN + Tezos.setSignerProvider(new InMemorySigner('spsk21y52Cp943kGnqPBSjXMC2xf1hz8QDGGih7AJdFqhxPcm1ihRN')) let contract = await Tezos.contract.originate({ diff --git a/integration-tests/README.md b/integration-tests/README.md index d76fc14dc9..a37e1d6eb0 100644 --- a/integration-tests/README.md +++ b/integration-tests/README.md @@ -37,7 +37,7 @@ Depending on the current Tezos upgrade cycle, multiple testnet networks may be c ``` -PARISNET=true npm run test +QENANET=true npm run test ``` ## Configuration @@ -52,7 +52,7 @@ If different testnets are configured in the `config.ts` file, you can run tests ``` -npm run test:parisnet contract-with-bigmap-init.spec.ts +npm run test:qenanet contract-with-bigmap-init.spec.ts ``` @@ -60,7 +60,7 @@ Or for a specific test within a test file: ``` -npm run test:parisnet -- -t "Verify contract.originate for a contract and call deposit method with unit param" +npm run test:qenanet -- -t "Verify contract.originate for a contract and call deposit method with unit param" ``` @@ -70,7 +70,7 @@ npm run test:parisnet -- -t "Verify contract.originate for a contract and call d To run tests against a node that is not pre-configured in Taquito, use: -`export TEZOS_RPC_PARISNET='http://localhost:8732'`. +`export TEZOS_RPC_QENANET='http://localhost:8732'`. ## Using a Secret Key Instead of the Keygen API @@ -79,7 +79,7 @@ By default, the integration tests use an ephemeral key managed by the Keygen API ``` -npm run test:parisnet-secret-key contract-with-bigmap-init.spec.ts +npm run test:qenanet-secret-key contract-with-bigmap-init.spec.ts ``` diff --git a/integration-tests/__tests__/contract/operations/failing-noop.spec.ts b/integration-tests/__tests__/contract/operations/failing-noop.spec.ts index 8eb825cd7e..45947b1cea 100644 --- a/integration-tests/__tests__/contract/operations/failing-noop.spec.ts +++ b/integration-tests/__tests__/contract/operations/failing-noop.spec.ts @@ -12,6 +12,8 @@ CONFIGS().forEach(({ setup, rpc, lib }) => { setup(true) if (rpc.includes('paris')) { Tezos.setProvider({signer: signerAlice, rpc: 'https://rpc.tzkt.io/parisnet'}) + } else if (rpc.includes('qena')) { + Tezos.setProvider({signer: signerAlice, rpc: 'https://rpc.tzkt.io/qenanet'}) } else if (rpc.includes('ghost')) { Tezos.setProvider({signer: signerAlice, rpc: 'https://rpc.tzkt.io/ghostnet'}) } diff --git a/integration-tests/__tests__/contract/operations/staking.spec.ts b/integration-tests/__tests__/contract/operations/staking.spec.ts index 29bddd2066..be85111b5f 100644 --- a/integration-tests/__tests__/contract/operations/staking.spec.ts +++ b/integration-tests/__tests__/contract/operations/staking.spec.ts @@ -1,18 +1,14 @@ import { CONFIGS } from "../../../config"; -CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { +CONFIGS().forEach(({ lib, rpc, setup }) => { const Tezos = lib; describe(`Staking pseudo operations: ${rpc}`, () => { beforeAll(async () => { await setup(true); - // There is no baker accept staking in qenanet and weeklylnet hence tests will fail - // Currently TF is a baker that allows staking on parisnet. - if (rpc.includes('paris')) { - knownBaker = 'tz3Q67aMz7gSMiQRcW729sXSfuMtkyAHYfqc' // TF - } + const delegateOp = await Tezos.contract.setDelegate({ - delegate: knownBaker, + delegate: 'tz1TGKSrZrBpND3PELJ43nVdyadoeiM1WMzb', // is a delegate receiving stake on qenanet, parisnet and ghostnet source: await Tezos.signer.publicKeyHash() }); await delegateOp.confirmation(); @@ -22,7 +18,6 @@ CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { expect(async () => { const op = await Tezos.contract.stake({ amount: 0.1, - to: knownBaker }); }).rejects.toThrow(); }); diff --git a/integration-tests/__tests__/pseudo-entrypoints-forging.spec.ts b/integration-tests/__tests__/pseudo-entrypoints-forging.spec.ts index d32c05525c..93598830d7 100644 --- a/integration-tests/__tests__/pseudo-entrypoints-forging.spec.ts +++ b/integration-tests/__tests__/pseudo-entrypoints-forging.spec.ts @@ -8,7 +8,7 @@ CONFIGS().forEach(({ rpc, protocol, setup, lib }) => { describe(`Test forging pseudo entrypoints: ${rpc}`, () => { let contract: DefaultContractType // for every new protocol need to check https://tezos.gitlab.io/shell/p2p_api.html#alpha-entrypoint-determined-from-data-8-bit-tag for the latest entrypoints and corresponding tag - let parisEntrypoint = { 0: 'default', 1: 'root', 2: 'do', 3: 'set_delegate', 4: 'remove_delegate', 5: 'deposit', 6: 'stake', 7: 'unstake', 8: 'finalize_unstake', 9: 'set_delegate_parameters' } + let qenaEntrypoint = { 0: 'default', 1: 'root', 2: 'do', 3: 'set_delegate', 4: 'remove_delegate', 5: 'deposit', 6: 'stake', 7: 'unstake', 8: 'finalize_unstake', 9: 'set_delegate_parameters' } beforeAll(async () => { await setup(); @@ -23,7 +23,7 @@ CONFIGS().forEach(({ rpc, protocol, setup, lib }) => { } catch(e) {console.log(e)} }) - Object.values(parisEntrypoint).forEach(name => { + Object.values(qenaEntrypoint).forEach(name => { it(`Verify that local forge will return same result as for rpc forge for entrypoints name ${name}`, async () => { const localForger = new LocalForger(protocol as unknown as ProtocolsHash); const methodObject = await contract.methodsObject[name](UnitValue) diff --git a/integration-tests/__tests__/rpc/nodes.spec.ts b/integration-tests/__tests__/rpc/nodes.spec.ts index dc73ac52e8..87c1b66112 100644 --- a/integration-tests/__tests__/rpc/nodes.spec.ts +++ b/integration-tests/__tests__/rpc/nodes.spec.ts @@ -501,7 +501,7 @@ CONFIGS().forEach( expect(launchCycle).toEqual(1054); } else if (rpc.includes('parisnet')) { expect(launchCycle).toEqual(6); - } else if (rpc.includes('mondaynet') || rpc.includes('weeklynet')) { + } else if (rpc.includes('qenanet') || rpc.includes('mondaynet') || rpc.includes('weeklynet')) { expect(launchCycle).toEqual(5); } }) diff --git a/integration-tests/__tests__/wallet/failing-noop.spec.ts b/integration-tests/__tests__/wallet/failing-noop.spec.ts index 19d7eba483..3f19ff966b 100644 --- a/integration-tests/__tests__/wallet/failing-noop.spec.ts +++ b/integration-tests/__tests__/wallet/failing-noop.spec.ts @@ -12,6 +12,8 @@ CONFIGS().forEach(({ setup, rpc, lib }) => { setup(true) if (rpc.includes('paris')) { Tezos.setProvider({signer: signerAlice, rpc: 'https://rpc.tzkt.io/parisnet'}) + } else if (rpc.includes('qena')) { + Tezos.setProvider({signer: signerAlice, rpc: 'https://rpc.tzkt.io/qenanet'}) } else if (rpc.includes('ghost')) { Tezos.setProvider({signer: signerAlice, rpc: 'https://rpc.tzkt.io/ghostnet'}) } diff --git a/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts b/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts index d90b634eeb..42fee76671 100644 --- a/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts +++ b/integration-tests/__tests__/wallet/staking-pseudo-operations.spec.ts @@ -1,19 +1,14 @@ import { CONFIGS } from '../../config'; import { InvalidStakingAddressError, InvalidFinalizeUnstakeAmountError } from '@taquito/core'; -CONFIGS().forEach(({ lib, rpc, setup, knownBaker }) => { +CONFIGS().forEach(({ lib, rpc, setup }) => { const Tezos = lib; describe(`Test staking pseudo operations using: ${rpc}`, () => { beforeAll(async () => { await setup(true); try { - // There is no baker accept staking in qenanet and weeklylnet hence tests will fail - // Currently TF is a baker that allows staking on parisnet. - if (rpc.includes('paris')) { - knownBaker = 'tz3Q67aMz7gSMiQRcW729sXSfuMtkyAHYfqc' // TF - } const delegateOp = await Tezos.contract.setDelegate({ - delegate: knownBaker, + delegate: 'tz1TGKSrZrBpND3PELJ43nVdyadoeiM1WMzb', // is a delegate receiving stake on qenanet, parisnet and ghostnet source: await Tezos.signer.publicKeyHash() }); await delegateOp.confirmation(); diff --git a/packages/taquito-local-forging/src/taquito-local-forging.ts b/packages/taquito-local-forging/src/taquito-local-forging.ts index d217f7b12f..eeba30643d 100644 --- a/packages/taquito-local-forging/src/taquito-local-forging.ts +++ b/packages/taquito-local-forging/src/taquito-local-forging.ts @@ -22,7 +22,7 @@ export * from './interface'; export { VERSION } from './version'; export { ProtocolsHash } from './protocols'; -const PROTOCOL_CURRENT = ProtocolsHash.PsParisCZ; +const PROTOCOL_CURRENT = ProtocolsHash.PtQenaB1P; export function getCodec(codec: CODEC, _proto: ProtocolsHash) { return { diff --git a/packages/taquito-rpc/src/rpc-client-modules/rpc-cache.ts b/packages/taquito-rpc/src/rpc-client-modules/rpc-cache.ts index 47add1d448..553bb72d61 100644 --- a/packages/taquito-rpc/src/rpc-client-modules/rpc-cache.ts +++ b/packages/taquito-rpc/src/rpc-client-modules/rpc-cache.ts @@ -766,7 +766,8 @@ export class RpcClientCache implements RpcClientInterface { * @param args contains optional query arguments (level, cycle, delegate, consensus_key, and max_round) * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Retrieves the list of delegates allowed to bake a block. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json + * */ async getBakingRights( args: BakingRightsQueryArguments = {}, @@ -789,7 +790,7 @@ export class RpcClientCache implements RpcClientInterface { * @param args contains optional query arguments (level, cycle, delegate, and consensus_key) * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Retrieves the delegates allowed to attest a block - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getAttestationRights( args: AttestationRightsQueryArguments = {}, @@ -927,7 +928,7 @@ export class RpcClientCache implements RpcClientInterface { * @param data operation contents to forge * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Forge an operation returning the unsigned bytes - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async forgeOperations( data: ForgeOperationsParams, @@ -988,7 +989,7 @@ export class RpcClientCache implements RpcClientInterface { * @param op Operation to run * @param options contains generic configuration for rpc calls to specified block and version * @description Run an operation with the context of the given block and without signature checks and return the operation application result, including the consumed gas. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runOperation( op: RPCRunOperationParam, @@ -1001,7 +1002,7 @@ export class RpcClientCache implements RpcClientInterface { * @param op Operation to simulate * @param options contains generic configuration for rpc calls to specified block and version * @description Simulate running an operation at some future moment (based on the number of blocks given in the `latency` argument), and return the operation application result. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async simulateOperation( op: RPCSimulateOperationParam, @@ -1014,7 +1015,7 @@ export class RpcClientCache implements RpcClientInterface { * @param code Code to run * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Run a Michelson script in the current context - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runCode( code: RPCRunCodeParam, @@ -1027,7 +1028,7 @@ export class RpcClientCache implements RpcClientInterface { * @param viewScriptParams Parameters of the script view to run * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Simulate a call to a michelson view - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runScriptView( { unparsing_mode = 'Readable', ...rest }: RPCRunScriptViewParam, @@ -1046,7 +1047,7 @@ export class RpcClientCache implements RpcClientInterface { * @param viewParams Parameters of the view to run * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Simulate a call to a view following the TZIP-4 standard. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runView( { unparsing_mode = 'Readable', ...rest }: RPCRunViewParam, @@ -1081,7 +1082,7 @@ export class RpcClientCache implements RpcClientInterface { * A node that is operated by a bad actor, or compromised by a bad actor could return a fully formed operation that does not correspond to the input provided to the RPC endpoint. * A safer solution to pack and sign data would be to use the `packDataBytes` function available in the `@taquito/michel-codec` package. * @example packData({ data: { string: "test" }, type: { prim: "string" } }) - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async packData( data: PackDataParams, @@ -1223,7 +1224,7 @@ export class RpcClientCache implements RpcClientInterface { * @param contract address of the contract we want to retrieve storage information of * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Access the used storage space of the contract - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getStorageUsedSpace( contract: string, @@ -1247,7 +1248,7 @@ export class RpcClientCache implements RpcClientInterface { * @param contract address of the contract we want to retrieve storage information of * @param options contains generic configuration for rpc calls to specified block (default to head) = * @description Access the paid storage space of the contract - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getStoragePaidSpace( contract: string, @@ -1273,7 +1274,7 @@ export class RpcClientCache implements RpcClientInterface { * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Access the contract's balance of ticket with specified ticketer, content type, and content. * @example ticket { ticketer: 'address', content_type: { prim: "string" }, content: { string: 'ticket1' } } - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getTicketBalance( contract: string, @@ -1299,7 +1300,7 @@ export class RpcClientCache implements RpcClientInterface { * @param contract originated address we want to retrieve ticket balances of * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Access the complete list of tickets owned by the given contract by scanning the contract's storage. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getAllTicketBalances( contract: string, diff --git a/packages/taquito-rpc/src/taquito-rpc.ts b/packages/taquito-rpc/src/taquito-rpc.ts index d32e5c8770..fb9556c621 100644 --- a/packages/taquito-rpc/src/taquito-rpc.ts +++ b/packages/taquito-rpc/src/taquito-rpc.ts @@ -729,7 +729,7 @@ export class RpcClient implements RpcClientInterface { * @param args contains optional query arguments (level, cycle, delegate, consensus_key, and max_round) * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Retrieves the list of delegates allowed to bake a block. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getBakingRights( args: BakingRightsQueryArguments = {}, @@ -748,7 +748,7 @@ export class RpcClient implements RpcClientInterface { * @param args contains optional query arguments (level, cycle, delegate, and consensus_key) * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Retrieves the delegates allowed to attest a block - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getAttestationRights( args: AttestationRightsQueryArguments = {}, @@ -869,7 +869,7 @@ export class RpcClient implements RpcClientInterface { * @param data operation contents to forge * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Forge an operation returning the unsigned bytes - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async forgeOperations( data: ForgeOperationsParams, @@ -948,7 +948,7 @@ export class RpcClient implements RpcClientInterface { * @param op Operation to run * @param options contains generic configuration for rpc calls to specified block and version * @description Run an operation with the context of the given block and without signature checks and return the operation application result, including the consumed gas. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runOperation( op: RPCRunOperationParam, @@ -968,7 +968,7 @@ export class RpcClient implements RpcClientInterface { * @param op Operation to simulate * @param options contains generic configuration for rpc calls to specified block and version * @description Simulate running an operation at some future moment (based on the number of blocks given in the `latency` argument), and return the operation application result. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async simulateOperation( op: RPCSimulateOperationParam, @@ -990,7 +990,7 @@ export class RpcClient implements RpcClientInterface { * @param code Code to run * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Run a Michelson script in the current context - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runCode( code: RPCRunCodeParam, @@ -1011,7 +1011,7 @@ export class RpcClient implements RpcClientInterface { * @param viewScriptParams Parameters of the script view to run * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Simulate a call to a michelson view - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runScriptView( { unparsing_mode = 'Readable', ...rest }: RPCRunScriptViewParam, @@ -1035,7 +1035,7 @@ export class RpcClient implements RpcClientInterface { * @param viewParams Parameters of the view to run * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Simulate a call to a view following the TZIP-4 standard. - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async runView( { unparsing_mode = 'Readable', ...rest }: RPCRunViewParam, @@ -1069,7 +1069,7 @@ export class RpcClient implements RpcClientInterface { * A node that is operated by a bad actor, or compromised by a bad actor could return a fully formed operation that does not correspond to the input provided to the RPC endpoint. * A safer solution to pack and sign data would be to use the `packDataBytes` function available in the `@taquito/michel-codec` package. * @example packData({ data: { string: "test" }, type: { prim: "string" } }) - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async packData(data: PackDataParams, { block }: RPCOptions = defaultRPCOptions) { const { gas, ...rest } = await this.httpBackend.createRequest( @@ -1181,7 +1181,7 @@ export class RpcClient implements RpcClientInterface { * @param contract address of the contract we want to retrieve storage information of * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Access the used storage space of the contract - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getStorageUsedSpace( contract: string, @@ -1199,7 +1199,7 @@ export class RpcClient implements RpcClientInterface { * @param contract address of the contract we want to retrieve storage information of * @param options contains generic configuration for rpc calls to specified block (default to head) * @description Access the paid storage space of the contract - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-openapi.json */ async getStoragePaidSpace( contract: string, @@ -1275,7 +1275,7 @@ export class RpcClient implements RpcClientInterface { * @description List the prevalidated operations in mempool (accessibility of mempool depends on each rpc endpoint) * @param args has 5 optional properties * @default args { version: '2', validated: true, refused: true, outdated, true, branchRefused: true, branchDelayed: true, validationPass: undefined, source: undefined, operationHash: undefined } - * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/paris-mempool-openapi-rc.json + * @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/qena-mempool-openapi.json */ async getPendingOperations( args: PendingOperationsQueryArguments = {}