diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd914ceaac..af026475ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,8 +43,6 @@ jobs: strategy: matrix: include: - - testnet: limanet - testnet_uppercase: LIMANET - testnet: mumbainet testnet_uppercase: MUMBAINET steps: @@ -71,10 +69,6 @@ jobs: strategy: matrix: include: - - protocol: Lima - testnet: limanet - testnet_uppercase: LIMANET - flextesa_docker_image: oxheadalpha/flextesa:20221123 - protocol: Mumbai testnet: mumbainet testnet_uppercase: MUMBAINET diff --git a/apps/taquito-test-dapp/package.json b/apps/taquito-test-dapp/package.json index ffc5324436..f439967d6f 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": "16.0.0", + "version": "16.0.1", "type": "module", "scripts": { "dev": "vite", @@ -25,9 +25,9 @@ }, "dependencies": { "@airgap/beacon-sdk": "^3.3.1", - "@taquito/beacon-wallet": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/beacon-wallet": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "buffer": "^6.0.3", "svelte-select": "^4.4.7", "vite-compatible-readable-stream": "^3.6.1" diff --git a/docs/rpc_nodes.md b/docs/rpc_nodes.md index 139935afdc..e797cdc36b 100644 --- a/docs/rpc_nodes.md +++ b/docs/rpc_nodes.md @@ -24,16 +24,16 @@ values={[ | Provider | Net | URL | Header | |------------------|--------------|------------------------------------------|---------------------------------------------------------------------------------| | ECAD Labs | Mainnet | https://mainnet.api.tez.ie | [Check](https://mainnet.api.tez.ie/chains/main/blocks/head/header) | -| ECAD Labs | Kathmandunet | https://kathmandunet.ecadinfra.com | [Check](https://kathmandunet.ecadinfra.com/chains/main/blocks/head/header) | -| ECAD Labs | Limanet | https://limanet.ecadinfra.com | [Check](https://limanet.ecadinfra.com/chains/main/blocks/head/header) | | ECAD Labs | Ghostnet | https://ghostnet.ecadinfra.com | [Check](https://ghostnet.ecadinfra.com/chains/main/blocks/head/header) | +| ECAD Labs | Mumbainet | https://mumbainet.ecadinfra.com | [Check](https://mumbainet.ecadinfra.com/chains/main/blocks/head/header) | +| ECAD Labs | Limanet | https://limanet.ecadinfra.com | [Check](https://limanet.ecadinfra.com/chains/main/blocks/head/header) | | SmartPy | Mainnet | https://mainnet.smartpy.io | [Check](https://mainnet.smartpy.io/chains/main/blocks/head/header) | -| SmartPy | Kathmandunet | https://kathmandunet.smartpy.io/ | [Check](https://kathmandunet.smartpy.io/chains/main/blocks/head/header) | +| SmartPy | Ghostnet | https://ghostnet.smartpy.io | [Check](https://ghostnet.smartpy.io/chains/main/blocks/head/header) | +| SmartPy | Limanet | https://limanet.smartpy.io/ | [Check](https://limanet.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 | Limanet | https://rpczero.tzbeta.net/ | [Check](https://rpczero.tzbeta.net/chains/main/blocks/head/header) | | Marigold | Mainnet | https://mainnet.tezos.marigold.dev/ | [Check](https://mainnet.tezos.marigold.dev/chains/main/blocks/head/header) | -| Marigold | Kathmandunet | https://kathmandunet.tezos.marigold.dev/ | [Check](https://kathmandunet.tezos.marigold.dev/chains/main/blocks/head/header) | | Marigold | Ghostnet | https://ghostnet.tezos.marigold.dev/ | [Check](https://ghostnet.tezos.marigold.dev/chains/main/blocks/head/header) | +| Marigold | Mumbainet | https://mumbainet.tezos.marigold.dev/ | [Check](https://mumbainet.tezos.marigold.dev/chains/main/blocks/head/header) | | TezTools | Mainnet | https://eu01-node.teztools.net/ | [Check](https://eu01-node.teztools.net/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/example/package.json b/example/package.json index a86bbbe2c8..d8e98a7c5f 100644 --- a/example/package.json +++ b/example/package.json @@ -1,7 +1,7 @@ { "name": "@taquito/example", "private": true, - "version": "16.0.0", + "version": "16.0.1", "scripts": { "example": "node -r ts-node/register --preserve-symlinks example-node.ts", "example:activation": "node -r ts-node/register --preserve-symlinks example-activate.ts", @@ -41,16 +41,16 @@ }, "dependencies": { "@ledgerhq/hw-transport-node-hid": "^6.27.3", - "@taquito/ledger-signer": "^16.0.0", - "@taquito/local-forging": "^16.0.0", - "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/ledger-signer": "^16.0.1", + "@taquito/local-forging": "^16.0.1", + "@taquito/michel-codec": "^16.0.1", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { diff --git a/integration-tests/config.ts b/integration-tests/config.ts index 2ac24680e6..ced5a69d64 100644 --- a/integration-tests/config.ts +++ b/integration-tests/config.ts @@ -5,7 +5,6 @@ import { b58cencode, Prefix, prefix } from '@taquito/utils'; import { importKey, InMemorySigner } from '@taquito/signer'; import { RpcClient, RpcClientCache } from '@taquito/rpc'; import { knownBigMapContractProtoALph, knownContractProtoALph, knownOnChainViewContractAddressProtoALph, knownSaplingContractProtoALph, knownTzip12BigMapOffChainContractProtoALph } from './known-contracts-ProtoALph'; -import { knownContractPtLimaPtL, knownBigMapContractPtLimaPtL, knownTzip12BigMapOffChainContractPtLimaPtL, knownSaplingContractPtLimaPtL, knownOnChainViewContractAddressPtLimaPtL } from './known-contracts-PtLimaPtL'; import { knownContractPtGhostnet, knownBigMapContractPtGhostnet, knownTzip12BigMapOffChainContractPtGhostnet, knownSaplingContractPtGhostnet, knownOnChainViewContractAddressPtGhostnet } from './known-contracts-PtGhostnet'; import { knownContractPtMumbai2, knownBigMapContractPtMumbai2, knownTzip12BigMapOffChainContractPtMumbai2, knownSaplingContractPtMumbai2, knownOnChainViewContractAddressPtMumbai2 } from './known-contracts-PtMumbai2'; @@ -73,24 +72,6 @@ const defaultSecretKey: SecretKeyConfig = { password: process.env['PASSWORD_SECRET_KEY'] || undefined, } -const limanetEphemeral = { - rpc: process.env['TEZOS_RPC_LIMANET'] || 'http://ecad-limanet-full:8732', - pollingIntervalMilliseconds: process.env['POLLING_INTERVAL_MILLISECONDS'] || undefined, - rpcCacheMilliseconds: process.env['RPC_CACHE_MILLISECONDS'] || '1000', - knownBaker: process.env['TEZOS_BAKER'] || 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD', - knownContract: process.env['TEZOS_LIMANET_CONTRACT_ADDRESS'] || knownContractPtLimaPtL, - knownBigMapContract: process.env['TEZOS_LIMANET_BIGMAPCONTRACT_ADDRESS'] || knownBigMapContractPtLimaPtL, - knownTzip1216Contract: process.env['TEZOS_LIMANET_TZIP1216CONTRACT_ADDRESS'] || knownTzip12BigMapOffChainContractPtLimaPtL, - knownSaplingContract: process.env['TEZOS_LIMANET_SAPLINGCONTRACT_ADDRESS'] || knownSaplingContractPtLimaPtL, - knownViewContract: process.env['TEZOS_LIMANET_ON_CHAIN_VIEW_CONTRACT'] || knownOnChainViewContractAddressPtLimaPtL, - protocol: Protocols.PtLimaPtL, - signerConfig: { - type: SignerType.EPHEMERAL_KEY as SignerType.EPHEMERAL_KEY, - keyUrl: 'https://api.tez.ie/keys/limanet', - requestHeaders: { Authorization: 'Bearer taquito-example' }, - }, -}; - const mumbainetEphemeral = { rpc: process.env['TEZOS_RPC_MUMBAINET'] || 'http://ecad-mumbainet-full.i.tez.ie:8732', pollingIntervalMilliseconds: process.env['POLLING_INTERVAL_MILLISECONDS'] || undefined, @@ -119,7 +100,7 @@ const ghostnetEphemeral = { knownTzip1216Contract: process.env['TEZOS_GHOSTNET_TZIP1216CONTRACT_ADDRESS'] || knownTzip12BigMapOffChainContractPtGhostnet, knownSaplingContract: process.env['TEZOS_GHOSTNET_SAPLINGCONTRACT_ADDRESS'] || knownSaplingContractPtGhostnet, knownViewContract: process.env['TEZOS_GHOSTNET_ON_CHAIN_VIEW_CONTRACT'] || knownOnChainViewContractAddressPtGhostnet, - protocol: Protocols.PtLimaPtL, + protocol: Protocols.PtMumbai2, signerConfig: { type: SignerType.EPHEMERAL_KEY as SignerType.EPHEMERAL_KEY, keyUrl: 'https://api.tez.ie/keys/ghostnet', @@ -145,20 +126,6 @@ const mondaynetEphemeral = { }, }; -const limanetSecretKey = { - rpc: process.env['TEZOS_RPC_LIMANET'] || 'http://ecad-limanet-full:8732', - pollingIntervalMilliseconds: process.env['POLLING_INTERVAL_MILLISECONDS'] || undefined, - rpcCacheMilliseconds: process.env['RPC_CACHE_MILLISECONDS'] || '1000', - knownBaker: process.env['TEZOS_BAKER'] || 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD', - knownContract: process.env['TEZOS_LIMANET_CONTRACT_ADDRESS'] || knownContractPtLimaPtL, - knownBigMapContract: process.env['TEZOS_LIMANET_BIGMAPCONTRACT_ADDRESS'] || knownBigMapContractPtLimaPtL, - knownTzip1216Contract: process.env['TEZOS_LIMANET_TZIP1216CONTRACT_ADDRESS'] || knownTzip12BigMapOffChainContractPtLimaPtL, - knownSaplingContract: process.env['TEZOS_LIMANET_SAPLINGCONTRACT_ADDRESS'] || knownSaplingContractPtLimaPtL, - knownViewContract: process.env['TEZOS_LIMANET_ON_CHAIN_VIEW_CONTRACT'] || knownOnChainViewContractAddressPtLimaPtL, - protocol: Protocols.PtLimaPtL, - signerConfig: defaultSecretKey -}; - const mumbainetSecretKey = { rpc: process.env['TEZOS_RPC_MUMBAINET'] || 'http://ecad-mumbainet-full:8732', pollingIntervalMilliseconds: process.env['POLLING_INTERVAL_MILLISECONDS'] || undefined, @@ -183,7 +150,7 @@ const ghostnetSecretKey = { knownTzip1216Contract: process.env['TEZOS_GHOSTNET_TZIP1216CONTRACT_ADDRESS'] || knownTzip12BigMapOffChainContractPtGhostnet, knownSaplingContract: process.env['TEZOS_GHOSTNET_SAPLINGCONTRACT_ADDRESS'] || knownSaplingContractPtGhostnet, knownViewContract: process.env['TEZOS_GHOSTNET_ON_CHAIN_VIEW_CONTRACT'] || knownOnChainViewContractAddressPtGhostnet, - protocol: Protocols.PtLimaPtL, + protocol: Protocols.PtMumbai2, signerConfig: defaultSecretKey }; @@ -204,17 +171,13 @@ const mondaynetSecretKey = { const providers: Config[] = []; if (process.env['RUN_WITH_SECRET_KEY']) { - providers.push(limanetSecretKey); -} else if (process.env['RUN_LIMANET_WITH_SECRET_KEY']) { - providers.push(limanetSecretKey); + providers.push(mumbainetSecretKey); } else if (process.env['RUN_MUMBAINET_WITH_SECRET_KEY']) { providers.push(mumbainetSecretKey); } else if (process.env['RUN_GHOSTNET_WITH_SECRET_KEY']) { providers.push(ghostnetSecretKey); } else if (process.env['RUN_MONDAYNET_WITH_SECRET_KEY']) { providers.push(mondaynetSecretKey); -} else if (process.env['LIMANET']) { - providers.push(limanetEphemeral); } else if (process.env['MUMBAINET']) { providers.push(mumbainetEphemeral); } else if (process.env['GHOSTNET']) { @@ -222,7 +185,7 @@ if (process.env['RUN_WITH_SECRET_KEY']) { } else if (process.env['MONDAYNET']) { providers.push(mondaynetEphemeral); } else { - providers.push(limanetEphemeral, mumbainetEphemeral); + providers.push(mumbainetEphemeral); } const setupForger = (Tezos: TezosToolkit, forger: ForgerType): void => { diff --git a/integration-tests/contract-batch-smart-rollup-add-messages.spec.ts b/integration-tests/contract-batch-smart-rollup-add-messages.spec.ts index 9fb593f5d5..0db6c7530b 100644 --- a/integration-tests/contract-batch-smart-rollup-add-messages.spec.ts +++ b/integration-tests/contract-batch-smart-rollup-add-messages.spec.ts @@ -1,10 +1,8 @@ import { CONFIGS } from './config'; import { ligoSample } from './data/ligo-simple-contract'; -import { Protocols } from '@taquito/taquito'; -CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { +CONFIGS().forEach(({ lib, rpc, setup }) => { const Tezos = lib; - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; describe(`Test contract.batch with smart rollup add messages using: ${rpc}`, () => { beforeEach(async (done) => { @@ -12,7 +10,7 @@ CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { done(); }); - mumbaiAndAlpha('should be able to batch smart rollup add messages with other operations', async (done) => { + it('should be able to batch smart rollup add messages with other operations', async (done) => { const batch = Tezos.contract .batch() .withSmartRollupAddMessages({ @@ -26,11 +24,11 @@ CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { }); const op = await batch.send(); await op.confirmation(); - + expect(op.status).toEqual('applied'); expect(op.includedInBlock).toBeDefined(); done(); }); }); -}); \ No newline at end of file +}); diff --git a/integration-tests/contract-estimation-tests.spec.ts b/integration-tests/contract-estimation-tests.spec.ts index c5a6fd1e63..9fde4cb49a 100644 --- a/integration-tests/contract-estimation-tests.spec.ts +++ b/integration-tests/contract-estimation-tests.spec.ts @@ -1,13 +1,13 @@ -import { DEFAULT_FEE, MANAGER_LAMBDA, TezosToolkit, Protocols } from "@taquito/taquito"; +import { DEFAULT_FEE, MANAGER_LAMBDA, Protocols, TezosToolkit } from "@taquito/taquito"; import { Contract } from "@taquito/taquito"; import { CONFIGS } from "./config"; import { originate, originate2, transferImplicit2 } from "./data/lambda"; import { ligoSample } from "./data/ligo-simple-contract"; import { managerCode } from "./data/manager_code"; -CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => { +CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, rpc, protocol }) => { const Tezos = lib; - const limanet = (protocol === Protocols.PtLimaPtL) ? test : test.skip; + const mumbainet = protocol === Protocols.PtMumbai2 ? it : it.skip; describe(`Test estimate scenarios using: ${rpc}`, () => { let LowAmountTez: TezosToolkit; @@ -37,7 +37,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => } }); - limanet('Verify .estimate.transfer with allocated destination', async (done) => { + mumbainet('Verify .estimate.transfer with allocated destination', async (done) => { const estimate = await LowAmountTez.estimate.transfer({ to: await Tezos.signer.publicKeyHash(), amount: 0.019 }); expect(estimate.gasLimit).toEqual(1101); expect(estimate.storageLimit).toEqual(0); @@ -50,7 +50,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => done(); }); - limanet('Verify .estimate.transfer with unallocated destination', async (done) => { + mumbainet('Verify .estimate.transfer with unallocated destination', async (done) => { const estimate = await LowAmountTez.estimate.transfer({ to: await (await createAddress()).signer.publicKeyHash(), amount: 0.017 }); expect(estimate.gasLimit).toEqual(1101); expect(estimate.storageLimit).toEqual(257); @@ -63,7 +63,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => done(); }); - limanet('Verify .estimate.originate simple contract', async (done) => { + mumbainet('Verify .estimate.originate simple contract', async (done) => { const estimate = await LowAmountTez.estimate.originate({ balance: "1", code: ligoSample, @@ -80,7 +80,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => done(); }); - limanet('Verify .estimate.setDelegate result', async (done) => { + mumbainet('Verify .estimate.setDelegate result', async (done) => { const estimate = await LowAmountTez.estimate.setDelegate({ delegate: knownBaker, source: await LowAmountTez.signer.publicKeyHash(), @@ -96,63 +96,63 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => done(); }); - limanet('Verify .estimate.transfer for internal transfer to allocated implicit', async (done) => { + mumbainet('Verify .estimate.transfer for internal transfer to allocated implicit', async (done) => { const tx = contract.methods.do(MANAGER_LAMBDA.transferImplicit(knownBaker, 5)).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(3249); + expect(estimate.gasLimit).toEqual(3257); expect(estimate.storageLimit).toEqual(0); - expect(estimate.suggestedFeeMutez).toEqual(751); + expect(estimate.suggestedFeeMutez).toEqual(752); expect(estimate.burnFeeMutez).toEqual(0); - expect(estimate.minimalFeeMutez).toEqual(651); - expect(estimate.totalCost).toEqual(651); - expect(estimate.usingBaseFeeMutez).toEqual(651); - expect(estimate.consumedMilligas).toEqual(3148786); + expect(estimate.minimalFeeMutez).toEqual(652); + expect(estimate.totalCost).toEqual(652); + expect(estimate.usingBaseFeeMutez).toEqual(652); + expect(estimate.consumedMilligas).toEqual(3156735); done(); }); - limanet('Verify .estimate.transfer for multiple internal transfers to unallocated account', async (done) => { + mumbainet('Verify .estimate.transfer for multiple internal transfers to unallocated account', async (done) => { const tx = contract.methods.do(transferImplicit2( await (await createAddress()).signer.publicKeyHash(), await (await createAddress()).signer.publicKeyHash(), 50) ).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(4257); + expect(estimate.gasLimit).toEqual(4272); expect(estimate.storageLimit).toEqual(514); - expect(estimate.suggestedFeeMutez).toEqual(911); + expect(estimate.suggestedFeeMutez).toEqual(913); expect(estimate.burnFeeMutez).toEqual(128500); - expect(estimate.minimalFeeMutez).toEqual(811); - expect(estimate.totalCost).toEqual(129311); - expect(estimate.usingBaseFeeMutez).toEqual(811); - expect(estimate.consumedMilligas).toEqual(4156456); + expect(estimate.minimalFeeMutez).toEqual(813); + expect(estimate.totalCost).toEqual(129313); + expect(estimate.usingBaseFeeMutez).toEqual(813); + expect(estimate.consumedMilligas).toEqual(4171270); done(); }); - limanet('Verify .estimate.transfer for internal origination', async (done) => { + mumbainet('Verify .estimate.transfer for internal origination', async (done) => { const tx = contract.methods.do(originate()).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(3660); + expect(estimate.gasLimit).toEqual(3668); expect(estimate.storageLimit).toEqual(317); - expect(estimate.suggestedFeeMutez).toEqual(798); + expect(estimate.suggestedFeeMutez).toEqual(799); expect(estimate.burnFeeMutez).toEqual(79250); - expect(estimate.minimalFeeMutez).toEqual(698); - expect(estimate.totalCost).toEqual(79948); - expect(estimate.usingBaseFeeMutez).toEqual(698); - expect(estimate.consumedMilligas).toEqual(3559296); + expect(estimate.minimalFeeMutez).toEqual(699); + expect(estimate.totalCost).toEqual(79949); + expect(estimate.usingBaseFeeMutez).toEqual(699); + expect(estimate.consumedMilligas).toEqual(3567848); done(); }); - limanet('Verify .estimate.transfer for multiple internal originations', async (done) => { + mumbainet('Verify .estimate.transfer for multiple internal originations', async (done) => { const tx = contract.methods.do(originate2()).toTransferParams(); const estimate = await LowAmountTez.estimate.transfer(tx); - expect(estimate.gasLimit).toEqual(5078); + expect(estimate.gasLimit).toEqual(5094); expect(estimate.storageLimit).toEqual(634); - expect(estimate.suggestedFeeMutez).toEqual(1005); + expect(estimate.suggestedFeeMutez).toEqual(1007); expect(estimate.burnFeeMutez).toEqual(158500); - expect(estimate.minimalFeeMutez).toEqual(905); - expect(estimate.totalCost).toEqual(159405); - expect(estimate.usingBaseFeeMutez).toEqual(905); - expect(estimate.consumedMilligas).toEqual(4977476); + expect(estimate.minimalFeeMutez).toEqual(907); + expect(estimate.totalCost).toEqual(159407); + expect(estimate.usingBaseFeeMutez).toEqual(907); + expect(estimate.consumedMilligas).toEqual(4993496); // Do the actual operation const op2 = await contract.methods.do(originate2()).send(); await op2.confirmation(); @@ -174,7 +174,7 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => done(); }); - limanet('Verify .estimate.transfer to regular address', async (done) => { + it('Verify .estimate.transfer to regular address', async (done) => { let estimate = await LowAmountTez.estimate.transfer({ to: await Tezos.signer.publicKeyHash(), mutez: true, amount: amt - (1382 + DEFAULT_FEE.REVEAL) }); expect(estimate.gasLimit).toEqual(1101); expect(estimate.storageLimit).toEqual(0); @@ -187,21 +187,21 @@ CONFIGS().forEach(({ lib, setup, knownBaker, createAddress, protocol, rpc }) => done(); }); - limanet('Estimate transfer to regular address with a fixed fee', async (done) => { + it('Estimate transfer to regular address with a fixed fee', async (done) => { const params = { fee: 2000, to: await Tezos.signer.publicKeyHash(), mutez: true, amount: amt - (1382 + DEFAULT_FEE.REVEAL) }; await expect(LowAmountTez.estimate.transfer(params)).rejects.toMatchObject({ - id: 'proto.015-PtLimaPt.implicit.empty_implicit_contract', + id: 'proto.016-PtMumbai.implicit.empty_implicit_contract', }); done(); }); - limanet('Estimate transfer to regular address with insufficient balance', async (done) => { + it('Estimate transfer to regular address with insufficient balance', async (done) => { await expect( LowAmountTez.estimate.transfer({ to: await Tezos.signer.publicKeyHash(), mutez: true, amount: amt }) ).rejects.toMatchObject({ - id: 'proto.015-PtLimaPt.tez.subtraction_underflow', + id: 'proto.016-PtMumbai.tez.subtraction_underflow', }); done(); }); diff --git a/integration-tests/contract-simple-transaction.spec.ts b/integration-tests/contract-simple-transaction.spec.ts index 124362895a..478c2d153a 100644 --- a/integration-tests/contract-simple-transaction.spec.ts +++ b/integration-tests/contract-simple-transaction.spec.ts @@ -1,9 +1,7 @@ import { CONFIGS } from './config'; -import { Protocols } from '@taquito/taquito'; -CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { +CONFIGS().forEach(({ lib, rpc, setup }) => { const Tezos = lib; - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; describe(`Test simple transaction to tezos public key hashes: ${rpc}`, () => { beforeEach(async (done) => { @@ -11,7 +9,7 @@ CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { done(); }); - mumbaiAndAlpha('should be able to send to a tz4 address', async (done) => { + it('should be able to send to a tz4 address', async (done) => { const op = await Tezos.contract.transfer({ amount: 1, to: 'tz4HQ8VeXAyrZMhES1qLMJAc9uAVXjbMpS8u' diff --git a/integration-tests/contract-smart-rollup-add-messages.spec.ts b/integration-tests/contract-smart-rollup-add-messages.spec.ts index 4507363187..cef77cb408 100644 --- a/integration-tests/contract-smart-rollup-add-messages.spec.ts +++ b/integration-tests/contract-smart-rollup-add-messages.spec.ts @@ -1,10 +1,8 @@ import { CONFIGS } from './config'; -import { Protocols } from '@taquito/taquito'; -CONFIGS().forEach(({ lib, rpc, protocol, setup }) => { +CONFIGS().forEach(({ lib, rpc, setup }) => { const Tezos = lib; - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; - + describe(`Smart Rollup Add Messages operation test using: ${rpc}`, () => { beforeEach(async (done) => { await setup(true); @@ -12,7 +10,7 @@ CONFIGS().forEach(({ lib, rpc, protocol, setup }) => { done(); }); - mumbaiAndAlpha('Should be able to inject a Smart Rollup Add Messages operation', async (done) => { + it('Should be able to inject a Smart Rollup Add Messages operation', async (done) => { const op = await Tezos.contract.smartRollupAddMessages({ message: [ '0000000031010000000b48656c6c6f20776f726c6401bdb6f61e4f12c952f807ae7d3341af5367887dac000000000764656661756c74' @@ -27,4 +25,4 @@ CONFIGS().forEach(({ lib, rpc, protocol, setup }) => { done(); }); }); -}); \ No newline at end of file +}); diff --git a/integration-tests/contract-transfer-ticket-between-implicit-and-originated-accounts.spec.ts b/integration-tests/contract-transfer-ticket-between-implicit-and-originated-accounts.spec.ts index 4b5a7cabda..7449f9ea9b 100644 --- a/integration-tests/contract-transfer-ticket-between-implicit-and-originated-accounts.spec.ts +++ b/integration-tests/contract-transfer-ticket-between-implicit-and-originated-accounts.spec.ts @@ -1,12 +1,12 @@ import { CONFIGS } from "./config"; -import { Protocols, DefaultContractType, TezosToolkit } from "@taquito/taquito"; +import { DefaultContractType, TezosToolkit } from "@taquito/taquito"; import { ticketsSendTz, ticketsBagTz, ticketsBlackholeTz } from "./data/code_with_ticket_transfer"; import { RpcClient, TicketTokenParams } from '@taquito/rpc'; -CONFIGS().forEach(({ lib, protocol, rpc, setup, createAddress }) => { +CONFIGS().forEach(({ lib, rpc, setup, createAddress }) => { const Tezos1 = lib; const client = new RpcClient(rpc); - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; + let tezos1Pkh: string; let tezos2Pkh: string; let Tezos2: TezosToolkit; @@ -46,7 +46,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, setup, createAddress }) => { done(); }); - mumbaiAndAlpha('will send 3 tickets from an originated to an implicit account', async (done) => { + it('will send 3 tickets from an originated to an implicit account', async (done) => { const ticketSendToImplicitOp = await ticketSendContract.methods.default(tezos1Pkh, '3').send(); await ticketSendToImplicitOp.confirmation(); expect(ticketSendToImplicitOp.status).toEqual('applied'); @@ -56,7 +56,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, setup, createAddress }) => { done(); }); - mumbaiAndAlpha('will transfer 1 tickets from an implicit to another implicit account', async (done) => { + it('will transfer 1 tickets from an implicit to another implicit account', async (done) => { let tezos2TicketBalanceBefore = await client.getTicketBalance(tezos2Pkh, ticketToken); expect(tezos2TicketBalanceBefore).toBe('0'); @@ -78,7 +78,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, setup, createAddress }) => { done(); }); - mumbaiAndAlpha('will transfer 1 ticket from an implicit to an originated account', async (done) => { + it('will transfer 1 ticket from an implicit to an originated account', async (done) => { const implicitToOriginatedOp = await Tezos1.contract.transferTicket({ ticketContents: { string: "Ticket" }, ticketTy: { prim: "string" }, @@ -95,7 +95,7 @@ CONFIGS().forEach(({ lib, protocol, rpc, setup, createAddress }) => { done(); }); - mumbaiAndAlpha('will send 1 ticket from an origianted to another originated account to dispose', async (done) => { + it('will send 1 ticket from an origianted to another originated account to dispose', async (done) => { const ticketSendOriginatedOp = await ticketBagContract.methods.send(ticketBlackholeContract.address).send(); await ticketSendOriginatedOp.confirmation(); expect(ticketSendOriginatedOp.status).toEqual('applied'); diff --git a/integration-tests/contract-with-txr1-address.spec.ts b/integration-tests/contract-with-txr1-address.spec.ts deleted file mode 100644 index fd6cbe7a66..0000000000 --- a/integration-tests/contract-with-txr1-address.spec.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { CONFIGS } from "./config"; -import { MichelsonMap, Protocols } from "@taquito/taquito"; -import { contractWithTxr1Address } from "./data/contract-txr1-address"; - - -CONFIGS().forEach(({ lib, setup, protocol }) => { - const Tezos = lib; - const Limanet = protocol === Protocols.PtLimaPtL ? it : it.skip; - - beforeEach(async (done) => { - await setup(); - done(); - }); - describe('test', () => { - type Storage = { addressSet: string[], addressMap: MichelsonMap; }; - - Limanet('should pass with tz addresses', async (done) => { - - const initialStorage: Storage = { - addressSet: [ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL', - 'tz1LHWNoM2TgPXixyohzP9adhNCmz2Vja6Wz', - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i', - 'tz2SikbT8j5B2Yu1nwygWLU2yNyLdgMyFQnG', - 'txr1YpFMKsYwTJ4YBmYqy2kw4pxCUgeQkZmwo', - 'tz3N4qSiF46pwfbuCUQ7j7vKqDCYHjcRxkC7', - ], - addressMap: MichelsonMap.fromLiteral({ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL': 10, - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i': 21, - 'tz1LHWNoM2TgPXixyohzP9adhNCmz2Vja6Wz': 100, - 'tz2SikbT8j5B2Yu1nwygWLU2yNyLdgMyFQnG': 23, - 'tz3N4qSiF46pwfbuCUQ7j7vKqDCYHjcRxkC7': 17, - }) as MichelsonMap - }; - const op = await Tezos.contract.originate({ - balance: '1', - code: contractWithTxr1Address, - storage: initialStorage - }); - await op.confirmation(); - expect(op.hash).toBeDefined(); - expect(op.includedInBlock).toBeLessThan(Number.POSITIVE_INFINITY); - - const contract = await op.contract(); - const storage = await contract.storage(); - expect([...storage.addressSet].sort()).toEqual([...initialStorage.addressSet].sort()); - expect(storage.addressMap.get('txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL')?.toString()).toEqual('10'); - expect(storage.addressMap.get('tz2SikbT8j5B2Yu1nwygWLU2yNyLdgMyFQnG')?.toString()).toEqual('23'); - expect(storage.addressMap.get('txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i')?.toString()).toEqual('21'); - - const newAddressSet = [ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL', - 'KT1Fe71jyjrxFg9ZrYqtvaX7uQjcLo7svE4D', - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i', - 'KT1XM8VUFBiM9AC5czWU15fEeE9nmuEYWt3Y', - 'txr1YpFMKsYwTJ4YBmYqy2kw4pxCUgeQkZmwo', - 'KT1A87ZZL8mBKcWGr34BVsERPCJjfX82iBto', - ]; - const setOp = await contract.methods['setAddressSet'](newAddressSet).send(); - await setOp.confirmation(); - const newSetStorage = await contract.storage(); - expect([...newSetStorage.addressSet].sort()).toEqual([...newAddressSet].sort()); - - const newAddressMap = MichelsonMap.fromLiteral({ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL': 1, - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i': 3, - 'KT1Fe71jyjrxFg9ZrYqtvaX7uQjcLo7svE4D': 5, - 'KT1XM8VUFBiM9AC5czWU15fEeE9nmuEYWt3Y': 4, - 'KT1A87ZZL8mBKcWGr34BVsERPCJjfX82iBto': 2, - }) as MichelsonMap; - const mapOp = await contract.methods['setAddressMap'](newAddressMap).send(); - await mapOp.confirmation(); - const newMapStorage = await contract.storage(); - expect(newMapStorage.addressMap.get('txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i')?.toString()).toEqual('3'); - expect(newMapStorage.addressMap.get('KT1XM8VUFBiM9AC5czWU15fEeE9nmuEYWt3Y')?.toString()).toEqual('4'); - expect(newMapStorage.addressMap.get('txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL')?.toString()).toEqual('1'); - expect(newMapStorage.addressMap.get('txr1bZx7qro4xNsxLhmpXfmzQojHkg8XqrUvL')).toBeUndefined(); - done(); - }); - Limanet('should pass with KT1', async (done) => { - - const initialStorage: Storage = { - addressSet: [ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL', - 'KT1Fe71jyjrxFg9ZrYqtvaX7uQjcLo7svE4D', - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i', - 'KT1XM8VUFBiM9AC5czWU15fEeE9nmuEYWt3Y', - 'txr1YpFMKsYwTJ4YBmYqy2kw4pxCUgeQkZmwo', - 'KT1A87ZZL8mBKcWGr34BVsERPCJjfX82iBto', - ], - addressMap: MichelsonMap.fromLiteral({ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL': 1, - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i': 3, - 'KT1Fe71jyjrxFg9ZrYqtvaX7uQjcLo7svE4D': 5, - 'KT1XM8VUFBiM9AC5czWU15fEeE9nmuEYWt3Y': 4, - 'KT1A87ZZL8mBKcWGr34BVsERPCJjfX82iBto': 2, - }) as MichelsonMap - }; - const op = await Tezos.contract.originate({ - balance: '1', - code: contractWithTxr1Address, - storage: initialStorage - }); - await op.confirmation(); - expect(op.hash).toBeDefined(); - expect(op.includedInBlock).toBeLessThan(Number.POSITIVE_INFINITY); - - const contract = await op.contract(); - const storage = await contract.storage(); - expect([...storage.addressSet].sort()).toEqual([...initialStorage.addressSet].sort()); - expect(storage.addressMap.get('KT1Fe71jyjrxFg9ZrYqtvaX7uQjcLo7svE4D')?.toString()).toEqual('5'); - expect(storage.addressMap.get('txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL')?.toString()).toEqual('1'); - expect(storage.addressMap.get('KT1A87ZZL8mBKcWGr34BVsERPCJjfX82iBto')?.toString()).toEqual('2'); - const newAddressSet = [ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL', - 'tz1LHWNoM2TgPXixyohzP9adhNCmz2Vja6Wz', - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i', - 'tz2SikbT8j5B2Yu1nwygWLU2yNyLdgMyFQnG', - 'txr1YpFMKsYwTJ4YBmYqy2kw4pxCUgeQkZmwo', - 'tz3N4qSiF46pwfbuCUQ7j7vKqDCYHjcRxkC7', - ]; - const setOp = await contract.methods['setAddressSet'](newAddressSet).send(); - await setOp.confirmation(); - const newSetStorage = await (await contract.storage()).addressSet; - expect([...newSetStorage].sort()).toEqual([...newAddressSet].sort()); - - const newAddressMap = MichelsonMap.fromLiteral({ - 'txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL': 10, - 'txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i': 21, - 'tz1LHWNoM2TgPXixyohzP9adhNCmz2Vja6Wz': 100, - 'tz2SikbT8j5B2Yu1nwygWLU2yNyLdgMyFQnG': 23, - 'tz3N4qSiF46pwfbuCUQ7j7vKqDCYHjcRxkC7': 17, - }) as MichelsonMap; - const mapOp = await contract.methods['setAddressMap'](newAddressMap).send(); - await mapOp.confirmation(); - const newMapStorage = await (await contract.storage()).addressMap; - expect(newMapStorage.get('txr1jZaQfi9zdwzJteYkRBSN9D7RDvMh1QNkL')?.toString()).toEqual('10'); - expect(newMapStorage.get('tz2SikbT8j5B2Yu1nwygWLU2yNyLdgMyFQnG')?.toString()).toEqual('23'); - expect(newMapStorage.get('tz1LHWNoM2TgPXixyohzP9adhNCmz2Vja6Wz')?.toString()).toEqual('100'); - expect(newMapStorage.get('txr1X9N7MQfJENXxAFGpgxv17z1A9ntGMdQ6i')?.toString()).toEqual('21'); - expect(newMapStorage.get('txr1YpFMKsYwTJ4YBmYqy2kw4pxCUgeQkZmwo')).toBeUndefined(); - done(); - }); - }); -}); diff --git a/integration-tests/data/allTestsCases.ts b/integration-tests/data/allTestsCases.ts index ea5e9c69a2..882375fc27 100644 --- a/integration-tests/data/allTestsCases.ts +++ b/integration-tests/data/allTestsCases.ts @@ -1312,9 +1312,6 @@ export const commonCases: TestCase[] = [ ], }, }, -]; - -export const mumbaiCases: TestCase[] = [ { name: `Origination of a smart_rollup_originate operation`, operation: { diff --git a/integration-tests/injecting-multiple-manager-operations-in-a-block.spec.ts b/integration-tests/injecting-multiple-manager-operations-in-a-block.spec.ts index 89df477c2a..70e84e3a0c 100644 --- a/integration-tests/injecting-multiple-manager-operations-in-a-block.spec.ts +++ b/integration-tests/injecting-multiple-manager-operations-in-a-block.spec.ts @@ -1,11 +1,7 @@ -import { Protocols } from '@taquito/taquito'; -import { CONFIGS } from "./config"; +import { CONFIGS } from './config'; -CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { +CONFIGS().forEach(({ lib, rpc, setup }) => { const Tezos = lib; - const limanet = protocol === Protocols.PtLimaPtL && !(rpc === 'http://localhost:20000') ? test : test.skip; - const flextesaLima = protocol === Protocols.PtLimaPtL && rpc === 'http://localhost:20000' ? test : test.skip; - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; describe(`Test injecting more than one manager operation in a block: ${rpc}`, () => { @@ -14,39 +10,7 @@ CONFIGS().forEach(({ lib, rpc, setup, protocol }) => { done(); }); - limanet('Verify that doing transfers without awaiting the confirmation after each will fail', async (done) => { - try { - const op1Promise = Tezos.contract.transfer({ to: 'tz1ZfrERcALBwmAqwonRXYVQBDT9BjNjBHJu', amount: 1 }); - const op2Promise = Tezos.contract.transfer({ to: 'tz1ZfrERcALBwmAqwonRXYVQBDT9BjNjBHJu', amount: 2 }); - - const [op1, op2] = await Promise.all([op1Promise, op2Promise]) - - await op1.confirmation(); - await op2.confirmation(); - - } catch (error: any) { - expect(error.message).toContain('mempool already contains a conflicting operation'); - } - done(); - }); - - flextesaLima('Verify that doing transfers without awaiting the confirmation after each will fail', async (done) => { - try { - const op1Promise = Tezos.contract.transfer({ to: 'tz1ZfrERcALBwmAqwonRXYVQBDT9BjNjBHJu', amount: 1 }); - const op2Promise = Tezos.contract.transfer({ to: 'tz1ZfrERcALBwmAqwonRXYVQBDT9BjNjBHJu', amount: 2 }); - - const [op1, op2] = await Promise.all([op1Promise, op2Promise]) - - await op1.confirmation(); - await op2.confirmation(); - - } catch (error: any) { - expect(error.message).toContain('Only one manager operation per manager per block allowed'); - } - done(); - }); - - mumbaiAndAlpha('Verify that doing transfers without awaiting the confirmation after each will fail', async (done) => { + it('Verify that doing transfers without awaiting the confirmation after each will fail', async (done) => { try { const op1Promise = Tezos.contract.transfer({ to: 'tz1ZfrERcALBwmAqwonRXYVQBDT9BjNjBHJu', amount: 1 }); const op2Promise = Tezos.contract.transfer({ to: 'tz1ZfrERcALBwmAqwonRXYVQBDT9BjNjBHJu', amount: 2 }); diff --git a/integration-tests/instructions-with-bytes-conversion.spec.ts b/integration-tests/instructions-with-bytes-conversion.spec.ts index 7a164acb23..4ae03f5dfc 100644 --- a/integration-tests/instructions-with-bytes-conversion.spec.ts +++ b/integration-tests/instructions-with-bytes-conversion.spec.ts @@ -1,12 +1,8 @@ import { CONFIGS } from "./config"; -import { Protocols } from "@taquito/taquito"; import { bytesAndInt, bytesAndNat } from "./data/instructions-bytes-conversions-contracts"; -import { HttpResponseError } from "@taquito/http-utils"; -CONFIGS().forEach(({ lib, protocol, setup }) => { +CONFIGS().forEach(({ lib, setup }) => { const Tezos = lib; - const limanet = protocol === Protocols.PtLimaPtL ? test : test.skip; - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; describe(`Test origination of contract with instructions now supporting bytes conversion`, () => { @@ -15,7 +11,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to originate a contract with BYTES -> INT -> BYTES instructions`, async done => { + it(`Should be able to originate a contract with BYTES -> INT -> BYTES instructions`, async done => { const contract = await Tezos.contract.originate({ code: bytesAndInt, storage: 0 @@ -27,7 +23,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to originate a contract with BYTES -> NAT -> BYTES instructions`, async done => { + it(`Should be able to originate a contract with BYTES -> NAT -> BYTES instructions`, async done => { const contract = await Tezos.contract.originate({ code: bytesAndNat, storage: 0 @@ -39,18 +35,5 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - limanet('Should fail with non-supported BYTES and NAT instructions', async (done) => { - try { - const contract = await Tezos.contract.originate({ - code: bytesAndInt, - storage: 0 - }); - await contract.confirmation(); - } catch (err) { - expect(err).toBeInstanceOf(HttpResponseError); - } - done(); - }); - }); }); diff --git a/integration-tests/instructions-with-bytes.spec.ts b/integration-tests/instructions-with-bytes.spec.ts index b978226944..ecc8fccdbf 100644 --- a/integration-tests/instructions-with-bytes.spec.ts +++ b/integration-tests/instructions-with-bytes.spec.ts @@ -1,11 +1,8 @@ import { CONFIGS } from "./config"; -import { Protocols, TezosOperationError } from "@taquito/taquito"; import { addContract, lslContract, lsrContract, notContract, orContract, xorContract } from "./data/instructions-with-bytes-contracts"; -CONFIGS().forEach(({ lib, protocol, setup }) => { +CONFIGS().forEach(({ lib, setup }) => { const Tezos = lib; - const limanet = protocol === Protocols.PtLimaPtL ? test : test.skip; - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; describe(`Test origination of contract with instructions now supporting bytes`, () => { @@ -14,7 +11,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to orignate contract with ADD parameter in michelson contract with bytes`, async done => { + it(`Should be able to orignate contract with ADD parameter in michelson contract with bytes`, async done => { const contract = await Tezos.contract.originate({ code: addContract, storage: 0 @@ -26,7 +23,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to orignate contract with LSL parameter in michelson contract with bytes`, async done => { + it(`Should be able to orignate contract with LSL parameter in michelson contract with bytes`, async done => { const contract = await Tezos.contract.originate({ code: lslContract, storage: 0 @@ -38,7 +35,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to orignate contract with LSR parameter in michelson contract with bytes`, async done => { + it(`Should be able to orignate contract with LSR parameter in michelson contract with bytes`, async done => { const contract = await Tezos.contract.originate({ code: lsrContract, storage: 0 @@ -50,7 +47,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to orignate contract with NOT parameter in michelson contract with bytes`, async done => { + it(`Should be able to orignate contract with NOT parameter in michelson contract with bytes`, async done => { const contract = await Tezos.contract.originate({ code: notContract, storage: 0 @@ -62,7 +59,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to orignate contract with OR parameter in michelson contract with bytes`, async done => { + it(`Should be able to orignate contract with OR parameter in michelson contract with bytes`, async done => { const contract = await Tezos.contract.originate({ code: orContract, storage: 0 @@ -74,7 +71,7 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { done(); }); - mumbaiAndAlpha(`Should be able to orignate contract with XOR parameter in michelson contract with bytes`, async done => { + it(`Should be able to orignate contract with XOR parameter in michelson contract with bytes`, async done => { const contract = await Tezos.contract.originate({ code: xorContract, storage: 0 @@ -85,19 +82,5 @@ CONFIGS().forEach(({ lib, protocol, setup }) => { expect(contract.status).toEqual('applied'); done(); }); - - limanet('Should fail to originate a contract for AND with bytes', async (done) => { - try { - const contract = await Tezos.contract.originate({ - code: addContract, - storage: 0 - }); - await contract.confirmation(); - } catch (err) { - expect(err).toBeInstanceOf(TezosOperationError); - } - done(); - }); - }); }); diff --git a/integration-tests/known-contracts-PtLimaPtL.ts b/integration-tests/known-contracts-PtLimaPtL.ts deleted file mode 100644 index 29796b23cb..0000000000 --- a/integration-tests/known-contracts-PtLimaPtL.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const knownContractPtLimaPtL = "KT1NiiuTpzeh3qvmpg6x1WoUK5GFA9peHqMR"; -export const knownBigMapContractPtLimaPtL = "KT19WjpKFLhkpnPfvzJCShyVxfiRfKuXx4js"; -export const knownTzip12BigMapOffChainContractPtLimaPtL = "KT1GnRJVaqvzjeeuhcsCUZmn96ZrN8pJ2GxV"; -export const knownSaplingContractPtLimaPtL = "KT1S321F21ZTqjxwC3MgJDE8M8aTX3234ZCY"; -export const knownOnChainViewContractAddressPtLimaPtL = "KT1CH64MzwB9E5XkgdR1s7ZamHYsJuTPkDnt"; diff --git a/integration-tests/local-forging.spec.ts b/integration-tests/local-forging.spec.ts index 302ff5e390..228bac63b7 100644 --- a/integration-tests/local-forging.spec.ts +++ b/integration-tests/local-forging.spec.ts @@ -1,13 +1,12 @@ import { CONFIGS } from "./config"; -import { commonCases, mumbaiCases } from './data/allTestsCases'; +import { commonCases } from './data/allTestsCases'; import { LocalForger, ProtocolsHash } from '@taquito/local-forging' -import { Protocols, TezosToolkit } from "@taquito/taquito"; +import { TezosToolkit } from "@taquito/taquito"; CONFIGS().forEach(({ rpc, protocol }) => { const Tezos = new TezosToolkit(rpc); describe(`Test local forger: ${rpc}`, () => { - const mumbaiAndAlpha = protocol === Protocols.ProtoALpha || protocol == Protocols.PtMumbai2 ? it : it.skip; // all protocols commonCases.forEach(({ name, operation, expected }) => { it(`Verify that .forge for local forge will return same result as for network forge for rpc: ${name} (${rpc})`, async done => { @@ -20,17 +19,5 @@ CONFIGS().forEach(({ rpc, protocol }) => { done(); }); }); - - mumbaiCases.forEach(({ name, operation, expected}) => { - mumbaiAndAlpha(`Verify that .forge for local forge smart rollup will return same result as for network forge for rpc: ${name} (${rpc})`, async done => { - const localForger = new LocalForger(protocol as unknown as ProtocolsHash); - const result = await localForger.forge(operation); - const rpcResult = await Tezos.rpc.forgeOperations(operation); - expect(result).toEqual(rpcResult); - expect(await localForger.parse(result)).toEqual(expected || operation); - - done(); - }); - }) }); }); diff --git a/integration-tests/package.json b/integration-tests/package.json index c80d1d0660..dddbec9698 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -12,25 +12,25 @@ "test:mondaynet-secret-key": "RUN_MONDAYNET_WITH_SECRET_KEY=true jest --runInBand", "test": "jest" }, - "version": "16.0.0", + "version": "16.0.1", "dependencies": { "@ledgerhq/devices": "6.20.0", "@ledgerhq/hw-transport": "6.20.0", "@ledgerhq/hw-transport-node-hid": "6.20.0", "@ledgerhq/hw-transport-node-hid-noevents": "6.20.0", - "@taquito/contracts-library": "^16.0.0", - "@taquito/http-utils": "^16.0.0", - "@taquito/local-forging": "^16.0.0", - "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/remote-signer": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip12": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/contracts-library": "^16.0.1", + "@taquito/http-utils": "^16.0.1", + "@taquito/local-forging": "^16.0.1", + "@taquito/michel-codec": "^16.0.1", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/remote-signer": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip12": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "bip39": "^3.0.4", "blakejs": "^1.2.1" diff --git a/integration-tests/prepare-operation.spec.ts b/integration-tests/prepare-operation.spec.ts index 41e65b3bd1..525329f08b 100644 --- a/integration-tests/prepare-operation.spec.ts +++ b/integration-tests/prepare-operation.spec.ts @@ -1,19 +1,17 @@ -import { Protocols } from '@taquito/taquito'; import { OperationContentsBallot, OperationContentsTransaction } from '@taquito/rpc'; -import { - OpKind, +import { + OpKind, } from '@taquito/taquito'; import { CONFIGS } from './config'; CONFIGS().forEach(({ lib, setup, protocol }) => { const Tezos = lib; let contractAddress: string; - const limanet = (protocol === Protocols.PtLimaPtL) ? test : test.skip; describe(`Test Preparation of operations using the PrepareProvider`, () => { beforeAll(async (done) => { await setup(); - + try { const op = await Tezos.contract.originate({ code: `{ parameter (or (or (int %decrement) (int %increment)) (unit %reset)) ; @@ -34,7 +32,7 @@ CONFIGS().forEach(({ lib, setup, protocol }) => { done(); }) - + beforeEach(async (done) => { done(); }); @@ -122,4 +120,4 @@ CONFIGS().forEach(({ lib, setup, protocol }) => { }); }); -}) \ No newline at end of file +}) diff --git a/integration-tests/rpc-get-protocol-constants.spec.ts b/integration-tests/rpc-get-protocol-constants.spec.ts index 427c9adba4..c652e4b9d8 100644 --- a/integration-tests/rpc-get-protocol-constants.spec.ts +++ b/integration-tests/rpc-get-protocol-constants.spec.ts @@ -13,7 +13,6 @@ import { CONFIGS().forEach(({ lib, protocol, rpc }) => { const Tezos = lib; - const limanet = (protocol === Protocols.PtLimaPtL) ? test : test.skip; const mumbainet = (protocol === Protocols.PtMumbai2) ? test : test.skip; const alpha = (protocol === Protocols.ProtoALpha) ? test : test.skip; @@ -599,111 +598,6 @@ CONFIGS().forEach(({ lib, protocol, rpc }) => { describe(`Fetch constants for testnet`, () => { - limanet(`successfully fetches all constants for limanet using ${rpc}`, async (done) => { - Tezos.setRpcProvider(rpc); - const constants: ConstantsResponseProto015 = await Tezos.rpc.getConstants(); - - expect(constants).toEqual({ - proof_of_work_nonce_size: 8, - nonce_length: 32, - max_anon_ops_per_block: 132, - max_operation_data_length: 32768, - max_proposals_per_delegate: 20, - max_micheline_node_count: 50000, - max_micheline_bytes_limit: 50000, - max_allowed_global_constants_depth: 10000, - cache_layout_size: 3, - michelson_maximum_type_size: 2001, - sc_max_wrapped_proof_binary_size: 30000, - sc_rollup_message_size_limit: 4096, - preserved_cycles: 3, - blocks_per_cycle: 4096, - blocks_per_commitment: 32, - nonce_revelation_threshold: 256, - blocks_per_stake_snapshot: 256, - cycles_per_voting_period: 1, - hard_gas_limit_per_operation: new BigNumber(1040000), - hard_gas_limit_per_block: new BigNumber(5200000), - proof_of_work_threshold: new BigNumber(-1), - minimal_stake: new BigNumber(6000000000), - vdf_difficulty: new BigNumber(2000000000), - seed_nonce_revelation_tip: new BigNumber(125000), - origination_size: 257, - baking_reward_fixed_portion: new BigNumber(10000000), - baking_reward_bonus_per_slot: new BigNumber(4286), - endorsing_reward_per_slot: new BigNumber(2857), - cost_per_byte: new BigNumber(250), - hard_storage_limit_per_operation: new BigNumber(60000), - quorum_min: 2000, - quorum_max: 7000, - min_proposal_quorum: 500, - liquidity_baking_subsidy: new BigNumber(2500000), - liquidity_baking_toggle_ema_threshold: 1000000000, - max_operations_time_to_live: 120, - minimal_block_delay: new BigNumber(15), - delay_increment_per_round: new BigNumber(5), - consensus_committee_size: 7000, - consensus_threshold: 4667, - minimal_participation_ratio: { - numerator: 2, - denominator: 3 - }, - max_slashing_period: 2, - frozen_deposits_percentage: 10, - double_baking_punishment: new BigNumber(640000000), - ratio_of_frozen_deposits_slashed_per_double_endorsement: { - numerator: 1, - denominator: 2 - }, - testnet_dictator: 'tz1Xf8zdT3DbAX9cHw3c3CXh79rc4nK4gCe8', - cache_script_size: 100000000, - cache_stake_distribution_cycles: 8, - cache_sampler_state_cycles: 8, - tx_rollup_enable: true, - tx_rollup_origination_size: 4000, - tx_rollup_hard_size_limit_per_inbox: 500000, - tx_rollup_hard_size_limit_per_message: 5000, - tx_rollup_max_withdrawals_per_batch: 15, - tx_rollup_commitment_bond: new BigNumber(10000000000), - tx_rollup_finality_period: 40000, - tx_rollup_withdraw_period: 40000, - tx_rollup_max_inboxes_count: 40100, - tx_rollup_max_messages_per_inbox: 1010, - tx_rollup_max_commitments_count: 80100, - tx_rollup_cost_per_byte_ema_factor: 120, - tx_rollup_max_ticket_payload_size: 2048, - tx_rollup_rejection_max_proof_size: 30000, - tx_rollup_sunset_level: 10000000, - dal_parametric: { - feature_enable: false, - number_of_slots: 256, - number_of_shards: 2048, - endorsement_lag: 1, - availability_threshold: 50, - slot_size: 1048576, - redundancy_factor: 16, - page_size: 4096 - }, - sc_rollup_enable: false, - sc_rollup_origination_size: 6314, - sc_rollup_challenge_window_in_blocks: 20160, - sc_rollup_max_number_of_messages_per_commitment_period: 300000000, - sc_rollup_stake_amount: new BigNumber(10000000000), - sc_rollup_commitment_period_in_blocks: 30, - sc_rollup_max_lookahead_in_blocks: 30000, - sc_rollup_max_active_outbox_levels: 20160, - sc_rollup_max_outbox_messages_per_level: 100, - sc_rollup_number_of_sections_in_dissection: 32, - sc_rollup_timeout_period_in_blocks: 20160, - sc_rollup_max_number_of_cemented_commitments: 5, - zk_rollup_enable: false, - zk_rollup_origination_size: 4000, - zk_rollup_min_pending_to_process: 10 - }); - - done(); - }); - mumbainet(`successfully fetches all constants for mumbainet using ${rpc}`, async (done) => { Tezos.setRpcProvider(rpc); const constants: ConstantsResponseProto016 = await Tezos.rpc.getConstants(); diff --git a/integration-tests/rpc-nodes.spec.ts b/integration-tests/rpc-nodes.spec.ts index 251c336cc8..330e9b904d 100644 --- a/integration-tests/rpc-nodes.spec.ts +++ b/integration-tests/rpc-nodes.spec.ts @@ -1,5 +1,5 @@ import { CONFIGS } from './config'; -import { DefaultContractType, Protocols } from "@taquito/taquito"; +import { DefaultContractType } from "@taquito/taquito"; import { RpcClientCache, RpcClient, RPCRunViewParam, RPCRunScriptViewParam } from '@taquito/rpc'; import { encodeExpr } from '@taquito/utils'; import { Schema } from '@taquito/michelson-encoder'; @@ -19,8 +19,6 @@ CONFIGS().forEach( knownViewContract, }) => { const Tezos = lib; - - const mumbaiAndAlpha = protocol === Protocols.PtMumbai2 || protocol === Protocols.ProtoALpha ? test : test.skip; const unrestrictedRPCNode = rpc.endsWith("ecadinfra.com") ? test.skip : test; let ticketContract: DefaultContractType; @@ -439,13 +437,13 @@ CONFIGS().forEach( done(); }); - mumbaiAndAlpha('Verify that rpcClient.ticketBalance will retrieve the specified ticket owned by the given contract', async (done) => { + it('Verify that rpcClient.ticketBalance will retrieve the specified ticket owned by the given contract', async (done) => { const ticketBalance = await rpcClient.getTicketBalance(ticketContract.address, { ticketer: ticketContract.address, content_type: { prim: 'string' }, content: { string: 'abc' } } ); expect(ticketBalance).toBeDefined(); done(); }); - - mumbaiAndAlpha('Verify that rpcClient.allTicketBalances will retrieve all tickets owned by the given contract', async (done) => { + + it('Verify that rpcClient.allTicketBalances will retrieve all tickets owned by the given contract', async (done) => { const ticketBalances = await rpcClient.getAllTicketBalances(ticketContract.address); expect(ticketBalances).toBeInstanceOf(Array) expect(ticketBalances[0].ticketer).toBe(ticketContract.address) diff --git a/lerna.json b/lerna.json index 1a18b19af5..57579fbeec 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { "useWorkspaces": true, "useNx": true, - "version": "16.0.0" + "version": "16.0.1" } diff --git a/package-lock.json b/package-lock.json index 8ccc556327..c8329716c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,12 +58,12 @@ }, "apps/taquito-test-dapp": { "name": "taquito-test-dapp-vite", - "version": "16.0.0", + "version": "16.0.1", "dependencies": { "@airgap/beacon-sdk": "^3.3.1", - "@taquito/beacon-wallet": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/beacon-wallet": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "buffer": "^6.0.3", "svelte-select": "^4.4.7", "vite-compatible-readable-stream": "^3.6.1" @@ -98,19 +98,19 @@ }, "example": { "name": "@taquito/example", - "version": "16.0.0", + "version": "16.0.1", "dependencies": { "@ledgerhq/hw-transport-node-hid": "^6.27.3", - "@taquito/ledger-signer": "^16.0.0", - "@taquito/local-forging": "^16.0.0", + "@taquito/ledger-signer": "^16.0.1", + "@taquito/local-forging": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { @@ -146,25 +146,25 @@ } }, "integration-tests": { - "version": "16.0.0", + "version": "16.0.1", "dependencies": { "@ledgerhq/devices": "6.20.0", "@ledgerhq/hw-transport": "6.20.0", "@ledgerhq/hw-transport-node-hid": "6.20.0", "@ledgerhq/hw-transport-node-hid-noevents": "6.20.0", - "@taquito/contracts-library": "^16.0.0", + "@taquito/contracts-library": "^16.0.1", "@taquito/http-utils": "^16.0.0", - "@taquito/local-forging": "^16.0.0", + "@taquito/local-forging": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/remote-signer": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip12": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/remote-signer": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip12": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "bip39": "^3.0.4", "blakejs": "^1.2.1" @@ -53365,16 +53365,16 @@ }, "packages/taquito": { "name": "@taquito/taquito", - "version": "16.0.0", + "version": "16.0.1", "hasInstallScript": true, "license": "MIT", "dependencies": { "@taquito/http-utils": "^16.0.0", - "@taquito/local-forging": "^16.0.0", + "@taquito/local-forging": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "rxjs": "^6.6.3" }, @@ -53423,11 +53423,11 @@ }, "packages/taquito-beacon-wallet": { "name": "@taquito/beacon-wallet", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@airgap/beacon-dapp": "^3.3.1", - "@taquito/taquito": "^16.0.0" + "@taquito/taquito": "^16.0.1" }, "devDependencies": { "@types/bluebird": "^3.5.36", @@ -53475,12 +53475,12 @@ }, "packages/taquito-contracts-library": { "name": "@taquito/contracts-library", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { @@ -53567,13 +53567,13 @@ }, "packages/taquito-ledger-signer": { "name": "@taquito/ledger-signer", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@ledgerhq/hw-transport": "^6.27.3", "@stablelib/blake2b": "^1.0.1", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "buffer": "^6.0.3" }, "devDependencies": { @@ -53611,14 +53611,14 @@ }, "packages/taquito-local-forging": { "name": "@taquito/local-forging", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { - "@taquito/utils": "^16.0.0", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { - "@taquito/rpc": "^16.0.0", + "@taquito/rpc": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/estree": "^1.0.0", "@types/jest": "^26.0.23", @@ -53730,20 +53730,20 @@ } }, "packages/taquito-michel-codec/pack-test-tool": { - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { - "@taquito/rpc": "^16.0.0", + "@taquito/rpc": "^16.0.1", "yargs": "^16.2.0" } }, "packages/taquito-michelson-encoder": { "name": "@taquito/michelson-encoder", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { - "@taquito/rpc": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "fast-json-stable-stringify": "^2.1.0" }, @@ -53838,14 +53838,14 @@ }, "packages/taquito-remote-signer": { "name": "@taquito/remote-signer", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", "@taquito/http-utils": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "typedarray-to-buffer": "^4.0.0" }, "devDependencies": { @@ -53883,11 +53883,11 @@ }, "packages/taquito-rpc": { "name": "@taquito/rpc", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@taquito/http-utils": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { @@ -53924,16 +53924,16 @@ }, "packages/taquito-sapling": { "name": "@taquito/sapling", - "version": "16.0.0", + "version": "16.0.1", "hasInstallScript": true, "license": "MIT", "dependencies": { "@airgap/sapling-wasm": "0.0.9", "@stablelib/nacl": "^1.0.3", "@stablelib/random": "^1.0.1", - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "bip39": "^3.0.4", "blakejs": "^1.2.1", @@ -54085,7 +54085,7 @@ }, "packages/taquito-signer": { "name": "@taquito/signer", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@stablelib/blake2b": "^1.0.1", @@ -54094,8 +54094,8 @@ "@stablelib/nacl": "^1.0.4", "@stablelib/pbkdf2": "^1.0.1", "@stablelib/sha512": "^1.0.1", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bn.js": "^5.1.1", "bip39": "^3.0.4", "elliptic": "^6.5.4", @@ -54223,12 +54223,12 @@ }, "packages/taquito-tzip12": { "name": "@taquito/tzip12", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip16": "^16.0.0" + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip16": "^16.0.1" }, "devDependencies": { "@types/bluebird": "^3.5.36", @@ -54265,14 +54265,14 @@ }, "packages/taquito-tzip16": { "name": "@taquito/tzip16", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@taquito/http-utils": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "crypto-js": "^4.1.1" }, @@ -54312,7 +54312,7 @@ }, "packages/taquito-utils": { "name": "@taquito/utils", - "version": "16.0.0", + "version": "16.0.1", "license": "MIT", "dependencies": { "@stablelib/blake2b": "^1.0.1", @@ -54366,7 +54366,7 @@ }, "website": { "name": "@taquito/website", - "version": "16.0.0", + "version": "16.0.1", "dependencies": { "@docusaurus/core": "2.3.1", "@docusaurus/plugin-google-gtag": "2.3.1", @@ -54379,19 +54379,19 @@ "@ledgerhq/hw-transport-webhid": "^6.27.3", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^6.4.0", - "@taquito/beacon-wallet": "^16.0.0", + "@taquito/beacon-wallet": "^16.0.1", "@taquito/http-utils": "^16.0.0", - "@taquito/ledger-signer": "^16.0.0", + "@taquito/ledger-signer": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/remote-signer": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip12": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/remote-signer": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip12": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "abort-controller": "^3.0.0", "algoliasearch": "^4.14.2", "axios": "^0.26.0", @@ -61664,7 +61664,7 @@ "version": "file:packages/taquito-beacon-wallet", "requires": { "@airgap/beacon-dapp": "^3.3.1", - "@taquito/taquito": "^16.0.0", + "@taquito/taquito": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/chrome": "0.0.171", "@types/jest": "^26.0.23", @@ -61710,9 +61710,9 @@ "@taquito/contracts-library": { "version": "file:packages/taquito-contracts-library", "requires": { - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/jest": "^26.0.23", "@types/node": "^16", @@ -61747,16 +61747,16 @@ "version": "file:example", "requires": { "@ledgerhq/hw-transport-node-hid": "^6.27.3", - "@taquito/ledger-signer": "^16.0.0", - "@taquito/local-forging": "^16.0.0", + "@taquito/ledger-signer": "^16.0.1", + "@taquito/local-forging": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/node-hid": "^1.3.1", "bignumber.js": "^9.1.0", "ts-node": "^10.9.1" @@ -61840,8 +61840,8 @@ "requires": { "@ledgerhq/hw-transport": "^6.27.3", "@stablelib/blake2b": "^1.0.1", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/jest": "^26.0.24", "@types/node": "^16", @@ -61875,8 +61875,8 @@ "@taquito/local-forging": { "version": "file:packages/taquito-local-forging", "requires": { - "@taquito/rpc": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/estree": "^1.0.0", "@types/jest": "^26.0.23", @@ -61977,7 +61977,7 @@ "version": "file:packages/taquito-michelson-encoder", "requires": { "@taquito/rpc": "^14.0.0-beta-RC.0", - "@taquito/utils": "^16.0.0", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/jest": "^26.0.23", "@types/node": "^16", @@ -62065,8 +62065,8 @@ "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", "@taquito/http-utils": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/jest": "^26.0.24", "@types/node": "^16", @@ -62101,7 +62101,7 @@ "version": "file:packages/taquito-rpc", "requires": { "@taquito/http-utils": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/jest": "^26.0.23", "@types/node": "^16", @@ -62138,9 +62138,9 @@ "@rollup/plugin-json": "^4.1.0", "@stablelib/nacl": "^1.0.3", "@stablelib/random": "^1.0.1", - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/jest": "^26.0.23", "@types/node": "^16", "@types/pbkdf2": "^3.1.0", @@ -62261,8 +62261,8 @@ "@stablelib/nacl": "^1.0.4", "@stablelib/pbkdf2": "^1.0.1", "@stablelib/sha512": "^1.0.1", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/bn.js": "^5.1.1", "@types/elliptic": "^6.4.14", @@ -62304,11 +62304,11 @@ "requires": { "@babel/types": "7.16.0", "@taquito/http-utils": "^16.0.0", - "@taquito/local-forging": "^16.0.0", + "@taquito/local-forging": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/estree": "^0.0.50", "@types/jest": "^26.0.23", @@ -62360,9 +62360,9 @@ "@taquito/tzip12": { "version": "file:packages/taquito-tzip12", "requires": { - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip16": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip16": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/jest": "^26.0.23", "@types/node": "^16", @@ -62396,10 +62396,10 @@ "version": "file:packages/taquito-tzip16", "requires": { "@taquito/http-utils": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/crypto-js": "^4.1.1", "@types/jest": "^26.0.23", @@ -62488,19 +62488,19 @@ "@ledgerhq/hw-transport-webhid": "^6.27.3", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^6.4.0", - "@taquito/beacon-wallet": "^16.0.0", + "@taquito/beacon-wallet": "^16.0.1", "@taquito/http-utils": "^16.0.0", - "@taquito/ledger-signer": "^16.0.0", + "@taquito/ledger-signer": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/remote-signer": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip12": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/remote-signer": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip12": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "@tsconfig/docusaurus": "^1.0.4", "abort-controller": "^3.0.0", "algoliasearch": "^4.14.2", @@ -69997,19 +69997,19 @@ "@ledgerhq/hw-transport": "6.20.0", "@ledgerhq/hw-transport-node-hid": "6.20.0", "@ledgerhq/hw-transport-node-hid-noevents": "6.20.0", - "@taquito/contracts-library": "^16.0.0", + "@taquito/contracts-library": "^16.0.1", "@taquito/http-utils": "^16.0.0", - "@taquito/local-forging": "^16.0.0", + "@taquito/local-forging": "^16.0.1", "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/remote-signer": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip12": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/remote-signer": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip12": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/jest": "^26.0.23", "@types/node": "^16", "@typescript-eslint/eslint-plugin": "^5.28.0", @@ -88843,7 +88843,7 @@ "pack-test-tool": { "version": "file:packages/taquito-michel-codec/pack-test-tool", "requires": { - "@taquito/rpc": "^16.0.0", + "@taquito/rpc": "^16.0.1", "yargs": "^16.2.0" } }, @@ -93213,9 +93213,9 @@ "requires": { "@airgap/beacon-sdk": "^3.3.1", "@sveltejs/vite-plugin-svelte": "^1.1.0", - "@taquito/beacon-wallet": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/beacon-wallet": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@tsconfig/svelte": "^2.0.1", "buffer": "^6.0.3", "events": "^3.3.0", diff --git a/packages/taquito-beacon-wallet/package.json b/packages/taquito-beacon-wallet/package.json index 9e1a7bf3ad..0457379beb 100644 --- a/packages/taquito-beacon-wallet/package.json +++ b/packages/taquito-beacon-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/beacon-wallet", - "version": "16.0.0", + "version": "16.0.1", "description": "Beacon wallet provider", "keywords": [ "tezos", @@ -68,7 +68,7 @@ }, "dependencies": { "@airgap/beacon-dapp": "^3.3.1", - "@taquito/taquito": "^16.0.0" + "@taquito/taquito": "^16.0.1" }, "devDependencies": { "@types/bluebird": "^3.5.36", diff --git a/packages/taquito-beacon-wallet/src/version.ts b/packages/taquito-beacon-wallet/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-beacon-wallet/src/version.ts +++ b/packages/taquito-beacon-wallet/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-contracts-library/package.json b/packages/taquito-contracts-library/package.json index fe1cc0ddf4..16b034fcdb 100644 --- a/packages/taquito-contracts-library/package.json +++ b/packages/taquito-contracts-library/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/contracts-library", - "version": "16.0.0", + "version": "16.0.1", "description": "Can be used as an extension on the TezosToolkit to provide contracts data", "keywords": [ "tezos" @@ -68,9 +68,9 @@ ] }, "dependencies": { - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { diff --git a/packages/taquito-contracts-library/src/version.ts b/packages/taquito-contracts-library/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-contracts-library/src/version.ts +++ b/packages/taquito-contracts-library/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-http-utils/package.json b/packages/taquito-http-utils/package.json index 66c948f834..9fe3816051 100644 --- a/packages/taquito-http-utils/package.json +++ b/packages/taquito-http-utils/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/http-utils", - "version": "16.0.0", + "version": "16.0.1", "description": "", "keywords": [ "tezos" diff --git a/packages/taquito-http-utils/src/version.ts b/packages/taquito-http-utils/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-http-utils/src/version.ts +++ b/packages/taquito-http-utils/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-ledger-signer/package.json b/packages/taquito-ledger-signer/package.json index cef824c929..67b413aebe 100644 --- a/packages/taquito-ledger-signer/package.json +++ b/packages/taquito-ledger-signer/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/ledger-signer", - "version": "16.0.0", + "version": "16.0.1", "description": "Ledger signer provider", "keywords": [ "tezos", @@ -60,8 +60,8 @@ "dependencies": { "@ledgerhq/hw-transport": "^6.27.3", "@stablelib/blake2b": "^1.0.1", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "buffer": "^6.0.3" }, "devDependencies": { diff --git a/packages/taquito-ledger-signer/src/version.ts b/packages/taquito-ledger-signer/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-ledger-signer/src/version.ts +++ b/packages/taquito-ledger-signer/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-local-forging/package.json b/packages/taquito-local-forging/package.json index 117b32357c..b32a10a276 100644 --- a/packages/taquito-local-forging/package.json +++ b/packages/taquito-local-forging/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/local-forging", - "version": "16.0.0", + "version": "16.0.1", "description": "Provide local forging functionality to be with taquito", "keywords": [ "tezos", @@ -68,11 +68,11 @@ ] }, "dependencies": { - "@taquito/utils": "^16.0.0", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { - "@taquito/rpc": "^16.0.0", + "@taquito/rpc": "^16.0.1", "@types/bluebird": "^3.5.36", "@types/estree": "^1.0.0", "@types/jest": "^26.0.23", diff --git a/packages/taquito-local-forging/src/version.ts b/packages/taquito-local-forging/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-local-forging/src/version.ts +++ b/packages/taquito-local-forging/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-michel-codec/pack-test-tool/package.json b/packages/taquito-michel-codec/pack-test-tool/package.json index fb4fc610bd..396e7d5caf 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": "16.0.0", + "version": "16.0.1", "description": "Generate pack test data via Tezos RPC", "main": "pack-test-tool.js", "private": true, @@ -8,7 +8,7 @@ "author": "Eugene Zagidullin ", "license": "MIT", "dependencies": { - "@taquito/rpc": "^16.0.0", + "@taquito/rpc": "^16.0.1", "yargs": "^16.2.0" } } diff --git a/packages/taquito-michel-codec/package.json b/packages/taquito-michel-codec/package.json index 4d54e39ba4..0bb6aec245 100644 --- a/packages/taquito-michel-codec/package.json +++ b/packages/taquito-michel-codec/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/michel-codec", - "version": "16.0.0", + "version": "16.0.1", "description": "Michelson parser/validator/formatter", "keywords": [ "tezos", diff --git a/packages/taquito-michel-codec/src/version.ts b/packages/taquito-michel-codec/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-michel-codec/src/version.ts +++ b/packages/taquito-michel-codec/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-michelson-encoder/package.json b/packages/taquito-michelson-encoder/package.json index 1bffaa024d..ddfda0cf43 100644 --- a/packages/taquito-michelson-encoder/package.json +++ b/packages/taquito-michelson-encoder/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/michelson-encoder", - "version": "16.0.0", + "version": "16.0.1", "description": "converts michelson data and types into convenient JS/TS objects", "keywords": [ "tezos", @@ -68,8 +68,8 @@ ] }, "dependencies": { - "@taquito/rpc": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "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 66209a6625..bbe527b730 100644 --- a/packages/taquito-michelson-encoder/src/version.ts +++ b/packages/taquito-michelson-encoder/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-remote-signer/package.json b/packages/taquito-remote-signer/package.json index 2b01964456..23e469e3ca 100644 --- a/packages/taquito-remote-signer/package.json +++ b/packages/taquito-remote-signer/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/remote-signer", - "version": "16.0.0", + "version": "16.0.1", "description": "Remote signer provider", "keywords": [ "tezos", @@ -63,9 +63,9 @@ "dependencies": { "@stablelib/blake2b": "^1.0.1", "@stablelib/ed25519": "^1.0.3", - "@taquito/http-utils": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/http-utils": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "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 66209a6625..bbe527b730 100644 --- a/packages/taquito-remote-signer/src/version.ts +++ b/packages/taquito-remote-signer/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-rpc/package.json b/packages/taquito-rpc/package.json index 0fe682d111..baba909e6c 100644 --- a/packages/taquito-rpc/package.json +++ b/packages/taquito-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/rpc", - "version": "16.0.0", + "version": "16.0.1", "description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node", "keywords": [ "tezos", @@ -67,8 +67,8 @@ ] }, "dependencies": { - "@taquito/http-utils": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/http-utils": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0" }, "devDependencies": { diff --git a/packages/taquito-rpc/src/version.ts b/packages/taquito-rpc/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-rpc/src/version.ts +++ b/packages/taquito-rpc/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-sapling/package.json b/packages/taquito-sapling/package.json index 5ed32dda7e..a1f2f653cc 100644 --- a/packages/taquito-sapling/package.json +++ b/packages/taquito-sapling/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/sapling", - "version": "16.0.0", + "version": "16.0.1", "description": "Allows reading and preparing sapling transactions", "keywords": [ "tezos", @@ -69,9 +69,9 @@ "@airgap/sapling-wasm": "0.0.9", "@stablelib/nacl": "^1.0.3", "@stablelib/random": "^1.0.1", - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "bip39": "^3.0.4", "blakejs": "^1.2.1", diff --git a/packages/taquito-sapling/src/version.ts b/packages/taquito-sapling/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-sapling/src/version.ts +++ b/packages/taquito-sapling/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-signer/package.json b/packages/taquito-signer/package.json index 00a5b2a078..5b7dd6016b 100644 --- a/packages/taquito-signer/package.json +++ b/packages/taquito-signer/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/signer", - "version": "16.0.0", + "version": "16.0.1", "description": "Provide signing functionality to be with taquito", "keywords": [ "tezos", @@ -73,8 +73,8 @@ "@stablelib/nacl": "^1.0.4", "@stablelib/pbkdf2": "^1.0.1", "@stablelib/sha512": "^1.0.1", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "@types/bn.js": "^5.1.1", "bip39": "^3.0.4", "elliptic": "^6.5.4", diff --git a/packages/taquito-signer/src/version.ts b/packages/taquito-signer/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-signer/src/version.ts +++ b/packages/taquito-signer/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-tzip12/package.json b/packages/taquito-tzip12/package.json index c94df2211b..7c9730f65b 100644 --- a/packages/taquito-tzip12/package.json +++ b/packages/taquito-tzip12/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/tzip12", - "version": "16.0.0", + "version": "16.0.1", "description": "Tzip12", "keywords": [ "tezos", @@ -63,9 +63,9 @@ ] }, "dependencies": { - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip16": "^16.0.0" + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip16": "^16.0.1" }, "devDependencies": { "@types/bluebird": "^3.5.36", diff --git a/packages/taquito-tzip12/src/version.ts b/packages/taquito-tzip12/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-tzip12/src/version.ts +++ b/packages/taquito-tzip12/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-tzip16/package.json b/packages/taquito-tzip16/package.json index 0e22dd2c17..3af79c9ce2 100644 --- a/packages/taquito-tzip16/package.json +++ b/packages/taquito-tzip16/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/tzip16", - "version": "16.0.0", + "version": "16.0.1", "description": "Tzip16", "keywords": [ "tezos", @@ -62,11 +62,11 @@ ] }, "dependencies": { - "@taquito/http-utils": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/http-utils": "^16.0.1", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "crypto-js": "^4.1.1" }, diff --git a/packages/taquito-tzip16/src/version.ts b/packages/taquito-tzip16/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-tzip16/src/version.ts +++ b/packages/taquito-tzip16/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-utils/package.json b/packages/taquito-utils/package.json index c7398650c4..db750e0af8 100644 --- a/packages/taquito-utils/package.json +++ b/packages/taquito-utils/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/utils", - "version": "16.0.0", + "version": "16.0.1", "description": "converts michelson data and types into convenient JS/TS objects", "keywords": [ "tezos", diff --git a/packages/taquito-utils/src/validators.ts b/packages/taquito-utils/src/validators.ts index d423d97533..90d1db0bda 100644 --- a/packages/taquito-utils/src/validators.ts +++ b/packages/taquito-utils/src/validators.ts @@ -38,10 +38,14 @@ function validatePrefixedValue(value: string, prefixes: Prefix[]) { return ValidationResult.NO_PREFIX_MATCHED; } - // Remove annotation from contract address before doing the validation - const contractAddress = /^(KT1\w{33})(%(.*))?/.exec(value); - if (contractAddress) { - value = contractAddress[1]; + // Check whether annotation exist before starting validation + if (value.includes('%')) { + value = value.split('%')[0]; + } + + const kt1Regex = /^(KT1\w{33})$/; + if (!kt1Regex.test(value) && prefixKey === 'KT1') { + return ValidationResult.INVALID_CHECKSUM; } // decodeUnsafe return undefined if decoding fail diff --git a/packages/taquito-utils/src/version.ts b/packages/taquito-utils/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito-utils/src/version.ts +++ b/packages/taquito-utils/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/packages/taquito-utils/test/validators.spec.ts b/packages/taquito-utils/test/validators.spec.ts index cad599e9e9..a37c84e0cb 100644 --- a/packages/taquito-utils/test/validators.spec.ts +++ b/packages/taquito-utils/test/validators.spec.ts @@ -36,6 +36,9 @@ describe('validateAddress', () => { expect(validateAddress('tz4')).toEqual(ValidationResult.INVALID_CHECKSUM); expect(validateAddress('test')).toEqual(ValidationResult.NO_PREFIX_MATCHED); expect(validateAddress('')).toEqual(ValidationResult.NO_PREFIX_MATCHED); + expect(validateAddress('tz2TSvNTh2epDMhZHrw73nV9piBX7kLZ9K9mAAAAAAAAAA')).toEqual( + ValidationResult.INVALID_CHECKSUM + ); }); }); @@ -88,6 +91,12 @@ describe('validateContractAddress', () => { expect(validateContractAddress('txr1YNMEtkj5Vkqsbdmt7xaxBTMRZjzS96UAu')).toEqual( ValidationResult.INVALID_CHECKSUM ); + expect( + validateContractAddress('KT1Fe71jyjrxFg9ZrYqtvaX7uQjcLo7svE4Dasdasdasdasdadasd') + ).toEqual(ValidationResult.INVALID_CHECKSUM); + expect(validateContractAddress('KT1Fe71jyjrxFg9ZrYqtvaX7uQ')).toEqual( + ValidationResult.INVALID_CHECKSUM + ); }); }); diff --git a/packages/taquito/README.md b/packages/taquito/README.md index e305ac5501..4b425b19fb 100644 --- a/packages/taquito/README.md +++ b/packages/taquito/README.md @@ -7,8 +7,8 @@ The `@taquito/taquito` package contains higher-level functionality that builds u ## CDN Bundle ```html - + ``` ## General Information diff --git a/packages/taquito/manifest.json b/packages/taquito/manifest.json index fe52b40540..779742938f 100644 --- a/packages/taquito/manifest.json +++ b/packages/taquito/manifest.json @@ -1,6 +1,6 @@ { "main.js": { "src": "dist/taquito.min.js", - "integrity": "sha384-lYy8lOXRhGG6aCqDmW902veqll8AO6Rkoxl/6A3USZvI+VCHkSF/C36eye9GErxD" + "integrity": "sha384-0JS4sNRwfPePSJZ/tXGpESZ2uRIMTyK8XiCZUALnQZ7Cc12GOS9h+joCfFqZTZgr" } } \ No newline at end of file diff --git a/packages/taquito/package.json b/packages/taquito/package.json index 8c0bc0db7a..3517fd9aa6 100644 --- a/packages/taquito/package.json +++ b/packages/taquito/package.json @@ -1,6 +1,6 @@ { "name": "@taquito/taquito", - "version": "16.0.0", + "version": "16.0.1", "description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.", "keywords": [ "tezos", @@ -77,12 +77,12 @@ ] }, "dependencies": { - "@taquito/http-utils": "^16.0.0", - "@taquito/local-forging": "^16.0.0", - "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/http-utils": "^16.0.1", + "@taquito/local-forging": "^16.0.1", + "@taquito/michel-codec": "^16.0.1", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/utils": "^16.0.1", "bignumber.js": "^9.1.0", "rxjs": "^6.6.3" }, diff --git a/packages/taquito/src/version.ts b/packages/taquito/src/version.ts index 66209a6625..bbe527b730 100644 --- a/packages/taquito/src/version.ts +++ b/packages/taquito/src/version.ts @@ -1,5 +1,5 @@ // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN! export const VERSION = { - commitHash: '49a724eb9d4947e2aed19bfa1462fa7ae7848add', - version: '16.0.0', + commitHash: 'c050a62135022aa2e61ba6ef72a98f9c89f1682c', + version: '16.0.1', }; diff --git a/website/package.json b/website/package.json index 58962241c7..5a7f7960d3 100644 --- a/website/package.json +++ b/website/package.json @@ -28,19 +28,19 @@ "@ledgerhq/hw-transport-webhid": "^6.27.3", "@mdx-js/react": "^1.6.21", "@svgr/webpack": "^6.4.0", - "@taquito/beacon-wallet": "^16.0.0", - "@taquito/http-utils": "^16.0.0", - "@taquito/ledger-signer": "^16.0.0", - "@taquito/michel-codec": "^16.0.0", - "@taquito/michelson-encoder": "^16.0.0", - "@taquito/remote-signer": "^16.0.0", - "@taquito/rpc": "^16.0.0", - "@taquito/sapling": "^16.0.0", - "@taquito/signer": "^16.0.0", - "@taquito/taquito": "^16.0.0", - "@taquito/tzip12": "^16.0.0", - "@taquito/tzip16": "^16.0.0", - "@taquito/utils": "^16.0.0", + "@taquito/beacon-wallet": "^16.0.1", + "@taquito/http-utils": "^16.0.1", + "@taquito/ledger-signer": "^16.0.1", + "@taquito/michel-codec": "^16.0.1", + "@taquito/michelson-encoder": "^16.0.1", + "@taquito/remote-signer": "^16.0.1", + "@taquito/rpc": "^16.0.1", + "@taquito/sapling": "^16.0.1", + "@taquito/signer": "^16.0.1", + "@taquito/taquito": "^16.0.1", + "@taquito/tzip12": "^16.0.1", + "@taquito/tzip16": "^16.0.1", + "@taquito/utils": "^16.0.1", "abort-controller": "^3.0.0", "algoliasearch": "^4.14.2", "axios": "^0.26.0", @@ -86,5 +86,5 @@ "last 1 safari version" ] }, - "version": "16.0.0" + "version": "16.0.1" }