difftreelog
Merge pull request #936 from UniqueNetwork/build/941056
in: master
9 files changed
.envdiffbeforeafterboth--- a/.env
+++ b/.env
@@ -5,25 +5,25 @@
POLKADOT_MAINNET_BRANCH=release-v0.9.37
STATEMINT_BUILD_BRANCH=release-parachains-v9370
-ACALA_BUILD_BRANCH=2.12.0
-MOONBEAM_BUILD_BRANCH=runtime-2201
-ASTAR_BUILD_BRANCH=v5.3.0
-UNIQUE_MAINNET_BRANCH=release-v937053
+ACALA_BUILD_BRANCH=2.17.0
+MOONBEAM_BUILD_BRANCH=runtime-2302
+ASTAR_BUILD_BRANCH=v5.4.0
+UNIQUE_MAINNET_BRANCH=release-v941055
UNIQUE_REPLICA_FROM=wss://ws.unique.network:443
KUSAMA_MAINNET_BRANCH=release-v0.9.38
STATEMINE_BUILD_BRANCH=release-parachains-v9382
-KARURA_BUILD_BRANCH=release-karura-2.15.0
-MOONRIVER_BUILD_BRANCH=runtime-2201
-SHIDEN_BUILD_BRANCH=v4.49.0
-QUARTZ_MAINNET_BRANCH=release-v937053
+KARURA_BUILD_BRANCH=release-karura-2.17.0
+MOONRIVER_BUILD_BRANCH=runtime-2302
+SHIDEN_BUILD_BRANCH=v5.4.0
+QUARTZ_MAINNET_BRANCH=release-v941055
QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443
-UNIQUEWEST_MAINNET_BRANCH=release-v0.9.40
-WESTMINT_BUILD_BRANCH=parachains-v9400
-OPAL_MAINNET_BRANCH=release-v937053
+UNIQUEWEST_MAINNET_BRANCH=release-v0.9.42
+WESTMINT_BUILD_BRANCH=parachains-v9420
+OPAL_MAINNET_BRANCH=release-v941055
OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443
-UNIQUEEAST_MAINNET_BRANCH=release-v0.9.32
-SAPPHIRE_MAINNET_BRANCH=release-v937053
+UNIQUEEAST_MAINNET_BRANCH=release-v0.9.42
+SAPPHIRE_MAINNET_BRANCH=release-v941055
SAPPHIRE_REPLICA_FROM=wss://ws-sapphire.unique.network:443
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@
```
git clone https://github.com/paritytech/polkadot.git
cd polkadot
-git checkout release-v0.9.39
+git checkout release-v0.9.41
cargo build --release
```
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -51,7 +51,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 941055,
+ spec_version: 941056,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -54,7 +54,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 941055,
+ spec_version: 941056,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -51,7 +51,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 941055,
+ spec_version: 941056,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
tests/package.jsondiffbeforeafterboth1{2 "name": "unique-tests",3 "version": "1.0.0",4 "description": "Unique Chain Tests",5 "main": "",6 "devDependencies": {7 "@polkadot/typegen": "10.2.1",8 "@types/chai": "^4.3.3",9 "@types/chai-as-promised": "^7.1.5",10 "@types/chai-like": "^1.1.1",11 "@types/chai-subset": "^1.3.3",12 "@types/mocha": "^10.0.0",13 "@types/node": "^18.11.2",14 "@typescript-eslint/eslint-plugin": "^5.47.0",15 "@typescript-eslint/parser": "^5.47.0",16 "chai": "^4.3.6",17 "chai-subset": "^1.6.0",18 "eslint": "^8.25.0",19 "eslint-plugin-mocha": "^10.1.0",20 "mocha": "^10.1.0",21 "ts-node": "^10.9.1",22 "typescript": "^4.8.4"23 },24 "mocha": {25 "timeout": 9999999,26 "require": [27 "ts-node/register"28 ]29 },30 "scripts": {31 "lint": "eslint --ext .ts,.js src/",32 "fix": "yarn lint --fix",33 "setup": "ts-node --esm ./src/util/globalSetup.ts",34 "setIdentities": "ts-node ./src/util/identitySetter.ts",35 "checkRelayIdentities": "ts-node ./src/util/relayIdentitiesChecker.ts",36 "_test": "yarn setup && mocha --timeout 9999999 --loader=ts-node/esm.mjs",37 "_testParallel": "yarn setup && mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",38 "test": "yarn _test './src/**/*.*test.ts'",39 "testParallelFull": "yarn testParallel && yarn testSequential",40 "testParallel": "yarn _testParallel './src/**/*.test.ts'",41 "testSequential": "yarn _test './src/**/*.seqtest.ts'",42 "testStructure": "yarn setup && yarn _test ./**/nesting/*.*test.ts",43 "testEth": "yarn setup && yarn _test './**/eth/**/*.*test.ts'",44 "testEthNesting": "yarn setup && yarn _test './**/eth/nesting/**/*.*test.ts'",45 "testEthFractionalizer": "yarn setup && yarn _test './**/eth/fractionalizer/**/*.*test.ts'",46 "testEthMarketplace": "yarn setup && yarn _test './**/eth/marketplace/**/*.*test.ts'",47 "testEvent": "yarn setup && yarn _test ./src/check-event/*.*test.ts",48 "testEthPayable": "yarn _test './**/eth/payable.test.ts'",49 "testEvmCoder": "yarn _test './**/eth/evmCoder.test.ts'",50 "testNesting": "yarn _test ./**/nest.test.ts",51 "testUnnesting": "yarn _test ./**/unnest.test.ts",52 "testProperties": "yarn _test ./**/collectionProperties.*test.ts ./**/tokenProperties.*test.ts ./**/getPropertiesRpc.test.ts",53 "testCollectionProperties": "yarn _test ./**/collectionProperties.*test.ts",54 "testTokenProperties": "yarn _test ./**/tokenProperties.*test.ts",55 "testMigration": "yarn _test ./**/nesting/migration-check.test.ts",56 "testAddCollectionAdmin": "yarn _test ./**/addCollectionAdmin.test.ts",57 "testSetCollectionLimits": "yarn _test ./**/setCollectionLimits.test.ts",58 "testChangeCollectionOwner": "yarn _test ./**/change-collection-owner.test.ts",59 "testSetCollectionSponsor": "yarn _test ./**/setCollectionSponsor.test.ts",60 "testConfirmSponsorship": "yarn _test ./**/confirmSponsorship.test.ts",61 "testRemoveCollectionAdmin": "yarn _test ./**/removeCollectionAdmin.test.ts",62 "testRemoveCollectionSponsor": "yarn _test ./**/removeCollectionSponsor.test.ts",63 "testAllowLists": "yarn _test ./**/allowLists.test.ts",64 "testConnection": "yarn _test ./**/connection.test.ts",65 "testContracts": "yarn _test ./**/contracts.test.ts",66 "testCreateItem": "yarn _test ./**/createItem.test.ts",67 "testCreateMultipleItems": "yarn _test ./**/createMultipleItems.test.ts",68 "testCreateMultipleItemsEx": "yarn _test ./**/createMultipleItemsEx.test.ts",69 "testApprove": "yarn _test ./**/approve.test.ts",70 "testTransferFrom": "yarn _test ./**/transferFrom.test.ts",71 "testCreateCollection": "yarn _test ./**/createCollection.test.ts",72 "testDestroyCollection": "yarn _test ./**/destroyCollection.test.ts",73 "testToggleContractAllowList": "yarn _test ./**/toggleContractAllowList.test.ts",74 "testAddToContractAllowList": "yarn _test ./**/addToContractAllowList.test.ts",75 "testTransfer": "yarn _test ./**/transfer.test.ts",76 "testBurnItem": "yarn _test ./**/burnItem.test.ts",77 "testAdminTransferAndBurn": "yarn _test ./**/adminTransferAndBurn.test.ts",78 "testSetPermissions": "yarn _test ./**/setPermissions.test.ts",79 "testCreditFeesToTreasury": "yarn _test ./**/creditFeesToTreasury.seqtest.ts",80 "testContractSponsoring": "yarn _test ./**/eth/contractSponsoring.test.ts",81 "testEnableContractSponsoring": "yarn _test ./**/enableContractSponsoring.test.ts",82 "testRemoveFromContractAllowList": "yarn _test ./**/removeFromContractAllowList.test.ts",83 "testSetContractSponsoringRateLimit": "yarn _test ./**/setContractSponsoringRateLimit.test.ts",84 "testSetOffchainSchema": "yarn _test ./**/setOffchainSchema.test.ts",85 "testNextSponsoring": "yarn _test ./**/nextSponsoring.test.ts",86 "testOverflow": "yarn _test ./**/overflow.test.ts",87 "testMaintenance": "yarn _test ./**/maintenance.seqtest.ts",88 "testInflation": "yarn _test ./**/inflation.seqtest.ts",89 "testScheduler": "yarn _test ./**/scheduler.seqtest.ts",90 "testSchedulingEVM": "yarn _test ./**/eth/scheduling.test.ts",91 "testPalletPresence": "yarn _test ./**/pallet-presence.test.ts",92 "testEnableDisableTransfers": "yarn _test ./**/enableDisableTransfer.test.ts",93 "testLimits": "yarn _test ./**/limits.test.ts",94 "testEthCreateNFTCollection": "yarn _test ./**/eth/createNFTCollection.test.ts",95 "testEthCreateRFTCollection": "yarn _test ./**/eth/createRFTCollection.test.ts",96 "testEthNFT": "yarn _test ./**/eth/nonFungible.test.ts",97 "testRFT": "yarn _test ./**/refungible.test.ts",98 "testEthRFT": "yarn _test ./**/eth/reFungible.test.ts ./**/eth/reFungibleToken.test.ts",99 "testFT": "yarn _test ./**/fungible.test.ts",100 "testEthFT": "yarn _test ./**/eth/fungible.test.ts",101 "testRPC": "yarn _test ./**/rpc.test.ts",102 "testPromotion": "yarn _test ./**/appPromotion/*test.ts",103 "testApiConsts": "yarn _test ./**/apiConsts.test.ts",104 "testCollators": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collator-selection/**.*test.ts --timeout 49999999",105 "testCollatorSelection": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collatorSelection.*test.ts --timeout 49999999",106 "testIdentity": "RUN_COLLATOR_TESTS=1 yarn _test ./**/identity.*test.ts --timeout 49999999",107 "testXcmUnique": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmUnique.test.ts",108 "testXcmQuartz": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmQuartz.test.ts",109 "testXcmOpal": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmOpal.test.ts",110 "testXcmTransferAcala": "yarn _test ./**/xcm/xcmTransferAcala.test.ts acalaId=2000 uniqueId=5000",111 "testXcmTransferStatemine": "yarn _test ./**/xcm/xcmTransferStatemine.test.ts statemineId=1000 uniqueId=5000",112 "testXcmTransferMoonbeam": "yarn _test ./**/xcm/xcmTransferMoonbeam.test.ts",113 "benchMintingFee": "ts-node src/benchmarks/mintFee/benchmark.ts",114 "load": "yarn _test './**/*.load.ts'",115 "loadTransfer": "ts-node src/transfer.nload.ts",116 "polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",117 "polkadot-types-from-defs": "ts-node --esm ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",118 "polkadot-types-from-chain": "ts-node --esm ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",119 "polkadot-types": "echo \"export default {}\" > src/interfaces/lookup.ts && yarn polkadot-types-fetch-metadata && yarn polkadot-types-from-defs && yarn polkadot-types-from-defs && yarn polkadot-types-from-chain"120 },121 "author": "",122 "license": "SEE LICENSE IN ../LICENSE",123 "homepage": "",124 "dependencies": {125 "@polkadot/api": "10.2.1",126 "@polkadot/util": "11.1.2",127 "@polkadot/util-crypto": "11.1.2",128 "chai-as-promised": "^7.1.1",129 "chai-like": "^1.1.1",130 "csv-writer": "^1.6.0",131 "find-process": "^1.4.7",132 "solc": "0.8.17",133 "web3": "1.8.2"134 },135 "resolutions": {136 "decode-uri-component": "^0.2.1"137 },138 "type": "module"139}1{2 "name": "unique-tests",3 "version": "1.0.0",4 "description": "Unique Chain Tests",5 "main": "",6 "devDependencies": {7 "@polkadot/typegen": "10.2.1",8 "@types/chai": "^4.3.3",9 "@types/chai-as-promised": "^7.1.5",10 "@types/chai-like": "^1.1.1",11 "@types/chai-subset": "^1.3.3",12 "@types/mocha": "^10.0.0",13 "@types/node": "^18.11.2",14 "@typescript-eslint/eslint-plugin": "^5.47.0",15 "@typescript-eslint/parser": "^5.47.0",16 "chai": "^4.3.6",17 "chai-subset": "^1.6.0",18 "eslint": "^8.25.0",19 "eslint-plugin-mocha": "^10.1.0",20 "mocha": "^10.1.0",21 "ts-node": "^10.9.1",22 "typescript": "^4.8.4"23 },24 "mocha": {25 "timeout": 9999999,26 "require": [27 "ts-node/register"28 ]29 },30 "scripts": {31 "lint": "eslint --ext .ts,.js src/",32 "fix": "yarn lint --fix",33 "setup": "ts-node --esm ./src/util/globalSetup.ts",34 "setIdentities": "ts-node ./src/util/identitySetter.ts",35 "checkRelayIdentities": "ts-node ./src/util/relayIdentitiesChecker.ts",36 "_test": "yarn setup && mocha --timeout 9999999 --loader=ts-node/esm.mjs",37 "_testParallel": "yarn setup && mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",38 "test": "yarn _test './src/**/*.*test.ts'",39 "testParallelFull": "yarn testParallel && yarn testSequential",40 "testParallel": "yarn _testParallel './src/**/*.test.ts'",41 "testSequential": "yarn _test './src/**/*.seqtest.ts'",42 "testStructure": "yarn setup && yarn _test ./**/nesting/*.*test.ts",43 "testEth": "yarn setup && yarn _test './**/eth/**/*.*test.ts'",44 "testEthNesting": "yarn setup && yarn _test './**/eth/nesting/**/*.*test.ts'",45 "testEthFractionalizer": "yarn setup && yarn _test './**/eth/fractionalizer/**/*.*test.ts'",46 "testEthMarketplace": "yarn setup && yarn _test './**/eth/marketplace/**/*.*test.ts'",47 "testEvent": "yarn setup && yarn _test ./src/check-event/*.*test.ts",48 "testEthPayable": "yarn _test './**/eth/payable.test.ts'",49 "testEvmCoder": "yarn _test './**/eth/evmCoder.test.ts'",50 "testNesting": "yarn _test ./**/nest.test.ts",51 "testUnnesting": "yarn _test ./**/unnest.test.ts",52 "testProperties": "yarn _test ./**/collectionProperties.*test.ts ./**/tokenProperties.*test.ts ./**/getPropertiesRpc.test.ts",53 "testCollectionProperties": "yarn _test ./**/collectionProperties.*test.ts",54 "testTokenProperties": "yarn _test ./**/tokenProperties.*test.ts",55 "testMigration": "yarn _test ./**/nesting/migration-check.test.ts",56 "testAddCollectionAdmin": "yarn _test ./**/addCollectionAdmin.test.ts",57 "testSetCollectionLimits": "yarn _test ./**/setCollectionLimits.test.ts",58 "testChangeCollectionOwner": "yarn _test ./**/change-collection-owner.test.ts",59 "testSetCollectionSponsor": "yarn _test ./**/setCollectionSponsor.test.ts",60 "testConfirmSponsorship": "yarn _test ./**/confirmSponsorship.test.ts",61 "testRemoveCollectionAdmin": "yarn _test ./**/removeCollectionAdmin.test.ts",62 "testRemoveCollectionSponsor": "yarn _test ./**/removeCollectionSponsor.test.ts",63 "testAllowLists": "yarn _test ./**/allowLists.test.ts",64 "testConnection": "yarn _test ./**/connection.test.ts",65 "testContracts": "yarn _test ./**/contracts.test.ts",66 "testCreateItem": "yarn _test ./**/createItem.test.ts",67 "testCreateMultipleItems": "yarn _test ./**/createMultipleItems.test.ts",68 "testCreateMultipleItemsEx": "yarn _test ./**/createMultipleItemsEx.test.ts",69 "testApprove": "yarn _test ./**/approve.test.ts",70 "testTransferFrom": "yarn _test ./**/transferFrom.test.ts",71 "testCreateCollection": "yarn _test ./**/createCollection.test.ts",72 "testDestroyCollection": "yarn _test ./**/destroyCollection.test.ts",73 "testToggleContractAllowList": "yarn _test ./**/toggleContractAllowList.test.ts",74 "testAddToContractAllowList": "yarn _test ./**/addToContractAllowList.test.ts",75 "testTransfer": "yarn _test ./**/transfer.test.ts",76 "testBurnItem": "yarn _test ./**/burnItem.test.ts",77 "testAdminTransferAndBurn": "yarn _test ./**/adminTransferAndBurn.test.ts",78 "testSetPermissions": "yarn _test ./**/setPermissions.test.ts",79 "testCreditFeesToTreasury": "yarn _test ./**/creditFeesToTreasury.seqtest.ts",80 "testContractSponsoring": "yarn _test ./**/eth/contractSponsoring.test.ts",81 "testEnableContractSponsoring": "yarn _test ./**/enableContractSponsoring.test.ts",82 "testRemoveFromContractAllowList": "yarn _test ./**/removeFromContractAllowList.test.ts",83 "testSetContractSponsoringRateLimit": "yarn _test ./**/setContractSponsoringRateLimit.test.ts",84 "testSetOffchainSchema": "yarn _test ./**/setOffchainSchema.test.ts",85 "testNextSponsoring": "yarn _test ./**/nextSponsoring.test.ts",86 "testOverflow": "yarn _test ./**/overflow.test.ts",87 "testMaintenance": "yarn _test ./**/maintenance.seqtest.ts",88 "testInflation": "yarn _test ./**/inflation.seqtest.ts",89 "testScheduler": "yarn _test ./**/scheduler.seqtest.ts",90 "testSchedulingEVM": "yarn _test ./**/eth/scheduling.test.ts",91 "testPalletPresence": "yarn _test ./**/pallet-presence.test.ts",92 "testEnableDisableTransfers": "yarn _test ./**/enableDisableTransfer.test.ts",93 "testLimits": "yarn _test ./**/limits.test.ts",94 "testEthCreateNFTCollection": "yarn _test ./**/eth/createNFTCollection.test.ts",95 "testEthCreateRFTCollection": "yarn _test ./**/eth/createRFTCollection.test.ts",96 "testEthNFT": "yarn _test ./**/eth/nonFungible.test.ts",97 "testRFT": "yarn _test ./**/refungible.test.ts",98 "testEthRFT": "yarn _test ./**/eth/reFungible.test.ts ./**/eth/reFungibleToken.test.ts",99 "testFT": "yarn _test ./**/fungible.test.ts",100 "testEthFT": "yarn _test ./**/eth/fungible.test.ts",101 "testRPC": "yarn _test ./**/rpc.test.ts",102 "testPromotion": "yarn _test ./**/appPromotion/*test.ts",103 "testApiConsts": "yarn _test ./**/apiConsts.test.ts",104 "testCollators": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collator-selection/**.*test.ts --timeout 49999999",105 "testCollatorSelection": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collatorSelection.*test.ts --timeout 49999999",106 "testIdentity": "RUN_COLLATOR_TESTS=1 yarn _test ./**/identity.*test.ts --timeout 49999999",107 "testXcmUnique": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmUnique.test.ts",108 "testXcmQuartz": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmQuartz.test.ts",109 "testXcmOpal": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmOpal.test.ts",110 "testXcmTransferAcala": "yarn _test ./**/xcm/xcmTransferAcala.test.ts acalaId=2000 uniqueId=5000",111 "testXcmTransferStatemine": "yarn _test ./**/xcm/xcmTransferStatemine.test.ts statemineId=1000 uniqueId=5000",112 "testXcmTransferMoonbeam": "yarn _test ./**/xcm/xcmTransferMoonbeam.test.ts",113 "benchMintingFee": "ts-node src/benchmarks/mintFee/benchmark.ts",114 "load": "yarn _test './**/*.load.ts'",115 "loadTransfer": "ts-node src/transfer.nload.ts",116 "polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",117 "polkadot-types-from-defs": "ts-node --esm ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",118 "polkadot-types-from-chain": "ts-node --esm ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",119 "polkadot-types": "echo \"export default {}\" > src/interfaces/lookup.ts && yarn polkadot-types-fetch-metadata && yarn polkadot-types-from-defs && yarn polkadot-types-from-defs && yarn polkadot-types-from-chain",120 "generateEnv": "ts-node --esm ./src/generateEnv.ts"121 },122 "author": "",123 "license": "SEE LICENSE IN ../LICENSE",124 "homepage": "",125 "dependencies": {126 "@polkadot/api": "10.2.1",127 "@polkadot/util": "11.1.2",128 "@polkadot/util-crypto": "11.1.2",129 "chai-as-promised": "^7.1.1",130 "chai-like": "^1.1.1",131 "csv-writer": "^1.6.0",132 "find-process": "^1.4.7",133 "solc": "0.8.17",134 "web3": "1.8.2"135 },136 "resolutions": {137 "decode-uri-component": "^0.2.1"138 },139 "type": "module"140}tests/src/generateEnv.tsdiffbeforeafterboth--- a/tests/src/generateEnv.ts
+++ b/tests/src/generateEnv.ts
@@ -62,12 +62,14 @@
ff('wss://rpc.astar.network/', /^(.+)$/, (_, r) => {
switch (r) {
case '55': return 'v5.3.0';
+ case '57': return 'v5.4.0';
default: throw new Error('unknown astar branch for runtime ' + r);
}
}).then(v => env = setVar(env, 'ASTAR_BUILD_BRANCH', v)),
ff('wss://shiden.api.onfinality.io/public-ws', /^(.+)$/, (_, r) => {
switch (r) {
case '90': return 'v4.49.0';
+ case '96': return 'v5.4.0';
default: throw new Error('unknown shiden branch for runtime ' + r);
}
}).then(v => env = setVar(env, 'SHIDEN_BUILD_BRANCH', v)),
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth--- a/tests/src/xcm/xcmQuartz.test.ts
+++ b/tests/src/xcm/xcmQuartz.test.ts
@@ -803,6 +803,7 @@
let quartzParachainMultilocation: any;
let quartzAccountMultilocation: any;
let quartzCombinedMultilocation: any;
+ let quartzCombinedMultilocationKarura: any; // TODO remove it when Karura goes V2
let messageSent: any;
@@ -821,7 +822,7 @@
};
quartzParachainMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: quartzParachainJunction,
@@ -830,7 +831,7 @@
};
quartzAccountMultilocation = {
- V1: {
+ V2: {
parents: 0,
interior: {
X1: quartzAccountJunction,
@@ -839,6 +840,15 @@
};
quartzCombinedMultilocation = {
+ V2: {
+ parents: 1,
+ interior: {
+ X2: [quartzParachainJunction, quartzAccountJunction],
+ },
+ },
+ };
+
+ quartzCombinedMultilocationKarura = {
V1: {
parents: 1,
interior: {
@@ -869,7 +879,7 @@
const id = {
Token: 'KAR',
};
- const destination = quartzCombinedMultilocation;
+ const destination = quartzCombinedMultilocationKarura;
await helper.xTokens.transfer(alice, id, testAmount, destination, 'Unlimited');
messageSent = await helper.wait.expectEvent(maxWaitBlocks, Event.XcmpQueue.XcmpMessageSent);
@@ -895,7 +905,7 @@
const destinationParachain = quartzParachainMultilocation;
const beneficiary = quartzAccountMultilocation;
const assets = {
- V1: [{
+ V2: [{
id: {
Concrete: {
parents: 0,
@@ -1069,7 +1079,7 @@
itSub('Should connect to Moonriver and send QTZ back', async ({helper}) => {
await usingMoonriverPlaygrounds(moonriverUrl, async (helper) => {
const asset = {
- V1: {
+ V2: {
id: {
Concrete: {
parents: 1,
@@ -1084,7 +1094,7 @@
},
};
const destination = {
- V1: {
+ V2: {
parents: 1,
interior: {
X2: [
@@ -1139,7 +1149,7 @@
const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);
const quartzMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {Parachain: QUARTZ_CHAIN},
@@ -1212,7 +1222,7 @@
const [targetAccount] = await helper.arrange.createAccounts([0n], alice);
const quartzMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1341,7 +1351,7 @@
console.log('2. Register asset location on Shiden');
const assetLocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1433,7 +1443,7 @@
itSub('Should connect to Shiden and send QTZ back', async ({helper}) => {
await usingShidenPlaygrounds(shidenUrl, async (helper) => {
const destination = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1444,7 +1454,7 @@
};
const beneficiary = {
- V1: {
+ V2: {
parents: 0,
interior: {
X1: {
@@ -1458,7 +1468,7 @@
};
const assets = {
- V1: [
+ V2: [
{
id: {
Concrete: {
@@ -1515,7 +1525,7 @@
const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);
const quartzMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {Parachain: QUARTZ_CHAIN},
@@ -1580,7 +1590,7 @@
const [targetAccount] = await helper.arrange.createAccounts([0n], alice);
const quartzMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
tests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth--- a/tests/src/xcm/xcmUnique.test.ts
+++ b/tests/src/xcm/xcmUnique.test.ts
@@ -805,6 +805,7 @@
let uniqueParachainMultilocation: any;
let uniqueAccountMultilocation: any;
let uniqueCombinedMultilocation: any;
+ let uniqueCombinedMultilocationAcala: any; // TODO remove when Acala goes V2
let messageSent: any;
@@ -823,7 +824,7 @@
};
uniqueParachainMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: uniqueParachainJunction,
@@ -832,7 +833,7 @@
};
uniqueAccountMultilocation = {
- V1: {
+ V2: {
parents: 0,
interior: {
X1: uniqueAccountJunction,
@@ -841,6 +842,15 @@
};
uniqueCombinedMultilocation = {
+ V2: {
+ parents: 1,
+ interior: {
+ X2: [uniqueParachainJunction, uniqueAccountJunction],
+ },
+ },
+ };
+
+ uniqueCombinedMultilocationAcala = {
V1: {
parents: 1,
interior: {
@@ -871,7 +881,7 @@
const id = {
Token: 'ACA',
};
- const destination = uniqueCombinedMultilocation;
+ const destination = uniqueCombinedMultilocationAcala;
await helper.xTokens.transfer(alice, id, testAmount, destination, 'Unlimited');
messageSent = await helper.wait.expectEvent(maxWaitBlocks, Event.XcmpQueue.XcmpMessageSent);
@@ -897,7 +907,7 @@
const destinationParachain = uniqueParachainMultilocation;
const beneficiary = uniqueAccountMultilocation;
const assets = {
- V1: [{
+ V2: [{
id: {
Concrete: {
parents: 0,
@@ -1072,7 +1082,7 @@
itSub('Should connect to Moonbeam and send UNQ back', async ({helper}) => {
await usingMoonbeamPlaygrounds(moonbeamUrl, async (helper) => {
const asset = {
- V1: {
+ V2: {
id: {
Concrete: {
parents: 1,
@@ -1087,7 +1097,7 @@
},
};
const destination = {
- V1: {
+ V2: {
parents: 1,
interior: {
X2: [
@@ -1142,7 +1152,7 @@
const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);
const uniqueMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {Parachain: UNIQUE_CHAIN},
@@ -1215,7 +1225,7 @@
const [targetAccount] = await helper.arrange.createAccounts([0n], alice);
const uniqueMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1344,7 +1354,7 @@
console.log('2. Register asset location on Astar');
const assetLocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1436,7 +1446,7 @@
itSub('Should connect to Astar and send UNQ back', async ({helper}) => {
await usingAstarPlaygrounds(astarUrl, async (helper) => {
const destination = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1447,7 +1457,7 @@
};
const beneficiary = {
- V1: {
+ V2: {
parents: 0,
interior: {
X1: {
@@ -1461,7 +1471,7 @@
};
const assets = {
- V1: [
+ V2: [
{
id: {
Concrete: {
@@ -1517,7 +1527,7 @@
const [targetAccount] = await helper.arrange.createAccounts([targetAccountBalance], alice);
const uniqueMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {Parachain: UNIQUE_CHAIN},
@@ -1582,7 +1592,7 @@
const [targetAccount] = await helper.arrange.createAccounts([0n], alice);
const uniqueMultilocation = {
- V1: {
+ V2: {
parents: 1,
interior: {
X1: {
@@ -1652,5 +1662,4 @@
accountBalance = await helper.balance.getSubstrate(targetAccount.address);
expect(accountBalance).to.be.equal(0n);
});
-
});