difftreelog
Merge pull request #660 from UniqueNetwork/fix/merge-929030
in: master
Fix/merge 929030
15 files changed
.docker/Dockerfile-try-runtimediffbeforeafterboth--- a/.docker/Dockerfile-try-runtime
+++ b/.docker/Dockerfile-try-runtime
@@ -46,5 +46,4 @@
echo "Fork from: $REPLICA_FROM\n" && \
cargo build --features=$FEATURE --release
-
-CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $REPLICA_FROM
+CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime --no-spec-name-check on-runtime-upgrade live --uri $REPLICA_FROM
.envdiffbeforeafterboth--- a/.env
+++ b/.env
@@ -5,7 +5,7 @@
UNIQUE_MAINNET_TAG=v924010
KUSAMA_MAINNET_BRANCH=release-v0.9.26
-QUARTZ_MAINNET_TAG=quartz-v924012-2
+QUARTZ_MAINNET_TAG=quartz-v924012-2-opal-runtime-feature
UNQWND_MAINNET_BRANCH=release-v0.9.24
.github/workflows/market-test_v2.ymldiffbeforeafterboth--- a/.github/workflows/market-test_v2.yml
+++ b/.github/workflows/market-test_v2.yml
@@ -10,8 +10,8 @@
market_test:
# The type of runner that the job will run on
- runs-on: [self-hosted-ci,large]
- timeout-minutes: 1380
+ runs-on: [self-hosted-ci,medium]
+ timeout-minutes: 180
name: ${{ matrix.network }}
@@ -91,12 +91,20 @@
rm -rf .env
cp .env.docker .env
+# Temporary disable node readyness check. Have to dig into the script logic.
+# - name: Wait for chain up and running
+# working-directory: tests
+# run: |
+# yarn install
+# node scripts/readyness.js
+# echo "Ready to start tests"
+# env:
+# RPC_URL: http://127.0.0.1:9933/
+
- name: Wait for chain up and running
- working-directory: tests
run: |
- yarn install
- node scripts/readyness.js
- echo "Ready to start tests"
+ sleep 1200s
+ echo "Ready to start Market e2e tests"
- name: Show content of .env file and Generate accounts
working-directory: qa-tests
@@ -184,7 +192,6 @@
- name: Clean Workspace
if: always()
uses: AutoModality/action-clean@v1.1.0
-
.github/workflows/node-only-update_v2.ymldiffbeforeafterboth--- a/.github/workflows/node-only-update_v2.yml
+++ b/.github/workflows/node-only-update_v2.yml
@@ -49,7 +49,7 @@
- timeout-minutes: 1380
+ timeout-minutes: 2880
name: ${{ matrix.network }}
@@ -170,7 +170,7 @@
yarn add mochawesome
echo "Ready to start tests"
yarn polkadot-types
- NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
+ NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-before-${NOW}
env:
RPC_URL: http://127.0.0.1:9933/
@@ -180,20 +180,35 @@
if: success() || failure() # run this step even if previous step failed
with:
name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created
- path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results
+ path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results
reporter: mochawesome-json
fail-on-error: 'false'
- - name: Send SIGUSR1 to polkadotlaunch process
+ - name: Send SIGUSR1 to polkadot-launch process
if: success() || failure()
run: |
- #Get PID of polkadot-launch
+ ContainerID=$(docker ps -aqf "name=node-parachain")
PID=$(docker exec node-parachain pidof 'polkadot-launch')
- echo "Polkadot-launch PID: $PID"
- #Send SIGUSR1 signal to $PID
+ sleep 30s
+ echo -e "Show logs of node-parachain container.\n"
+ docker logs ${ContainerID}
+ echo -e "\n"
+ echo -e "Restart polkadot-launch process: $PID\n"
docker exec node-parachain kill -SIGUSR1 ${PID}
+ echo -e "SIGUSR1 sent to Polkadot-launch PID: $PID\n"
+ echo -e "Get node-parachain logs:\n"
+ docker logs -t -n 5 ${ContainerID}
+
+ - name: Get chain logs
+ if: failure() # run this step only at failure
+ run: |
+ docker exec node-parachain cat /polkadot-launch/9944.log
+ docker exec node-parachain cat /polkadot-launch/9945.log
+ docker exec node-parachain cat /polkadot-launch/alice.log
+ docker exec node-parachain cat /polkadot-launch/eve.log
+ docker exec node-parachain cat /polkadot-launch/dave.log
+ docker exec node-parachain cat /polkadot-launch/charlie.log
- # 🌗 All parachain collators restarted with the new binaries.
- name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.
if: success()
run: |
@@ -240,14 +255,14 @@
shell: bash
- name: Run tests after Node Parachain upgrade
- working-directory: tests
+ if: success()
+ working-directory: ${{ matrix.mainnet_branch }}/tests
run: |
yarn install
yarn add mochawesome
- node scripts/readyness.js
echo "Ready to start tests"
yarn polkadot-types
- NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
+ NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-after-${NOW}
env:
RPC_URL: http://127.0.0.1:9933/
@@ -257,7 +272,7 @@
if: success() || failure() # run this step even if previous step failed
with:
name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created
- path: tests/mochawesome-report/test-*.json # Path to test results
+ path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results
reporter: mochawesome-json
fail-on-error: 'false'
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6711,6 +6711,24 @@
]
[[package]]
+name = "pallet-unique-scheduler-v2"
+version = "0.1.0"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-preimage",
+ "parity-scale-codec 3.2.1",
+ "scale-info",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+ "substrate-test-utils",
+]
+
+[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.29#cc370aa61e15c18d23a2f686b812fd576a630afe"
@@ -8576,7 +8594,7 @@
[[package]]
name = "quartz-runtime"
-version = "0.9.27"
+version = "0.9.29"
dependencies = [
"app-promotion-rpc",
"cumulus-pallet-aura-ext",
@@ -12568,7 +12586,7 @@
[[package]]
name = "unique-runtime"
-version = "0.9.27"
+version = "0.9.29"
dependencies = [
"app-promotion-rpc",
"cumulus-pallet-aura-ext",
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -92,7 +92,7 @@
```
git clone https://github.com/paritytech/polkadot.git
cd polkadot
-git checkout release-v0.9.27
+git checkout release-v0.9.29
cargo build --release
```
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -57,8 +57,8 @@
Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
- #[runtimes(opal)]
- Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+ // #[runtimes(opal)]
+ // Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
Configuration: pallet_configuration::{Pallet, Call, Storage} = 63,
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -20,7 +20,10 @@
pub mod ethereum;
pub mod instance;
pub mod runtime_apis;
+
+#[cfg(feature = "scheduler")]
pub mod scheduler;
+
pub mod sponsoring;
pub mod weights;
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -168,7 +168,7 @@
"pallet-foreign-assets/std"
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion', 'foreign-assets']
+opal-runtime = ['refungible', 'rmrk', 'app-promotion', 'foreign-assets']
refungible = []
scheduler = []
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -50,7 +50,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 927030,
+ spec_version: 929030,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -10,7 +10,7 @@
license = 'GPLv3'
name = 'quartz-runtime'
repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.27'
+version = '0.9.29'
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -50,7 +50,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 927030,
+ spec_version: 929030,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
runtime/unique/Cargo.tomldiffbeforeafterboth1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Unique Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'unique-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.27'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std', 'unique-runtime']20runtime-benchmarks = [21 'hex-literal',22 'frame-benchmarking',23 'frame-support/runtime-benchmarks',24 'frame-system-benchmarking',25 'frame-system/runtime-benchmarks',26 'pallet-ethereum/runtime-benchmarks',27 'pallet-evm-migration/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',31 'pallet-common/runtime-benchmarks',32 'pallet-structure/runtime-benchmarks',33 'pallet-fungible/runtime-benchmarks',34 'pallet-refungible/runtime-benchmarks',35 'pallet-nonfungible/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',39 'pallet-foreign-assets/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',41 'pallet-unique-scheduler/runtime-benchmarks',42 'pallet-xcm/runtime-benchmarks',43 'sp-runtime/runtime-benchmarks',44 'xcm-builder/runtime-benchmarks',45 'up-data-structs/runtime-benchmarks',46]47try-runtime = [48 'frame-try-runtime',49 'frame-executive/try-runtime',50 'frame-support/try-runtime',51 'frame-system/try-runtime',52 'cumulus-pallet-parachain-system/try-runtime',53 'parachain-info/try-runtime',54 'pallet-aura/try-runtime',55 'cumulus-pallet-aura-ext/try-runtime',56 'pallet-balances/try-runtime',57 'pallet-randomness-collective-flip/try-runtime',58 'pallet-timestamp/try-runtime',59 'pallet-transaction-payment/try-runtime',60 'pallet-treasury/try-runtime',61 'pallet-sudo/try-runtime',62 'orml-vesting/try-runtime',63 'orml-xtokens/try-runtime',64 'orml-tokens/try-runtime',65 'cumulus-pallet-xcmp-queue/try-runtime',66 'pallet-xcm/try-runtime',67 'cumulus-pallet-xcm/try-runtime',68 'cumulus-pallet-dmp-queue/try-runtime',69 'pallet-inflation/try-runtime',70 'pallet-unique/try-runtime',71 'pallet-unique-scheduler/try-runtime',72 'pallet-configuration/try-runtime',73 'pallet-charge-transaction/try-runtime',74 'pallet-common/try-runtime',75 'pallet-fungible/try-runtime',76 'pallet-refungible/try-runtime',77 'pallet-nonfungible/try-runtime',78 'pallet-structure/try-runtime',79 'pallet-proxy-rmrk-core/try-runtime',80 'pallet-proxy-rmrk-equip/try-runtime',81 'pallet-app-promotion/try-runtime',82 'pallet-foreign-assets/try-runtime',83 'pallet-evm/try-runtime',84 'pallet-ethereum/try-runtime',85 'pallet-evm-coder-substrate/try-runtime',86 'pallet-evm-contract-helpers/try-runtime',87 'pallet-evm-transaction-payment/try-runtime',88 'pallet-evm-migration/try-runtime',89]90std = [91 'codec/std',92 'cumulus-pallet-aura-ext/std',93 'cumulus-pallet-parachain-system/std',94 'cumulus-pallet-xcm/std',95 'cumulus-pallet-xcmp-queue/std',96 'cumulus-primitives-core/std',97 'cumulus-primitives-utility/std',98 'frame-try-runtime/std',99 'frame-executive/std',100 'frame-support/std',101 'frame-system/std',102 'frame-system-rpc-runtime-api/std',103 'pallet-aura/std',104 'pallet-balances/std',105 # 'pallet-contracts/std',106 # 'pallet-contracts-primitives/std',107 # 'pallet-contracts-rpc-runtime-api/std',108 # 'pallet-contract-helpers/std',109 'pallet-randomness-collective-flip/std',110 'pallet-sudo/std',111 'pallet-timestamp/std',112 'pallet-transaction-payment/std',113 'pallet-transaction-payment-rpc-runtime-api/std',114 'pallet-treasury/std',115 # 'pallet-vesting/std',116 'pallet-evm/std',117 'pallet-evm-migration/std',118 'pallet-evm-contract-helpers/std',119 'pallet-evm-transaction-payment/std',120 'pallet-evm-coder-substrate/std',121 'pallet-ethereum/std',122 'pallet-base-fee/std',123 'fp-rpc/std',124 'up-rpc/std',125 'app-promotion-rpc/std',126 'fp-evm-mapping/std',127 'fp-self-contained/std',128 'parachain-info/std',129 'serde',130 'pallet-inflation/std',131 'pallet-configuration/std',132 'pallet-common/std',133 'pallet-structure/std',134 'pallet-fungible/std',135 'pallet-refungible/std',136 'pallet-nonfungible/std',137 'pallet-proxy-rmrk-core/std',138 'pallet-proxy-rmrk-equip/std',139 'pallet-unique/std',140 'pallet-unique-scheduler/std',141 'pallet-charge-transaction/std',142 'up-data-structs/std',143 'sp-api/std',144 'sp-block-builder/std',145 "sp-consensus-aura/std",146 'sp-core/std',147 'sp-inherents/std',148 'sp-io/std',149 'sp-offchain/std',150 'sp-runtime/std',151 'sp-session/std',152 'sp-std/std',153 'sp-transaction-pool/std',154 'sp-version/std',155 'xcm/std',156 'xcm-builder/std',157 'xcm-executor/std',158 'up-common/std',159 'rmrk-rpc/std',160 'evm-coder/std',161 'up-sponsorship/std',162163 "orml-vesting/std",164 "orml-tokens/std",165 "orml-xtokens/std",166 "orml-traits/std",167 "pallet-foreign-assets/std"168]169limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']170unique-runtime = []171172refungible = []173scheduler = []174rmrk = []175foreign-assets = []176177################################################################################178# Substrate Dependencies179180[dependencies.codec]181default-features = false182features = ['derive']183package = 'parity-scale-codec'184version = '3.1.2'185186[dependencies.frame-benchmarking]187default-features = false188git = "https://github.com/paritytech/substrate"189optional = true190branch = "polkadot-v0.9.29"191192[dependencies.frame-try-runtime]193default-features = false194git = "https://github.com/paritytech/substrate"195optional = true196branch = "polkadot-v0.9.29"197198[dependencies.frame-executive]199default-features = false200git = "https://github.com/paritytech/substrate"201branch = "polkadot-v0.9.29"202203[dependencies.frame-support]204default-features = false205git = "https://github.com/paritytech/substrate"206branch = "polkadot-v0.9.29"207208[dependencies.frame-system]209default-features = false210git = "https://github.com/paritytech/substrate"211branch = "polkadot-v0.9.29"212213[dependencies.frame-system-benchmarking]214default-features = false215git = "https://github.com/paritytech/substrate"216optional = true217branch = "polkadot-v0.9.29"218219[dependencies.frame-system-rpc-runtime-api]220default-features = false221git = "https://github.com/paritytech/substrate"222branch = "polkadot-v0.9.29"223224[dependencies.hex-literal]225optional = true226version = '0.3.3'227228[dependencies.serde]229default-features = false230features = ['derive']231optional = true232version = '1.0.130'233234[dependencies.pallet-aura]235default-features = false236git = "https://github.com/paritytech/substrate"237branch = "polkadot-v0.9.29"238239[dependencies.pallet-balances]240default-features = false241git = "https://github.com/paritytech/substrate"242branch = "polkadot-v0.9.29"243244# Contracts specific packages245# [dependencies.pallet-contracts]246# git = 'https://github.com/paritytech/substrate'247# default-features = false248# branch = 'master'249# version = '4.0.0-dev'250251# [dependencies.pallet-contracts-primitives]252# git = 'https://github.com/paritytech/substrate'253# default-features = false254# branch = 'master'255# version = '4.0.0-dev'256257# [dependencies.pallet-contracts-rpc-runtime-api]258# git = 'https://github.com/paritytech/substrate'259# default-features = false260# branch = 'master'261# version = '4.0.0-dev'262263[dependencies.pallet-randomness-collective-flip]264default-features = false265git = "https://github.com/paritytech/substrate"266branch = "polkadot-v0.9.29"267268[dependencies.pallet-sudo]269default-features = false270git = "https://github.com/paritytech/substrate"271branch = "polkadot-v0.9.29"272273[dependencies.pallet-timestamp]274default-features = false275git = "https://github.com/paritytech/substrate"276branch = "polkadot-v0.9.29"277278[dependencies.pallet-transaction-payment]279default-features = false280git = "https://github.com/paritytech/substrate"281branch = "polkadot-v0.9.29"282283[dependencies.pallet-transaction-payment-rpc-runtime-api]284default-features = false285git = "https://github.com/paritytech/substrate"286branch = "polkadot-v0.9.29"287288[dependencies.pallet-treasury]289default-features = false290git = "https://github.com/paritytech/substrate"291branch = "polkadot-v0.9.29"292293# [dependencies.pallet-vesting]294# default-features = false295# git = 'https://github.com/paritytech/substrate'296# branch = 'master'297298[dependencies.sp-arithmetic]299default-features = false300git = "https://github.com/paritytech/substrate"301branch = "polkadot-v0.9.29"302303[dependencies.sp-api]304default-features = false305git = "https://github.com/paritytech/substrate"306branch = "polkadot-v0.9.29"307308[dependencies.sp-block-builder]309default-features = false310git = "https://github.com/paritytech/substrate"311branch = "polkadot-v0.9.29"312313[dependencies.sp-core]314default-features = false315git = "https://github.com/paritytech/substrate"316branch = "polkadot-v0.9.29"317318[dependencies.sp-consensus-aura]319default-features = false320git = "https://github.com/paritytech/substrate"321branch = "polkadot-v0.9.29"322323[dependencies.sp-inherents]324default-features = false325git = "https://github.com/paritytech/substrate"326branch = "polkadot-v0.9.29"327328[dependencies.sp-io]329default-features = false330git = "https://github.com/paritytech/substrate"331branch = "polkadot-v0.9.29"332333[dependencies.sp-offchain]334default-features = false335git = "https://github.com/paritytech/substrate"336branch = "polkadot-v0.9.29"337338[dependencies.sp-runtime]339default-features = false340git = "https://github.com/paritytech/substrate"341branch = "polkadot-v0.9.29"342343[dependencies.sp-session]344default-features = false345git = "https://github.com/paritytech/substrate"346branch = "polkadot-v0.9.29"347348[dependencies.sp-std]349default-features = false350git = "https://github.com/paritytech/substrate"351branch = "polkadot-v0.9.29"352353[dependencies.sp-transaction-pool]354default-features = false355git = "https://github.com/paritytech/substrate"356branch = "polkadot-v0.9.29"357358[dependencies.sp-version]359default-features = false360git = "https://github.com/paritytech/substrate"361branch = "polkadot-v0.9.29"362363[dependencies.smallvec]364version = '1.6.1'365366################################################################################367# Cumulus dependencies368369[dependencies.parachain-info]370default-features = false371git = "https://github.com/paritytech/cumulus"372branch = "polkadot-v0.9.29"373374[dependencies.cumulus-pallet-aura-ext]375git = "https://github.com/paritytech/cumulus"376branch = "polkadot-v0.9.29"377default-features = false378379[dependencies.cumulus-pallet-parachain-system]380git = "https://github.com/paritytech/cumulus"381branch = "polkadot-v0.9.29"382default-features = false383384[dependencies.cumulus-primitives-core]385git = "https://github.com/paritytech/cumulus"386branch = "polkadot-v0.9.29"387default-features = false388389[dependencies.cumulus-pallet-xcm]390git = "https://github.com/paritytech/cumulus"391branch = "polkadot-v0.9.29"392default-features = false393394[dependencies.cumulus-pallet-dmp-queue]395git = "https://github.com/paritytech/cumulus"396branch = "polkadot-v0.9.29"397default-features = false398399[dependencies.cumulus-pallet-xcmp-queue]400git = "https://github.com/paritytech/cumulus"401branch = "polkadot-v0.9.29"402default-features = false403404[dependencies.cumulus-primitives-utility]405git = "https://github.com/paritytech/cumulus"406branch = "polkadot-v0.9.29"407default-features = false408409[dependencies.cumulus-primitives-timestamp]410git = "https://github.com/paritytech/cumulus"411branch = "polkadot-v0.9.29"412default-features = false413414################################################################################415# Polkadot dependencies416417[dependencies.polkadot-parachain]418git = "https://github.com/paritytech/polkadot"419branch = "release-v0.9.29"420default-features = false421422[dependencies.xcm]423git = "https://github.com/paritytech/polkadot"424branch = "release-v0.9.29"425default-features = false426427[dependencies.xcm-builder]428git = "https://github.com/paritytech/polkadot"429branch = "release-v0.9.29"430default-features = false431432[dependencies.xcm-executor]433git = "https://github.com/paritytech/polkadot"434branch = "release-v0.9.29"435default-features = false436437[dependencies.pallet-xcm]438git = "https://github.com/paritytech/polkadot"439branch = "release-v0.9.29"440default-features = false441442[dependencies.orml-vesting]443git = "https://github.com/UniqueNetwork/open-runtime-module-library"444branch = "polkadot-v0.9.29"445version = "0.4.1-dev"446default-features = false447448[dependencies.orml-xtokens]449git = "https://github.com/UniqueNetwork/open-runtime-module-library"450branch = "polkadot-v0.9.29"451version = "0.4.1-dev"452default-features = false453454[dependencies.orml-tokens]455git = "https://github.com/UniqueNetwork/open-runtime-module-library"456branch = "polkadot-v0.9.29"457version = "0.4.1-dev"458default-features = false459460[dependencies.orml-traits]461git = "https://github.com/UniqueNetwork/open-runtime-module-library"462branch = "polkadot-v0.9.29"463version = "0.4.1-dev"464default-features = false465################################################################################466# local dependencies467468[dependencies]469log = { version = "0.4.16", default-features = false }470up-common = { path = "../../primitives/common", default-features = false }471scale-info = { version = "2.0.1", default-features = false, features = [472 "derive",473] }474derivative = "2.2.0"475pallet-unique = { path = '../../pallets/unique', default-features = false }476up-rpc = { path = "../../primitives/rpc", default-features = false }477app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}478rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }479pallet-inflation = { path = '../../pallets/inflation', default-features = false }480pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }481up-data-structs = { path = '../../primitives/data-structs', default-features = false }482pallet-configuration = { default-features = false, path = "../../pallets/configuration" }483pallet-common = { default-features = false, path = "../../pallets/common" }484pallet-structure = { default-features = false, path = "../../pallets/structure" }485pallet-fungible = { default-features = false, path = "../../pallets/fungible" }486pallet-refungible = { default-features = false, path = "../../pallets/refungible" }487pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }488pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }489pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }490pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }491# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }492pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }493pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }494pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }495pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }496pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }497pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }498pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }499pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }500fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }501fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }502fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }503evm-coder = { default-features = false, path = '../../crates/evm-coder' }504up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.29' }505pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }506507################################################################################508# Other Dependencies509510impl-trait-for-tuples = "0.2.2"511512################################################################################513# Dev Dependencies514515[dev-dependencies.logtest]516version = "2.0.0"517518################################################################################519# Build Dependencies520521[build-dependencies.substrate-wasm-builder]522git = "https://github.com/paritytech/substrate"523branch = "polkadot-v0.9.29"1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Unique Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'unique-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.29'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std', 'unique-runtime']20runtime-benchmarks = [21 'hex-literal',22 'frame-benchmarking',23 'frame-support/runtime-benchmarks',24 'frame-system-benchmarking',25 'frame-system/runtime-benchmarks',26 'pallet-ethereum/runtime-benchmarks',27 'pallet-evm-migration/runtime-benchmarks',28 'pallet-evm-coder-substrate/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',30 'pallet-timestamp/runtime-benchmarks',31 'pallet-common/runtime-benchmarks',32 'pallet-structure/runtime-benchmarks',33 'pallet-fungible/runtime-benchmarks',34 'pallet-refungible/runtime-benchmarks',35 'pallet-nonfungible/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',39 'pallet-foreign-assets/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',41 'pallet-unique-scheduler/runtime-benchmarks',42 'pallet-xcm/runtime-benchmarks',43 'sp-runtime/runtime-benchmarks',44 'xcm-builder/runtime-benchmarks',45 'up-data-structs/runtime-benchmarks',46]47try-runtime = [48 'frame-try-runtime',49 'frame-executive/try-runtime',50 'frame-support/try-runtime',51 'frame-system/try-runtime',52 'cumulus-pallet-parachain-system/try-runtime',53 'parachain-info/try-runtime',54 'pallet-aura/try-runtime',55 'cumulus-pallet-aura-ext/try-runtime',56 'pallet-balances/try-runtime',57 'pallet-randomness-collective-flip/try-runtime',58 'pallet-timestamp/try-runtime',59 'pallet-transaction-payment/try-runtime',60 'pallet-treasury/try-runtime',61 'pallet-sudo/try-runtime',62 'orml-vesting/try-runtime',63 'orml-xtokens/try-runtime',64 'orml-tokens/try-runtime',65 'cumulus-pallet-xcmp-queue/try-runtime',66 'pallet-xcm/try-runtime',67 'cumulus-pallet-xcm/try-runtime',68 'cumulus-pallet-dmp-queue/try-runtime',69 'pallet-inflation/try-runtime',70 'pallet-unique/try-runtime',71 'pallet-unique-scheduler/try-runtime',72 'pallet-configuration/try-runtime',73 'pallet-charge-transaction/try-runtime',74 'pallet-common/try-runtime',75 'pallet-fungible/try-runtime',76 'pallet-refungible/try-runtime',77 'pallet-nonfungible/try-runtime',78 'pallet-structure/try-runtime',79 'pallet-proxy-rmrk-core/try-runtime',80 'pallet-proxy-rmrk-equip/try-runtime',81 'pallet-app-promotion/try-runtime',82 'pallet-foreign-assets/try-runtime',83 'pallet-evm/try-runtime',84 'pallet-ethereum/try-runtime',85 'pallet-evm-coder-substrate/try-runtime',86 'pallet-evm-contract-helpers/try-runtime',87 'pallet-evm-transaction-payment/try-runtime',88 'pallet-evm-migration/try-runtime',89]90std = [91 'codec/std',92 'cumulus-pallet-aura-ext/std',93 'cumulus-pallet-parachain-system/std',94 'cumulus-pallet-xcm/std',95 'cumulus-pallet-xcmp-queue/std',96 'cumulus-primitives-core/std',97 'cumulus-primitives-utility/std',98 'frame-try-runtime/std',99 'frame-executive/std',100 'frame-support/std',101 'frame-system/std',102 'frame-system-rpc-runtime-api/std',103 'pallet-aura/std',104 'pallet-balances/std',105 # 'pallet-contracts/std',106 # 'pallet-contracts-primitives/std',107 # 'pallet-contracts-rpc-runtime-api/std',108 # 'pallet-contract-helpers/std',109 'pallet-randomness-collective-flip/std',110 'pallet-sudo/std',111 'pallet-timestamp/std',112 'pallet-transaction-payment/std',113 'pallet-transaction-payment-rpc-runtime-api/std',114 'pallet-treasury/std',115 # 'pallet-vesting/std',116 'pallet-evm/std',117 'pallet-evm-migration/std',118 'pallet-evm-contract-helpers/std',119 'pallet-evm-transaction-payment/std',120 'pallet-evm-coder-substrate/std',121 'pallet-ethereum/std',122 'pallet-base-fee/std',123 'fp-rpc/std',124 'up-rpc/std',125 'app-promotion-rpc/std',126 'fp-evm-mapping/std',127 'fp-self-contained/std',128 'parachain-info/std',129 'serde',130 'pallet-inflation/std',131 'pallet-configuration/std',132 'pallet-common/std',133 'pallet-structure/std',134 'pallet-fungible/std',135 'pallet-refungible/std',136 'pallet-nonfungible/std',137 'pallet-proxy-rmrk-core/std',138 'pallet-proxy-rmrk-equip/std',139 'pallet-unique/std',140 'pallet-unique-scheduler/std',141 'pallet-charge-transaction/std',142 'up-data-structs/std',143 'sp-api/std',144 'sp-block-builder/std',145 "sp-consensus-aura/std",146 'sp-core/std',147 'sp-inherents/std',148 'sp-io/std',149 'sp-offchain/std',150 'sp-runtime/std',151 'sp-session/std',152 'sp-std/std',153 'sp-transaction-pool/std',154 'sp-version/std',155 'xcm/std',156 'xcm-builder/std',157 'xcm-executor/std',158 'up-common/std',159 'rmrk-rpc/std',160 'evm-coder/std',161 'up-sponsorship/std',162163 "orml-vesting/std",164 "orml-tokens/std",165 "orml-xtokens/std",166 "orml-traits/std",167 "pallet-foreign-assets/std"168]169limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']170unique-runtime = []171172refungible = []173scheduler = []174rmrk = []175foreign-assets = []176177################################################################################178# Substrate Dependencies179180[dependencies.codec]181default-features = false182features = ['derive']183package = 'parity-scale-codec'184version = '3.1.2'185186[dependencies.frame-benchmarking]187default-features = false188git = "https://github.com/paritytech/substrate"189optional = true190branch = "polkadot-v0.9.29"191192[dependencies.frame-try-runtime]193default-features = false194git = "https://github.com/paritytech/substrate"195optional = true196branch = "polkadot-v0.9.29"197198[dependencies.frame-executive]199default-features = false200git = "https://github.com/paritytech/substrate"201branch = "polkadot-v0.9.29"202203[dependencies.frame-support]204default-features = false205git = "https://github.com/paritytech/substrate"206branch = "polkadot-v0.9.29"207208[dependencies.frame-system]209default-features = false210git = "https://github.com/paritytech/substrate"211branch = "polkadot-v0.9.29"212213[dependencies.frame-system-benchmarking]214default-features = false215git = "https://github.com/paritytech/substrate"216optional = true217branch = "polkadot-v0.9.29"218219[dependencies.frame-system-rpc-runtime-api]220default-features = false221git = "https://github.com/paritytech/substrate"222branch = "polkadot-v0.9.29"223224[dependencies.hex-literal]225optional = true226version = '0.3.3'227228[dependencies.serde]229default-features = false230features = ['derive']231optional = true232version = '1.0.130'233234[dependencies.pallet-aura]235default-features = false236git = "https://github.com/paritytech/substrate"237branch = "polkadot-v0.9.29"238239[dependencies.pallet-balances]240default-features = false241git = "https://github.com/paritytech/substrate"242branch = "polkadot-v0.9.29"243244# Contracts specific packages245# [dependencies.pallet-contracts]246# git = 'https://github.com/paritytech/substrate'247# default-features = false248# branch = 'master'249# version = '4.0.0-dev'250251# [dependencies.pallet-contracts-primitives]252# git = 'https://github.com/paritytech/substrate'253# default-features = false254# branch = 'master'255# version = '4.0.0-dev'256257# [dependencies.pallet-contracts-rpc-runtime-api]258# git = 'https://github.com/paritytech/substrate'259# default-features = false260# branch = 'master'261# version = '4.0.0-dev'262263[dependencies.pallet-randomness-collective-flip]264default-features = false265git = "https://github.com/paritytech/substrate"266branch = "polkadot-v0.9.29"267268[dependencies.pallet-sudo]269default-features = false270git = "https://github.com/paritytech/substrate"271branch = "polkadot-v0.9.29"272273[dependencies.pallet-timestamp]274default-features = false275git = "https://github.com/paritytech/substrate"276branch = "polkadot-v0.9.29"277278[dependencies.pallet-transaction-payment]279default-features = false280git = "https://github.com/paritytech/substrate"281branch = "polkadot-v0.9.29"282283[dependencies.pallet-transaction-payment-rpc-runtime-api]284default-features = false285git = "https://github.com/paritytech/substrate"286branch = "polkadot-v0.9.29"287288[dependencies.pallet-treasury]289default-features = false290git = "https://github.com/paritytech/substrate"291branch = "polkadot-v0.9.29"292293# [dependencies.pallet-vesting]294# default-features = false295# git = 'https://github.com/paritytech/substrate'296# branch = 'master'297298[dependencies.sp-arithmetic]299default-features = false300git = "https://github.com/paritytech/substrate"301branch = "polkadot-v0.9.29"302303[dependencies.sp-api]304default-features = false305git = "https://github.com/paritytech/substrate"306branch = "polkadot-v0.9.29"307308[dependencies.sp-block-builder]309default-features = false310git = "https://github.com/paritytech/substrate"311branch = "polkadot-v0.9.29"312313[dependencies.sp-core]314default-features = false315git = "https://github.com/paritytech/substrate"316branch = "polkadot-v0.9.29"317318[dependencies.sp-consensus-aura]319default-features = false320git = "https://github.com/paritytech/substrate"321branch = "polkadot-v0.9.29"322323[dependencies.sp-inherents]324default-features = false325git = "https://github.com/paritytech/substrate"326branch = "polkadot-v0.9.29"327328[dependencies.sp-io]329default-features = false330git = "https://github.com/paritytech/substrate"331branch = "polkadot-v0.9.29"332333[dependencies.sp-offchain]334default-features = false335git = "https://github.com/paritytech/substrate"336branch = "polkadot-v0.9.29"337338[dependencies.sp-runtime]339default-features = false340git = "https://github.com/paritytech/substrate"341branch = "polkadot-v0.9.29"342343[dependencies.sp-session]344default-features = false345git = "https://github.com/paritytech/substrate"346branch = "polkadot-v0.9.29"347348[dependencies.sp-std]349default-features = false350git = "https://github.com/paritytech/substrate"351branch = "polkadot-v0.9.29"352353[dependencies.sp-transaction-pool]354default-features = false355git = "https://github.com/paritytech/substrate"356branch = "polkadot-v0.9.29"357358[dependencies.sp-version]359default-features = false360git = "https://github.com/paritytech/substrate"361branch = "polkadot-v0.9.29"362363[dependencies.smallvec]364version = '1.6.1'365366################################################################################367# Cumulus dependencies368369[dependencies.parachain-info]370default-features = false371git = "https://github.com/paritytech/cumulus"372branch = "polkadot-v0.9.29"373374[dependencies.cumulus-pallet-aura-ext]375git = "https://github.com/paritytech/cumulus"376branch = "polkadot-v0.9.29"377default-features = false378379[dependencies.cumulus-pallet-parachain-system]380git = "https://github.com/paritytech/cumulus"381branch = "polkadot-v0.9.29"382default-features = false383384[dependencies.cumulus-primitives-core]385git = "https://github.com/paritytech/cumulus"386branch = "polkadot-v0.9.29"387default-features = false388389[dependencies.cumulus-pallet-xcm]390git = "https://github.com/paritytech/cumulus"391branch = "polkadot-v0.9.29"392default-features = false393394[dependencies.cumulus-pallet-dmp-queue]395git = "https://github.com/paritytech/cumulus"396branch = "polkadot-v0.9.29"397default-features = false398399[dependencies.cumulus-pallet-xcmp-queue]400git = "https://github.com/paritytech/cumulus"401branch = "polkadot-v0.9.29"402default-features = false403404[dependencies.cumulus-primitives-utility]405git = "https://github.com/paritytech/cumulus"406branch = "polkadot-v0.9.29"407default-features = false408409[dependencies.cumulus-primitives-timestamp]410git = "https://github.com/paritytech/cumulus"411branch = "polkadot-v0.9.29"412default-features = false413414################################################################################415# Polkadot dependencies416417[dependencies.polkadot-parachain]418git = "https://github.com/paritytech/polkadot"419branch = "release-v0.9.29"420default-features = false421422[dependencies.xcm]423git = "https://github.com/paritytech/polkadot"424branch = "release-v0.9.29"425default-features = false426427[dependencies.xcm-builder]428git = "https://github.com/paritytech/polkadot"429branch = "release-v0.9.29"430default-features = false431432[dependencies.xcm-executor]433git = "https://github.com/paritytech/polkadot"434branch = "release-v0.9.29"435default-features = false436437[dependencies.pallet-xcm]438git = "https://github.com/paritytech/polkadot"439branch = "release-v0.9.29"440default-features = false441442[dependencies.orml-vesting]443git = "https://github.com/UniqueNetwork/open-runtime-module-library"444branch = "polkadot-v0.9.29"445version = "0.4.1-dev"446default-features = false447448[dependencies.orml-xtokens]449git = "https://github.com/UniqueNetwork/open-runtime-module-library"450branch = "polkadot-v0.9.29"451version = "0.4.1-dev"452default-features = false453454[dependencies.orml-tokens]455git = "https://github.com/UniqueNetwork/open-runtime-module-library"456branch = "polkadot-v0.9.29"457version = "0.4.1-dev"458default-features = false459460[dependencies.orml-traits]461git = "https://github.com/UniqueNetwork/open-runtime-module-library"462branch = "polkadot-v0.9.29"463version = "0.4.1-dev"464default-features = false465################################################################################466# local dependencies467468[dependencies]469log = { version = "0.4.16", default-features = false }470up-common = { path = "../../primitives/common", default-features = false }471scale-info = { version = "2.0.1", default-features = false, features = [472 "derive",473] }474derivative = "2.2.0"475pallet-unique = { path = '../../pallets/unique', default-features = false }476up-rpc = { path = "../../primitives/rpc", default-features = false }477app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}478rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }479pallet-inflation = { path = '../../pallets/inflation', default-features = false }480pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }481up-data-structs = { path = '../../primitives/data-structs', default-features = false }482pallet-configuration = { default-features = false, path = "../../pallets/configuration" }483pallet-common = { default-features = false, path = "../../pallets/common" }484pallet-structure = { default-features = false, path = "../../pallets/structure" }485pallet-fungible = { default-features = false, path = "../../pallets/fungible" }486pallet-refungible = { default-features = false, path = "../../pallets/refungible" }487pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }488pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }489pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }490pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }491# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }492pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.29", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }493pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }494pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }495pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }496pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }497pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }498pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }499pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }500fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }501fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }502fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.29" }503evm-coder = { default-features = false, path = '../../crates/evm-coder' }504up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.29' }505pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }506507################################################################################508# Other Dependencies509510impl-trait-for-tuples = "0.2.2"511512################################################################################513# Dev Dependencies514515[dev-dependencies.logtest]516version = "2.0.0"517518################################################################################519# Build Dependencies520521[build-dependencies.substrate-wasm-builder]522git = "https://github.com/paritytech/substrate"523branch = "polkadot-v0.9.29"runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -50,7 +50,7 @@
spec_name: create_runtime_str!(RUNTIME_NAME),
impl_name: create_runtime_str!(RUNTIME_NAME),
authoring_version: 1,
- spec_version: 927030,
+ spec_version: 929030,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
tests/scripts/readyness.jsdiffbeforeafterboth--- a/tests/scripts/readyness.js
+++ b/tests/scripts/readyness.js
@@ -25,6 +25,7 @@
}
catch(e) {
await sleep(10000);
+ console.log(e);
}
}
}