git.delta.rocks / unique-network / refs/commits / 92d2b3141766

difftreelog

Merge pull request #401 from UniqueNetwork/release-v923000

kozyrevdev2022-06-22parents: #e3b9962 #0d9468b.patch.diff
in: master
Release v923000

62 files changed

modified.envdiffbeforeafterboth
1RUST_TOOLCHAIN=nightly-2022-05-111RUST_TOOLCHAIN=nightly-2022-05-11
2RUST_C=1.62.0-nightly2RUST_C=1.62.0-nightly
3POLKA_VERSION=release-v0.9.223POLKA_VERSION=release-v0.9.23
4UNIQUE_BRANCH=develop4UNIQUE_BRANCH=develop
5USER=***5USER=***
6PASS=***6PASS=***
modifiedCargo.lockdiffbeforeafterboth
188188
189[[package]]189[[package]]
190name = "async-global-executor"190name = "async-global-executor"
191version = "2.1.0"191version = "2.2.0"
192source = "registry+https://github.com/rust-lang/crates.io-index"192source = "registry+https://github.com/rust-lang/crates.io-index"
193checksum = "fd8b508d585e01084059b60f06ade4cb7415cd2e4084b71dd1cb44e7d3fb9880"193checksum = "5262ed948da60dd8956c6c5aca4d4163593dddb7b32d73267c93dab7b2e98940"
194dependencies = [194dependencies = [
195 "async-channel",195 "async-channel",
196 "async-executor",196 "async-executor",
197 "async-io",197 "async-io",
198 "async-lock",198 "async-lock",
199 "blocking",199 "blocking",
200 "futures-lite",200 "futures-lite",
201 "num_cpus",
201 "once_cell",202 "once_cell",
202]203]
203204
429[[package]]430[[package]]
430name = "beefy-gadget"431name = "beefy-gadget"
431version = "4.0.0-dev"432version = "4.0.0-dev"
432source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"433source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
433dependencies = [434dependencies = [
434 "beefy-primitives",435 "beefy-primitives",
435 "fnv",436 "fnv",
463[[package]]464[[package]]
464name = "beefy-gadget-rpc"465name = "beefy-gadget-rpc"
465version = "4.0.0-dev"466version = "4.0.0-dev"
466source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"467source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
467dependencies = [468dependencies = [
468 "beefy-gadget",469 "beefy-gadget",
469 "beefy-primitives",470 "beefy-primitives",
483[[package]]484[[package]]
484name = "beefy-merkle-tree"485name = "beefy-merkle-tree"
485version = "4.0.0-dev"486version = "4.0.0-dev"
486source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"487source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
487488
488[[package]]489[[package]]
489name = "beefy-primitives"490name = "beefy-primitives"
490version = "4.0.0-dev"491version = "4.0.0-dev"
491source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"492source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
492dependencies = [493dependencies = [
493 "parity-scale-codec 3.1.5",494 "parity-scale-codec 3.1.5",
494 "scale-info",495 "scale-info",
582 "constant_time_eq",583 "constant_time_eq",
583]584]
584
585[[package]]
586name = "blake2b_simd"
587version = "0.5.11"
588source = "registry+https://github.com/rust-lang/crates.io-index"
589checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
590dependencies = [
591 "arrayref",
592 "arrayvec 0.5.2",
593 "constant_time_eq",
594]
595585
596[[package]]586[[package]]
597name = "blake2b_simd"587name = "blake2b_simd"
701[[package]]691[[package]]
702name = "bp-header-chain"692name = "bp-header-chain"
703version = "0.1.0"693version = "0.1.0"
704source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"694source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
705dependencies = [695dependencies = [
706 "bp-runtime",696 "bp-runtime",
707 "finality-grandpa",697 "finality-grandpa",
718[[package]]708[[package]]
719name = "bp-message-dispatch"709name = "bp-message-dispatch"
720version = "0.1.0"710version = "0.1.0"
721source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"711source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
722dependencies = [712dependencies = [
723 "bp-runtime",713 "bp-runtime",
724 "frame-support",714 "frame-support",
730[[package]]720[[package]]
731name = "bp-messages"721name = "bp-messages"
732version = "0.1.0"722version = "0.1.0"
733source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"723source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
734dependencies = [724dependencies = [
735 "bitvec 1.0.0",725 "bitvec 1.0.0",
736 "bp-runtime",726 "bp-runtime",
747[[package]]737[[package]]
748name = "bp-polkadot-core"738name = "bp-polkadot-core"
749version = "0.1.0"739version = "0.1.0"
750source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"740source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
751dependencies = [741dependencies = [
752 "bp-messages",742 "bp-messages",
753 "bp-runtime",743 "bp-runtime",
765[[package]]755[[package]]
766name = "bp-rococo"756name = "bp-rococo"
767version = "0.1.0"757version = "0.1.0"
768source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"758source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
769dependencies = [759dependencies = [
770 "bp-messages",760 "bp-messages",
771 "bp-polkadot-core",761 "bp-polkadot-core",
782[[package]]772[[package]]
783name = "bp-runtime"773name = "bp-runtime"
784version = "0.1.0"774version = "0.1.0"
785source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"775source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
786dependencies = [776dependencies = [
787 "frame-support",777 "frame-support",
788 "hash-db",778 "hash-db",
800[[package]]790[[package]]
801name = "bp-test-utils"791name = "bp-test-utils"
802version = "0.1.0"792version = "0.1.0"
803source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"793source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
804dependencies = [794dependencies = [
805 "bp-header-chain",795 "bp-header-chain",
806 "ed25519-dalek",796 "ed25519-dalek",
815[[package]]805[[package]]
816name = "bp-wococo"806name = "bp-wococo"
817version = "0.1.0"807version = "0.1.0"
818source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"808source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
819dependencies = [809dependencies = [
820 "bp-messages",810 "bp-messages",
821 "bp-polkadot-core",811 "bp-polkadot-core",
830[[package]]820[[package]]
831name = "bridge-runtime-common"821name = "bridge-runtime-common"
832version = "0.1.0"822version = "0.1.0"
833source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"823source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
834dependencies = [824dependencies = [
835 "bp-message-dispatch",825 "bp-message-dispatch",
836 "bp-messages",826 "bp-messages",
864source = "registry+https://github.com/rust-lang/crates.io-index"854source = "registry+https://github.com/rust-lang/crates.io-index"
865checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"855checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
866dependencies = [856dependencies = [
867 "lazy_static",
868 "memchr",857 "memchr",
869 "regex-automata",
870 "serde",
871]858]
872859
873[[package]]860[[package]]
1130 "wasm-bindgen",1117 "wasm-bindgen",
1131]1118]
1119
1120[[package]]
1121name = "comfy-table"
1122version = "5.0.1"
1123source = "registry+https://github.com/rust-lang/crates.io-index"
1124checksum = "b103d85ca6e209388771bfb7aa6b68a7aeec4afbf6f0a0264bfbf50360e5212e"
1125dependencies = [
1126 "strum 0.23.0",
1127 "strum_macros 0.23.1",
1128 "unicode-width",
1129]
11321130
1133[[package]]1131[[package]]
1134name = "concurrent-queue"1132name = "concurrent-queue"
1401 "subtle",1399 "subtle",
1402]1400]
1403
1404[[package]]
1405name = "csv"
1406version = "1.1.6"
1407source = "registry+https://github.com/rust-lang/crates.io-index"
1408checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
1409dependencies = [
1410 "bstr",
1411 "csv-core",
1412 "itoa 0.4.8",
1413 "ryu",
1414 "serde",
1415]
1416
1417[[package]]
1418name = "csv-core"
1419version = "0.1.10"
1420source = "registry+https://github.com/rust-lang/crates.io-index"
1421checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
1422dependencies = [
1423 "memchr",
1424]
1425
1426[[package]]
1427name = "ct-logs"
1428version = "0.8.0"
1429source = "registry+https://github.com/rust-lang/crates.io-index"
1430checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
1431dependencies = [
1432 "sct 0.6.1",
1433]
14341401
1435[[package]]1402[[package]]
1436name = "ctor"1403name = "ctor"
1465[[package]]1432[[package]]
1466name = "cumulus-client-cli"1433name = "cumulus-client-cli"
1467version = "0.1.0"1434version = "0.1.0"
1468source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1435source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1469dependencies = [1436dependencies = [
1470 "clap",1437 "clap",
1471 "sc-cli",1438 "sc-cli",
1476[[package]]1443[[package]]
1477name = "cumulus-client-collator"1444name = "cumulus-client-collator"
1478version = "0.1.0"1445version = "0.1.0"
1479source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1446source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1480dependencies = [1447dependencies = [
1481 "cumulus-client-consensus-common",1448 "cumulus-client-consensus-common",
1482 "cumulus-client-network",1449 "cumulus-client-network",
1500[[package]]1467[[package]]
1501name = "cumulus-client-consensus-aura"1468name = "cumulus-client-consensus-aura"
1502version = "0.1.0"1469version = "0.1.0"
1503source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1470source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1504dependencies = [1471dependencies = [
1505 "async-trait",1472 "async-trait",
1506 "cumulus-client-consensus-common",1473 "cumulus-client-consensus-common",
1529[[package]]1496[[package]]
1530name = "cumulus-client-consensus-common"1497name = "cumulus-client-consensus-common"
1531version = "0.1.0"1498version = "0.1.0"
1532source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1499source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1533dependencies = [1500dependencies = [
1534 "async-trait",1501 "async-trait",
1535 "cumulus-relay-chain-interface",1502 "cumulus-relay-chain-interface",
1550[[package]]1517[[package]]
1551name = "cumulus-client-network"1518name = "cumulus-client-network"
1552version = "0.1.0"1519version = "0.1.0"
1553source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1520source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1554dependencies = [1521dependencies = [
1555 "async-trait",1522 "async-trait",
1556 "cumulus-relay-chain-interface",1523 "cumulus-relay-chain-interface",
1575[[package]]1542[[package]]
1576name = "cumulus-client-pov-recovery"1543name = "cumulus-client-pov-recovery"
1577version = "0.1.0"1544version = "0.1.0"
1578source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1545source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1579dependencies = [1546dependencies = [
1580 "cumulus-primitives-core",1547 "cumulus-primitives-core",
1581 "cumulus-relay-chain-interface",1548 "cumulus-relay-chain-interface",
1599[[package]]1566[[package]]
1600name = "cumulus-client-service"1567name = "cumulus-client-service"
1601version = "0.1.0"1568version = "0.1.0"
1602source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1569source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1603dependencies = [1570dependencies = [
1604 "cumulus-client-cli",1571 "cumulus-client-cli",
1605 "cumulus-client-collator",1572 "cumulus-client-collator",
1629[[package]]1596[[package]]
1630name = "cumulus-pallet-aura-ext"1597name = "cumulus-pallet-aura-ext"
1631version = "0.1.0"1598version = "0.1.0"
1632source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1599source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1633dependencies = [1600dependencies = [
1634 "frame-executive",1601 "frame-executive",
1635 "frame-support",1602 "frame-support",
1647[[package]]1614[[package]]
1648name = "cumulus-pallet-dmp-queue"1615name = "cumulus-pallet-dmp-queue"
1649version = "0.1.0"1616version = "0.1.0"
1650source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1617source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1651dependencies = [1618dependencies = [
1652 "cumulus-primitives-core",1619 "cumulus-primitives-core",
1653 "frame-support",1620 "frame-support",
1665[[package]]1632[[package]]
1666name = "cumulus-pallet-parachain-system"1633name = "cumulus-pallet-parachain-system"
1667version = "0.1.0"1634version = "0.1.0"
1668source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1635source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1669dependencies = [1636dependencies = [
1670 "cumulus-pallet-parachain-system-proc-macro",1637 "cumulus-pallet-parachain-system-proc-macro",
1671 "cumulus-primitives-core",1638 "cumulus-primitives-core",
1695[[package]]1662[[package]]
1696name = "cumulus-pallet-parachain-system-proc-macro"1663name = "cumulus-pallet-parachain-system-proc-macro"
1697version = "0.1.0"1664version = "0.1.0"
1698source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1665source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1699dependencies = [1666dependencies = [
1700 "proc-macro-crate",1667 "proc-macro-crate",
1701 "proc-macro2",1668 "proc-macro2",
1706[[package]]1673[[package]]
1707name = "cumulus-pallet-xcm"1674name = "cumulus-pallet-xcm"
1708version = "0.1.0"1675version = "0.1.0"
1709source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1676source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1710dependencies = [1677dependencies = [
1711 "cumulus-primitives-core",1678 "cumulus-primitives-core",
1712 "frame-support",1679 "frame-support",
1723[[package]]1690[[package]]
1724name = "cumulus-pallet-xcmp-queue"1691name = "cumulus-pallet-xcmp-queue"
1725version = "0.1.0"1692version = "0.1.0"
1726source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1693source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1727dependencies = [1694dependencies = [
1728 "cumulus-primitives-core",1695 "cumulus-primitives-core",
1729 "frame-support",1696 "frame-support",
1741[[package]]1708[[package]]
1742name = "cumulus-primitives-core"1709name = "cumulus-primitives-core"
1743version = "0.1.0"1710version = "0.1.0"
1744source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1711source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1745dependencies = [1712dependencies = [
1746 "frame-support",1713 "frame-support",
1747 "parity-scale-codec 3.1.5",1714 "parity-scale-codec 3.1.5",
1757[[package]]1724[[package]]
1758name = "cumulus-primitives-parachain-inherent"1725name = "cumulus-primitives-parachain-inherent"
1759version = "0.1.0"1726version = "0.1.0"
1760source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1727source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1761dependencies = [1728dependencies = [
1762 "async-trait",1729 "async-trait",
1763 "cumulus-primitives-core",1730 "cumulus-primitives-core",
1780[[package]]1747[[package]]
1781name = "cumulus-primitives-timestamp"1748name = "cumulus-primitives-timestamp"
1782version = "0.1.0"1749version = "0.1.0"
1783source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1750source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1784dependencies = [1751dependencies = [
1785 "cumulus-primitives-core",1752 "cumulus-primitives-core",
1786 "futures 0.3.21",1753 "futures 0.3.21",
1793[[package]]1760[[package]]
1794name = "cumulus-primitives-utility"1761name = "cumulus-primitives-utility"
1795version = "0.1.0"1762version = "0.1.0"
1796source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1763source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1797dependencies = [1764dependencies = [
1798 "cumulus-primitives-core",1765 "cumulus-primitives-core",
1799 "frame-support",1766 "frame-support",
1810[[package]]1777[[package]]
1811name = "cumulus-relay-chain-inprocess-interface"1778name = "cumulus-relay-chain-inprocess-interface"
1812version = "0.1.0"1779version = "0.1.0"
1813source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1780source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1814dependencies = [1781dependencies = [
1815 "async-trait",1782 "async-trait",
1816 "cumulus-primitives-core",1783 "cumulus-primitives-core",
1817 "cumulus-relay-chain-interface",1784 "cumulus-relay-chain-interface",
1818 "futures 0.3.21",1785 "futures 0.3.21",
1819 "futures-timer",1786 "futures-timer",
1820 "parking_lot 0.12.1",1787 "parking_lot 0.12.1",
1788 "polkadot-cli",
1821 "polkadot-client",1789 "polkadot-client",
1822 "polkadot-service",1790 "polkadot-service",
1791 "sc-cli",
1823 "sc-client-api",1792 "sc-client-api",
1824 "sc-consensus-babe",1793 "sc-consensus-babe",
1825 "sc-network",1794 "sc-network",
1839[[package]]1808[[package]]
1840name = "cumulus-relay-chain-interface"1809name = "cumulus-relay-chain-interface"
1841version = "0.1.0"1810version = "0.1.0"
1842source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1811source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1843dependencies = [1812dependencies = [
1844 "async-trait",1813 "async-trait",
1845 "cumulus-primitives-core",1814 "cumulus-primitives-core",
1863[[package]]1832[[package]]
1864name = "cumulus-relay-chain-rpc-interface"1833name = "cumulus-relay-chain-rpc-interface"
1865version = "0.1.0"1834version = "0.1.0"
1866source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1835source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1867dependencies = [1836dependencies = [
1868 "async-trait",1837 "async-trait",
1869 "backoff",1838 "backoff",
1889[[package]]1858[[package]]
1890name = "cumulus-test-relay-sproof-builder"1859name = "cumulus-test-relay-sproof-builder"
1891version = "0.1.0"1860version = "0.1.0"
1892source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"1861source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
1893dependencies = [1862dependencies = [
1894 "cumulus-primitives-core",1863 "cumulus-primitives-core",
1895 "parity-scale-codec 3.1.5",1864 "parity-scale-codec 3.1.5",
2080 "dirs-sys-next",2049 "dirs-sys-next",
2081]2050]
2082
2083[[package]]
2084name = "dirs"
2085version = "1.0.5"
2086source = "registry+https://github.com/rust-lang/crates.io-index"
2087checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
2088dependencies = [
2089 "libc",
2090 "redox_users 0.3.5",
2091 "winapi",
2092]
20932051
2094[[package]]2052[[package]]
2095name = "dirs-sys"2053name = "dirs-sys"
2098checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"2056checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
2099dependencies = [2057dependencies = [
2100 "libc",2058 "libc",
2101 "redox_users 0.4.3",2059 "redox_users",
2102 "winapi",2060 "winapi",
2103]2061]
21042062
2109checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"2067checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
2110dependencies = [2068dependencies = [
2111 "libc",2069 "libc",
2112 "redox_users 0.4.3",2070 "redox_users",
2113 "winapi",2071 "winapi",
2114]2072]
21152073
2221 "zeroize",2179 "zeroize",
2222]2180]
2223
2224[[package]]
2225name = "encode_unicode"
2226version = "0.3.6"
2227source = "registry+https://github.com/rust-lang/crates.io-index"
2228checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
22292181
2230[[package]]2182[[package]]
2231name = "enum-as-inner"2183name = "enum-as-inner"
2369[[package]]2321[[package]]
2370name = "evm"2322name = "evm"
2371version = "0.35.0"2323version = "0.35.0"
2372source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"2324source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
2373dependencies = [2325dependencies = [
2374 "auto_impl",2326 "auto_impl",
2375 "environmental",2327 "environmental",
2415[[package]]2367[[package]]
2416name = "evm-core"2368name = "evm-core"
2417version = "0.35.0"2369version = "0.35.0"
2418source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"2370source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
2419dependencies = [2371dependencies = [
2420 "parity-scale-codec 3.1.5",2372 "parity-scale-codec 3.1.5",
2421 "primitive-types",2373 "primitive-types",
2426[[package]]2378[[package]]
2427name = "evm-gasometer"2379name = "evm-gasometer"
2428version = "0.35.0"2380version = "0.35.0"
2429source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"2381source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
2430dependencies = [2382dependencies = [
2431 "environmental",2383 "environmental",
2432 "evm-core",2384 "evm-core",
2437[[package]]2389[[package]]
2438name = "evm-runtime"2390name = "evm-runtime"
2439version = "0.35.0"2391version = "0.35.0"
2440source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"2392source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
2441dependencies = [2393dependencies = [
2442 "auto_impl",2394 "auto_impl",
2443 "environmental",2395 "environmental",
2529[[package]]2481[[package]]
2530name = "fc-consensus"2482name = "fc-consensus"
2531version = "2.0.0-dev"2483version = "2.0.0-dev"
2532source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2484source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2533dependencies = [2485dependencies = [
2534 "async-trait",2486 "async-trait",
2535 "fc-db",2487 "fc-db",
2548[[package]]2500[[package]]
2549name = "fc-db"2501name = "fc-db"
2550version = "2.0.0-dev"2502version = "2.0.0-dev"
2551source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2503source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2552dependencies = [2504dependencies = [
2553 "fp-storage",2505 "fp-storage",
2554 "kvdb-rocksdb",2506 "kvdb-rocksdb",
2564[[package]]2516[[package]]
2565name = "fc-mapping-sync"2517name = "fc-mapping-sync"
2566version = "2.0.0-dev"2518version = "2.0.0-dev"
2567source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2519source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2568dependencies = [2520dependencies = [
2569 "fc-db",2521 "fc-db",
2570 "fp-consensus",2522 "fp-consensus",
2581[[package]]2533[[package]]
2582name = "fc-rpc"2534name = "fc-rpc"
2583version = "2.0.0-dev"2535version = "2.0.0-dev"
2584source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2536source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2585dependencies = [2537dependencies = [
2586 "ethereum",2538 "ethereum",
2587 "ethereum-types",2539 "ethereum-types",
2621[[package]]2573[[package]]
2622name = "fc-rpc-core"2574name = "fc-rpc-core"
2623version = "1.1.0-dev"2575version = "1.1.0-dev"
2624source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2576source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2625dependencies = [2577dependencies = [
2626 "ethereum",2578 "ethereum",
2627 "ethereum-types",2579 "ethereum-types",
2731[[package]]2683[[package]]
2732name = "fork-tree"2684name = "fork-tree"
2733version = "3.0.0"2685version = "3.0.0"
2734source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2686source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2735dependencies = [2687dependencies = [
2736 "parity-scale-codec 3.1.5",2688 "parity-scale-codec 3.1.5",
2737]2689]
2749[[package]]2701[[package]]
2750name = "fp-consensus"2702name = "fp-consensus"
2751version = "2.0.0-dev"2703version = "2.0.0-dev"
2752source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2704source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2753dependencies = [2705dependencies = [
2754 "ethereum",2706 "ethereum",
2755 "parity-scale-codec 3.1.5",2707 "parity-scale-codec 3.1.5",
2761[[package]]2713[[package]]
2762name = "fp-evm"2714name = "fp-evm"
2763version = "3.0.0-dev"2715version = "3.0.0-dev"
2764source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2716source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2765dependencies = [2717dependencies = [
2766 "evm",2718 "evm",
2767 "frame-support",2719 "frame-support",
2775[[package]]2727[[package]]
2776name = "fp-evm-mapping"2728name = "fp-evm-mapping"
2777version = "0.1.0"2729version = "0.1.0"
2778source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2730source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2779dependencies = [2731dependencies = [
2780 "frame-support",2732 "frame-support",
2781 "sp-core",2733 "sp-core",
2784[[package]]2736[[package]]
2785name = "fp-rpc"2737name = "fp-rpc"
2786version = "3.0.0-dev"2738version = "3.0.0-dev"
2787source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2739source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2788dependencies = [2740dependencies = [
2789 "ethereum",2741 "ethereum",
2790 "ethereum-types",2742 "ethereum-types",
2801[[package]]2753[[package]]
2802name = "fp-self-contained"2754name = "fp-self-contained"
2803version = "1.0.0-dev"2755version = "1.0.0-dev"
2804source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2756source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2805dependencies = [2757dependencies = [
2806 "ethereum",2758 "ethereum",
2807 "frame-support",2759 "frame-support",
2817[[package]]2769[[package]]
2818name = "fp-storage"2770name = "fp-storage"
2819version = "2.0.0"2771version = "2.0.0"
2820source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"2772source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
2821dependencies = [2773dependencies = [
2822 "parity-scale-codec 3.1.5",2774 "parity-scale-codec 3.1.5",
2823]2775]
28242776
2825[[package]]2777[[package]]
2826name = "frame-benchmarking"2778name = "frame-benchmarking"
2827version = "4.0.0-dev"2779version = "4.0.0-dev"
2828source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2780source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2829dependencies = [2781dependencies = [
2830 "frame-support",2782 "frame-support",
2831 "frame-system",2783 "frame-system",
2847[[package]]2799[[package]]
2848name = "frame-benchmarking-cli"2800name = "frame-benchmarking-cli"
2849version = "4.0.0-dev"2801version = "4.0.0-dev"
2850source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2802source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2851dependencies = [2803dependencies = [
2852 "Inflector",2804 "Inflector",
2853 "chrono",2805 "chrono",
2854 "clap",2806 "clap",
2807 "comfy-table",
2855 "frame-benchmarking",2808 "frame-benchmarking",
2856 "frame-support",2809 "frame-support",
2857 "frame-system",2810 "frame-system",
2865 "log",2818 "log",
2866 "memory-db",2819 "memory-db",
2867 "parity-scale-codec 3.1.5",2820 "parity-scale-codec 3.1.5",
2868 "prettytable-rs",
2869 "rand 0.8.5",2821 "rand 0.8.5",
2870 "rand_pcg 0.3.1",2822 "rand_pcg 0.3.1",
2871 "sc-block-builder",2823 "sc-block-builder",
2897[[package]]2849[[package]]
2898name = "frame-election-provider-solution-type"2850name = "frame-election-provider-solution-type"
2899version = "4.0.0-dev"2851version = "4.0.0-dev"
2900source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2852source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2901dependencies = [2853dependencies = [
2902 "proc-macro-crate",2854 "proc-macro-crate",
2903 "proc-macro2",2855 "proc-macro2",
2908[[package]]2860[[package]]
2909name = "frame-election-provider-support"2861name = "frame-election-provider-support"
2910version = "4.0.0-dev"2862version = "4.0.0-dev"
2911source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2863source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2912dependencies = [2864dependencies = [
2913 "frame-election-provider-solution-type",2865 "frame-election-provider-solution-type",
2914 "frame-support",2866 "frame-support",
2924[[package]]2876[[package]]
2925name = "frame-executive"2877name = "frame-executive"
2926version = "4.0.0-dev"2878version = "4.0.0-dev"
2927source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2879source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2928dependencies = [2880dependencies = [
2929 "frame-support",2881 "frame-support",
2930 "frame-system",2882 "frame-system",
2952[[package]]2904[[package]]
2953name = "frame-support"2905name = "frame-support"
2954version = "4.0.0-dev"2906version = "4.0.0-dev"
2955source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2907source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2956dependencies = [2908dependencies = [
2957 "bitflags",2909 "bitflags",
2958 "frame-metadata",2910 "frame-metadata",
2982[[package]]2934[[package]]
2983name = "frame-support-procedural"2935name = "frame-support-procedural"
2984version = "4.0.0-dev"2936version = "4.0.0-dev"
2985source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2937source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2986dependencies = [2938dependencies = [
2987 "Inflector",2939 "Inflector",
2988 "frame-support-procedural-tools",2940 "frame-support-procedural-tools",
2994[[package]]2946[[package]]
2995name = "frame-support-procedural-tools"2947name = "frame-support-procedural-tools"
2996version = "4.0.0-dev"2948version = "4.0.0-dev"
2997source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2949source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
2998dependencies = [2950dependencies = [
2999 "frame-support-procedural-tools-derive",2951 "frame-support-procedural-tools-derive",
3000 "proc-macro-crate",2952 "proc-macro-crate",
3006[[package]]2958[[package]]
3007name = "frame-support-procedural-tools-derive"2959name = "frame-support-procedural-tools-derive"
3008version = "3.0.0"2960version = "3.0.0"
3009source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2961source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
3010dependencies = [2962dependencies = [
3011 "proc-macro2",2963 "proc-macro2",
3012 "quote",2964 "quote",
3016[[package]]2968[[package]]
3017name = "frame-system"2969name = "frame-system"
3018version = "4.0.0-dev"2970version = "4.0.0-dev"
3019source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2971source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
3020dependencies = [2972dependencies = [
3021 "frame-support",2973 "frame-support",
3022 "log",2974 "log",
3033[[package]]2985[[package]]
3034name = "frame-system-benchmarking"2986name = "frame-system-benchmarking"
3035version = "4.0.0-dev"2987version = "4.0.0-dev"
3036source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"2988source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
3037dependencies = [2989dependencies = [
3038 "frame-benchmarking",2990 "frame-benchmarking",
3039 "frame-support",2991 "frame-support",
3048[[package]]3000[[package]]
3049name = "frame-system-rpc-runtime-api"3001name = "frame-system-rpc-runtime-api"
3050version = "4.0.0-dev"3002version = "4.0.0-dev"
3051source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"3003source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
3052dependencies = [3004dependencies = [
3053 "parity-scale-codec 3.1.5",3005 "parity-scale-codec 3.1.5",
3054 "sp-api",3006 "sp-api",
3057[[package]]3009[[package]]
3058name = "frame-try-runtime"3010name = "frame-try-runtime"
3059version = "0.10.0-dev"3011version = "0.10.0-dev"
3060source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"3012source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
3061dependencies = [3013dependencies = [
3062 "frame-support",3014 "frame-support",
3063 "sp-api",3015 "sp-api",
3199checksum = "e01fe9932a224b72b45336d96040aa86386d674a31d0af27d800ea7bc8ca97fe"3151checksum = "e01fe9932a224b72b45336d96040aa86386d674a31d0af27d800ea7bc8ca97fe"
3200dependencies = [3152dependencies = [
3201 "futures-io",3153 "futures-io",
3202 "rustls 0.20.6",3154 "rustls",
3203 "webpki 0.22.0",3155 "webpki",
3204]3156]
32053157
3206[[package]]3158[[package]]
35623514
3563[[package]]3515[[package]]
3564name = "hyper-rustls"3516name = "hyper-rustls"
3565version = "0.22.1"3517version = "0.23.0"
3566source = "registry+https://github.com/rust-lang/crates.io-index"3518source = "registry+https://github.com/rust-lang/crates.io-index"
3567checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64"3519checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac"
3568dependencies = [3520dependencies = [
3569 "ct-logs",3521 "http",
3570 "futures-util",
3571 "hyper",3522 "hyper",
3572 "log",3523 "log",
3573 "rustls 0.19.1",3524 "rustls",
3574 "rustls-native-certs 0.5.0",3525 "rustls-native-certs",
3575 "tokio 1.19.2",3526 "tokio 1.19.2",
3576 "tokio-rustls 0.22.0",3527 "tokio-rustls",
3577 "webpki 0.21.4",
3578]3528]
35793529
3580[[package]]3530[[package]]
36063556
3607[[package]]3557[[package]]
3608name = "if-watch"3558name = "if-watch"
3609version = "1.0.0"3559version = "1.1.0"
3610source = "registry+https://github.com/rust-lang/crates.io-index"3560source = "registry+https://github.com/rust-lang/crates.io-index"
3611checksum = "ae8f4a3c3d4c89351ca83e120c1c00b27df945d38e05695668c9d4b4f7bc52f3"3561checksum = "774d59367a3d26965d21ac70a86fcb697d83405d1c4312d1d8a6855296af0cf7"
3612dependencies = [3562dependencies = [
3613 "async-io",3563 "async-io",
3614 "core-foundation",3564 "core-foundation",
3790 "jsonrpsee-core",3740 "jsonrpsee-core",
3791 "jsonrpsee-types",3741 "jsonrpsee-types",
3792 "pin-project 1.0.10",3742 "pin-project 1.0.10",
3793 "rustls-native-certs 0.6.2",3743 "rustls-native-certs",
3794 "soketto",3744 "soketto",
3795 "thiserror",3745 "thiserror",
3796 "tokio 1.19.2",3746 "tokio 1.19.2",
3797 "tokio-rustls 0.23.4",3747 "tokio-rustls",
3798 "tokio-util",3748 "tokio-util",
3799 "tracing",3749 "tracing",
3800 "webpki-roots",3750 "webpki-roots",
39203870
3921[[package]]3871[[package]]
3922name = "kusama-runtime"3872name = "kusama-runtime"
3923version = "0.9.22"3873version = "0.9.23"
3924source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"3874source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
3925dependencies = [3875dependencies = [
3926 "beefy-primitives",3876 "beefy-primitives",
3927 "bitvec 1.0.0",3877 "bitvec 1.0.0",
40133963
4014[[package]]3964[[package]]
4015name = "kusama-runtime-constants"3965name = "kusama-runtime-constants"
4016version = "0.9.22"3966version = "0.9.23"
4017source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"3967source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
4018dependencies = [3968dependencies = [
4019 "frame-support",3969 "frame-support",
4020 "polkadot-primitives",3970 "polkadot-primitives",
4174 "libp2p-request-response",4124 "libp2p-request-response",
4175 "libp2p-swarm",4125 "libp2p-swarm",
4176 "log",4126 "log",
4177 "prost",4127 "prost 0.9.0",
4178 "prost-build",4128 "prost-build",
4179 "rand 0.8.5",4129 "rand 0.8.5",
4180]4130]
4201 "multistream-select",4151 "multistream-select",
4202 "parking_lot 0.12.1",4152 "parking_lot 0.12.1",
4203 "pin-project 1.0.10",4153 "pin-project 1.0.10",
4204 "prost",4154 "prost 0.9.0",
4205 "prost-build",4155 "prost-build",
4206 "rand 0.8.5",4156 "rand 0.8.5",
4207 "ring",4157 "ring",
4251 "libp2p-core",4201 "libp2p-core",
4252 "libp2p-swarm",4202 "libp2p-swarm",
4253 "log",4203 "log",
4254 "prost",4204 "prost 0.9.0",
4255 "prost-build",4205 "prost-build",
4256 "rand 0.7.3",4206 "rand 0.7.3",
4257 "smallvec",4207 "smallvec",
4275 "libp2p-swarm",4225 "libp2p-swarm",
4276 "log",4226 "log",
4277 "prometheus-client",4227 "prometheus-client",
4278 "prost",4228 "prost 0.9.0",
4279 "prost-build",4229 "prost-build",
4280 "rand 0.7.3",4230 "rand 0.7.3",
4281 "regex",4231 "regex",
4297 "libp2p-swarm",4247 "libp2p-swarm",
4298 "log",4248 "log",
4299 "lru 0.7.7",4249 "lru 0.7.7",
4300 "prost",4250 "prost 0.9.0",
4301 "prost-build",4251 "prost-build",
4302 "smallvec",4252 "smallvec",
4303]4253]
4319 "libp2p-core",4269 "libp2p-core",
4320 "libp2p-swarm",4270 "libp2p-swarm",
4321 "log",4271 "log",
4322 "prost",4272 "prost 0.9.0",
4323 "prost-build",4273 "prost-build",
4324 "rand 0.7.3",4274 "rand 0.7.3",
4325 "sha2 0.10.2",4275 "sha2 0.10.2",
4397 "lazy_static",4347 "lazy_static",
4398 "libp2p-core",4348 "libp2p-core",
4399 "log",4349 "log",
4400 "prost",4350 "prost 0.9.0",
4401 "prost-build",4351 "prost-build",
4402 "rand 0.8.5",4352 "rand 0.8.5",
4403 "sha2 0.10.2",4353 "sha2 0.10.2",
4434 "futures 0.3.21",4384 "futures 0.3.21",
4435 "libp2p-core",4385 "libp2p-core",
4436 "log",4386 "log",
4437 "prost",4387 "prost 0.9.0",
4438 "prost-build",4388 "prost-build",
4439 "unsigned-varint",4389 "unsigned-varint",
4440 "void",4390 "void",
4470 "libp2p-swarm",4420 "libp2p-swarm",
4471 "log",4421 "log",
4472 "pin-project 1.0.10",4422 "pin-project 1.0.10",
4473 "prost",4423 "prost 0.9.0",
4474 "prost-build",4424 "prost-build",
4475 "rand 0.8.5",4425 "rand 0.8.5",
4476 "smallvec",4426 "smallvec",
4494 "libp2p-core",4444 "libp2p-core",
4495 "libp2p-swarm",4445 "libp2p-swarm",
4496 "log",4446 "log",
4497 "prost",4447 "prost 0.9.0",
4498 "prost-build",4448 "prost-build",
4499 "rand 0.8.5",4449 "rand 0.8.5",
4500 "sha2 0.10.2",4450 "sha2 0.10.2",
4848source = "registry+https://github.com/rust-lang/crates.io-index"4798source = "registry+https://github.com/rust-lang/crates.io-index"
4849checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"4799checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
4800
4801[[package]]
4802name = "memfd"
4803version = "0.4.1"
4804source = "registry+https://github.com/rust-lang/crates.io-index"
4805checksum = "f6627dc657574b49d6ad27105ed671822be56e0d2547d413bfbf3e8d8fa92e7a"
4806dependencies = [
4807 "libc",
4808]
48504809
4851[[package]]4810[[package]]
4852name = "memmap2"4811name = "memmap2"
4913 "zeroize",4872 "zeroize",
4914]4873]
4915
4916[[package]]
4917name = "metered-channel"
4918version = "0.9.22"
4919source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
4920dependencies = [
4921 "coarsetime",
4922 "crossbeam-queue",
4923 "derive_more",
4924 "futures 0.3.21",
4925 "futures-timer",
4926 "nanorand",
4927 "thiserror",
4928 "tracing-gum",
4929]
49304874
4931[[package]]4875[[package]]
4932name = "mick-jaeger"4876name = "mick-jaeger"
5007source = "registry+https://github.com/rust-lang/crates.io-index"4951source = "registry+https://github.com/rust-lang/crates.io-index"
5008checksum = "e3db354f401db558759dfc1e568d010a5d4146f4d3f637be1275ec4a3cf09689"4952checksum = "e3db354f401db558759dfc1e568d010a5d4146f4d3f637be1275ec4a3cf09689"
5009dependencies = [4953dependencies = [
5010 "blake2b_simd 1.0.0",4954 "blake2b_simd",
5011 "blake2s_simd",4955 "blake2s_simd",
5012 "blake3",4956 "blake3",
5013 "core2",4957 "core2",
53075251
5308[[package]]5252[[package]]
5309name = "opal-runtime"5253name = "opal-runtime"
5310version = "0.9.22"5254version = "0.9.23"
5311dependencies = [5255dependencies = [
5312 "cumulus-pallet-aura-ext",5256 "cumulus-pallet-aura-ext",
5313 "cumulus-pallet-dmp-queue",5257 "cumulus-pallet-dmp-queue",
5405source = "registry+https://github.com/rust-lang/crates.io-index"5349source = "registry+https://github.com/rust-lang/crates.io-index"
5406checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"5350checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
5351
5352[[package]]
5353name = "orchestra"
5354version = "0.0.1"
5355source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
5356dependencies = [
5357 "async-trait",
5358 "dyn-clonable",
5359 "futures 0.3.21",
5360 "futures-timer",
5361 "orchestra-proc-macro",
5362 "pin-project 1.0.10",
5363 "prioritized-metered-channel",
5364 "thiserror",
5365 "tracing",
5366]
5367
5368[[package]]
5369name = "orchestra-proc-macro"
5370version = "0.0.1"
5371source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
5372dependencies = [
5373 "expander 0.0.6",
5374 "petgraph",
5375 "proc-macro-crate",
5376 "proc-macro2",
5377 "quote",
5378 "syn",
5379]
54075380
5408[[package]]5381[[package]]
5409name = "ordered-float"5382name = "ordered-float"
5417[[package]]5390[[package]]
5418name = "orml-vesting"5391name = "orml-vesting"
5419version = "0.4.1-dev"5392version = "0.4.1-dev"
5420source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.22#59f6596ae462035d153e198ba5db8c5e084e6d25"5393source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.23#97ff860ba8b2bbd246e6c91395fb95fd89c2951f"
5421dependencies = [5394dependencies = [
5422 "frame-support",5395 "frame-support",
5423 "frame-system",5396 "frame-system",
5447[[package]]5420[[package]]
5448name = "pallet-aura"5421name = "pallet-aura"
5449version = "4.0.0-dev"5422version = "4.0.0-dev"
5450source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5423source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5451dependencies = [5424dependencies = [
5452 "frame-support",5425 "frame-support",
5453 "frame-system",5426 "frame-system",
5463[[package]]5436[[package]]
5464name = "pallet-authority-discovery"5437name = "pallet-authority-discovery"
5465version = "4.0.0-dev"5438version = "4.0.0-dev"
5466source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5439source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5467dependencies = [5440dependencies = [
5468 "frame-support",5441 "frame-support",
5469 "frame-system",5442 "frame-system",
5479[[package]]5452[[package]]
5480name = "pallet-authorship"5453name = "pallet-authorship"
5481version = "4.0.0-dev"5454version = "4.0.0-dev"
5482source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5455source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5483dependencies = [5456dependencies = [
5484 "frame-support",5457 "frame-support",
5485 "frame-system",5458 "frame-system",
5494[[package]]5467[[package]]
5495name = "pallet-babe"5468name = "pallet-babe"
5496version = "4.0.0-dev"5469version = "4.0.0-dev"
5497source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5470source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5498dependencies = [5471dependencies = [
5499 "frame-benchmarking",5472 "frame-benchmarking",
5500 "frame-support",5473 "frame-support",
5518[[package]]5491[[package]]
5519name = "pallet-bags-list"5492name = "pallet-bags-list"
5520version = "4.0.0-dev"5493version = "4.0.0-dev"
5521source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5494source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5522dependencies = [5495dependencies = [
5523 "frame-benchmarking",5496 "frame-benchmarking",
5524 "frame-election-provider-support",5497 "frame-election-provider-support",
5538[[package]]5511[[package]]
5539name = "pallet-balances"5512name = "pallet-balances"
5540version = "4.0.0-dev"5513version = "4.0.0-dev"
5541source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5514source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5542dependencies = [5515dependencies = [
5543 "frame-benchmarking",5516 "frame-benchmarking",
5544 "frame-support",5517 "frame-support",
5553[[package]]5526[[package]]
5554name = "pallet-base-fee"5527name = "pallet-base-fee"
5555version = "1.0.0"5528version = "1.0.0"
5556source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"5529source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
5557dependencies = [5530dependencies = [
5558 "fp-evm",5531 "fp-evm",
5559 "frame-support",5532 "frame-support",
5568[[package]]5541[[package]]
5569name = "pallet-beefy"5542name = "pallet-beefy"
5570version = "4.0.0-dev"5543version = "4.0.0-dev"
5571source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5544source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5572dependencies = [5545dependencies = [
5573 "beefy-primitives",5546 "beefy-primitives",
5574 "frame-support",5547 "frame-support",
5584[[package]]5557[[package]]
5585name = "pallet-beefy-mmr"5558name = "pallet-beefy-mmr"
5586version = "4.0.0-dev"5559version = "4.0.0-dev"
5587source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5560source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5588dependencies = [5561dependencies = [
5589 "beefy-merkle-tree",5562 "beefy-merkle-tree",
5590 "beefy-primitives",5563 "beefy-primitives",
5607[[package]]5580[[package]]
5608name = "pallet-bounties"5581name = "pallet-bounties"
5609version = "4.0.0-dev"5582version = "4.0.0-dev"
5610source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5583source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5611dependencies = [5584dependencies = [
5612 "frame-benchmarking",5585 "frame-benchmarking",
5613 "frame-support",5586 "frame-support",
5625[[package]]5598[[package]]
5626name = "pallet-bridge-dispatch"5599name = "pallet-bridge-dispatch"
5627version = "0.1.0"5600version = "0.1.0"
5628source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"5601source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
5629dependencies = [5602dependencies = [
5630 "bp-message-dispatch",5603 "bp-message-dispatch",
5631 "bp-runtime",5604 "bp-runtime",
5642[[package]]5615[[package]]
5643name = "pallet-bridge-grandpa"5616name = "pallet-bridge-grandpa"
5644version = "0.1.0"5617version = "0.1.0"
5645source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"5618source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
5646dependencies = [5619dependencies = [
5647 "bp-header-chain",5620 "bp-header-chain",
5648 "bp-runtime",5621 "bp-runtime",
5664[[package]]5637[[package]]
5665name = "pallet-bridge-messages"5638name = "pallet-bridge-messages"
5666version = "0.1.0"5639version = "0.1.0"
5667source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"5640source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
5668dependencies = [5641dependencies = [
5669 "bitvec 1.0.0",5642 "bitvec 1.0.0",
5670 "bp-message-dispatch",5643 "bp-message-dispatch",
5685[[package]]5658[[package]]
5686name = "pallet-child-bounties"5659name = "pallet-child-bounties"
5687version = "4.0.0-dev"5660version = "4.0.0-dev"
5688source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5661source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5689dependencies = [5662dependencies = [
5690 "frame-benchmarking",5663 "frame-benchmarking",
5691 "frame-support",5664 "frame-support",
5704[[package]]5677[[package]]
5705name = "pallet-collective"5678name = "pallet-collective"
5706version = "4.0.0-dev"5679version = "4.0.0-dev"
5707source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5680source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5708dependencies = [5681dependencies = [
5709 "frame-benchmarking",5682 "frame-benchmarking",
5710 "frame-support",5683 "frame-support",
5742[[package]]5715[[package]]
5743name = "pallet-democracy"5716name = "pallet-democracy"
5744version = "4.0.0-dev"5717version = "4.0.0-dev"
5745source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5718source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5746dependencies = [5719dependencies = [
5747 "frame-benchmarking",5720 "frame-benchmarking",
5748 "frame-support",5721 "frame-support",
5758[[package]]5731[[package]]
5759name = "pallet-election-provider-multi-phase"5732name = "pallet-election-provider-multi-phase"
5760version = "4.0.0-dev"5733version = "4.0.0-dev"
5761source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5734source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5762dependencies = [5735dependencies = [
5763 "frame-benchmarking",5736 "frame-benchmarking",
5764 "frame-election-provider-support",5737 "frame-election-provider-support",
5781[[package]]5754[[package]]
5782name = "pallet-election-provider-support-benchmarking"5755name = "pallet-election-provider-support-benchmarking"
5783version = "4.0.0-dev"5756version = "4.0.0-dev"
5784source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5757source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5785dependencies = [5758dependencies = [
5786 "frame-benchmarking",5759 "frame-benchmarking",
5787 "frame-election-provider-support",5760 "frame-election-provider-support",
5794[[package]]5767[[package]]
5795name = "pallet-elections-phragmen"5768name = "pallet-elections-phragmen"
5796version = "5.0.0-dev"5769version = "5.0.0-dev"
5797source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5770source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5798dependencies = [5771dependencies = [
5799 "frame-benchmarking",5772 "frame-benchmarking",
5800 "frame-support",5773 "frame-support",
5812[[package]]5785[[package]]
5813name = "pallet-ethereum"5786name = "pallet-ethereum"
5814version = "4.0.0-dev"5787version = "4.0.0-dev"
5815source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"5788source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
5816dependencies = [5789dependencies = [
5817 "ethereum",5790 "ethereum",
5818 "ethereum-types",5791 "ethereum-types",
5841[[package]]5814[[package]]
5842name = "pallet-evm"5815name = "pallet-evm"
5843version = "6.0.0-dev"5816version = "6.0.0-dev"
5844source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"5817source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
5845dependencies = [5818dependencies = [
5846 "evm",5819 "evm",
5847 "fp-evm",5820 "fp-evm",
5964[[package]]5937[[package]]
5965name = "pallet-gilt"5938name = "pallet-gilt"
5966version = "4.0.0-dev"5939version = "4.0.0-dev"
5967source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5940source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5968dependencies = [5941dependencies = [
5969 "frame-benchmarking",5942 "frame-benchmarking",
5970 "frame-support",5943 "frame-support",
5979[[package]]5952[[package]]
5980name = "pallet-grandpa"5953name = "pallet-grandpa"
5981version = "4.0.0-dev"5954version = "4.0.0-dev"
5982source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5955source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
5983dependencies = [5956dependencies = [
5984 "frame-benchmarking",5957 "frame-benchmarking",
5985 "frame-support",5958 "frame-support",
6002[[package]]5975[[package]]
6003name = "pallet-identity"5976name = "pallet-identity"
6004version = "4.0.0-dev"5977version = "4.0.0-dev"
6005source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5978source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6006dependencies = [5979dependencies = [
6007 "enumflags2",5980 "enumflags2",
6008 "frame-benchmarking",5981 "frame-benchmarking",
6018[[package]]5991[[package]]
6019name = "pallet-im-online"5992name = "pallet-im-online"
6020version = "4.0.0-dev"5993version = "4.0.0-dev"
6021source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"5994source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6022dependencies = [5995dependencies = [
6023 "frame-benchmarking",5996 "frame-benchmarking",
6024 "frame-support",5997 "frame-support",
6038[[package]]6011[[package]]
6039name = "pallet-indices"6012name = "pallet-indices"
6040version = "4.0.0-dev"6013version = "4.0.0-dev"
6041source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6014source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6042dependencies = [6015dependencies = [
6043 "frame-benchmarking",6016 "frame-benchmarking",
6044 "frame-support",6017 "frame-support",
6074[[package]]6047[[package]]
6075name = "pallet-membership"6048name = "pallet-membership"
6076version = "4.0.0-dev"6049version = "4.0.0-dev"
6077source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6050source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6078dependencies = [6051dependencies = [
6079 "frame-benchmarking",6052 "frame-benchmarking",
6080 "frame-support",6053 "frame-support",
6091[[package]]6064[[package]]
6092name = "pallet-mmr"6065name = "pallet-mmr"
6093version = "4.0.0-dev"6066version = "4.0.0-dev"
6094source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6067source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6095dependencies = [6068dependencies = [
6096 "ckb-merkle-mountain-range",6069 "ckb-merkle-mountain-range",
6097 "frame-benchmarking",6070 "frame-benchmarking",
6109[[package]]6082[[package]]
6110name = "pallet-mmr-rpc"6083name = "pallet-mmr-rpc"
6111version = "3.0.0"6084version = "3.0.0"
6112source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6085source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6113dependencies = [6086dependencies = [
6114 "jsonrpsee",6087 "jsonrpsee",
6115 "parity-scale-codec 3.1.5",6088 "parity-scale-codec 3.1.5",
6124[[package]]6097[[package]]
6125name = "pallet-multisig"6098name = "pallet-multisig"
6126version = "4.0.0-dev"6099version = "4.0.0-dev"
6127source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6100source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6128dependencies = [6101dependencies = [
6129 "frame-benchmarking",6102 "frame-benchmarking",
6130 "frame-support",6103 "frame-support",
6139[[package]]6112[[package]]
6140name = "pallet-nicks"6113name = "pallet-nicks"
6141version = "4.0.0-dev"6114version = "4.0.0-dev"
6142source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6115source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6143dependencies = [6116dependencies = [
6144 "frame-support",6117 "frame-support",
6145 "frame-system",6118 "frame-system",
6153[[package]]6126[[package]]
6154name = "pallet-nomination-pools"6127name = "pallet-nomination-pools"
6155version = "1.0.0"6128version = "1.0.0"
6156source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6129source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6157dependencies = [6130dependencies = [
6158 "frame-support",6131 "frame-support",
6159 "frame-system",6132 "frame-system",
6133 "log",
6160 "parity-scale-codec 3.1.5",6134 "parity-scale-codec 3.1.5",
6161 "scale-info",6135 "scale-info",
6162 "sp-core",6136 "sp-core",
6168[[package]]6142[[package]]
6169name = "pallet-nomination-pools-benchmarking"6143name = "pallet-nomination-pools-benchmarking"
6170version = "1.0.0"6144version = "1.0.0"
6171source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6145source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6172dependencies = [6146dependencies = [
6173 "frame-benchmarking",6147 "frame-benchmarking",
6174 "frame-election-provider-support",6148 "frame-election-provider-support",
6209[[package]]6183[[package]]
6210name = "pallet-offences"6184name = "pallet-offences"
6211version = "4.0.0-dev"6185version = "4.0.0-dev"
6212source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6186source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6213dependencies = [6187dependencies = [
6214 "frame-support",6188 "frame-support",
6215 "frame-system",6189 "frame-system",
6226[[package]]6200[[package]]
6227name = "pallet-offences-benchmarking"6201name = "pallet-offences-benchmarking"
6228version = "4.0.0-dev"6202version = "4.0.0-dev"
6229source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6203source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6230dependencies = [6204dependencies = [
6231 "frame-benchmarking",6205 "frame-benchmarking",
6232 "frame-election-provider-support",6206 "frame-election-provider-support",
6249[[package]]6223[[package]]
6250name = "pallet-preimage"6224name = "pallet-preimage"
6251version = "4.0.0-dev"6225version = "4.0.0-dev"
6252source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6226source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6253dependencies = [6227dependencies = [
6254 "frame-benchmarking",6228 "frame-benchmarking",
6255 "frame-support",6229 "frame-support",
6265[[package]]6239[[package]]
6266name = "pallet-proxy"6240name = "pallet-proxy"
6267version = "4.0.0-dev"6241version = "4.0.0-dev"
6268source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6242source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6269dependencies = [6243dependencies = [
6270 "frame-benchmarking",6244 "frame-benchmarking",
6271 "frame-support",6245 "frame-support",
6280[[package]]6254[[package]]
6281name = "pallet-randomness-collective-flip"6255name = "pallet-randomness-collective-flip"
6282version = "4.0.0-dev"6256version = "4.0.0-dev"
6283source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6257source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6284dependencies = [6258dependencies = [
6285 "frame-support",6259 "frame-support",
6286 "frame-system",6260 "frame-system",
6294[[package]]6268[[package]]
6295name = "pallet-recovery"6269name = "pallet-recovery"
6296version = "4.0.0-dev"6270version = "4.0.0-dev"
6297source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6271source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6298dependencies = [6272dependencies = [
6299 "frame-benchmarking",6273 "frame-benchmarking",
6300 "frame-support",6274 "frame-support",
6369[[package]]6343[[package]]
6370name = "pallet-scheduler"6344name = "pallet-scheduler"
6371version = "4.0.0-dev"6345version = "4.0.0-dev"
6372source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6346source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6373dependencies = [6347dependencies = [
6374 "frame-benchmarking",6348 "frame-benchmarking",
6375 "frame-support",6349 "frame-support",
6385[[package]]6359[[package]]
6386name = "pallet-session"6360name = "pallet-session"
6387version = "4.0.0-dev"6361version = "4.0.0-dev"
6388source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6362source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6389dependencies = [6363dependencies = [
6390 "frame-support",6364 "frame-support",
6391 "frame-system",6365 "frame-system",
6406[[package]]6380[[package]]
6407name = "pallet-session-benchmarking"6381name = "pallet-session-benchmarking"
6408version = "4.0.0-dev"6382version = "4.0.0-dev"
6409source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6383source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6410dependencies = [6384dependencies = [
6411 "frame-benchmarking",6385 "frame-benchmarking",
6412 "frame-support",6386 "frame-support",
6422[[package]]6396[[package]]
6423name = "pallet-society"6397name = "pallet-society"
6424version = "4.0.0-dev"6398version = "4.0.0-dev"
6425source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6399source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6426dependencies = [6400dependencies = [
6427 "frame-support",6401 "frame-support",
6428 "frame-system",6402 "frame-system",
6436[[package]]6410[[package]]
6437name = "pallet-staking"6411name = "pallet-staking"
6438version = "4.0.0-dev"6412version = "4.0.0-dev"
6439source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6413source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6440dependencies = [6414dependencies = [
6441 "frame-benchmarking",6415 "frame-benchmarking",
6442 "frame-election-provider-support",6416 "frame-election-provider-support",
6459[[package]]6433[[package]]
6460name = "pallet-staking-reward-curve"6434name = "pallet-staking-reward-curve"
6461version = "4.0.0-dev"6435version = "4.0.0-dev"
6462source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6436source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6463dependencies = [6437dependencies = [
6464 "proc-macro-crate",6438 "proc-macro-crate",
6465 "proc-macro2",6439 "proc-macro2",
6470[[package]]6444[[package]]
6471name = "pallet-staking-reward-fn"6445name = "pallet-staking-reward-fn"
6472version = "4.0.0-dev"6446version = "4.0.0-dev"
6473source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6447source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6474dependencies = [6448dependencies = [
6475 "log",6449 "log",
6476 "sp-arithmetic",6450 "sp-arithmetic",
6494[[package]]6468[[package]]
6495name = "pallet-sudo"6469name = "pallet-sudo"
6496version = "4.0.0-dev"6470version = "4.0.0-dev"
6497source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6471source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6498dependencies = [6472dependencies = [
6499 "frame-support",6473 "frame-support",
6500 "frame-system",6474 "frame-system",
6508[[package]]6482[[package]]
6509name = "pallet-template-transaction-payment"6483name = "pallet-template-transaction-payment"
6510version = "3.0.0"6484version = "3.0.0"
6511source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.22#9fc4fbc3f83fdc793205f3fef1c97ef168d4dfe0"6485source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.23#5f3b55354830f9707d6632aaa54362deea981116"
6512dependencies = [6486dependencies = [
6513 "frame-benchmarking",6487 "frame-benchmarking",
6514 "frame-support",6488 "frame-support",
6528[[package]]6502[[package]]
6529name = "pallet-timestamp"6503name = "pallet-timestamp"
6530version = "4.0.0-dev"6504version = "4.0.0-dev"
6531source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6505source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6532dependencies = [6506dependencies = [
6533 "frame-benchmarking",6507 "frame-benchmarking",
6534 "frame-support",6508 "frame-support",
6546[[package]]6520[[package]]
6547name = "pallet-tips"6521name = "pallet-tips"
6548version = "4.0.0-dev"6522version = "4.0.0-dev"
6549source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6523source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6550dependencies = [6524dependencies = [
6551 "frame-benchmarking",6525 "frame-benchmarking",
6552 "frame-support",6526 "frame-support",
6565[[package]]6539[[package]]
6566name = "pallet-transaction-payment"6540name = "pallet-transaction-payment"
6567version = "4.0.0-dev"6541version = "4.0.0-dev"
6568source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6542source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6569dependencies = [6543dependencies = [
6570 "frame-support",6544 "frame-support",
6571 "frame-system",6545 "frame-system",
6572 "parity-scale-codec 3.1.5",6546 "parity-scale-codec 3.1.5",
6573 "scale-info",6547 "scale-info",
6574 "serde",6548 "serde",
6575 "smallvec",
6576 "sp-core",6549 "sp-core",
6577 "sp-io",6550 "sp-io",
6578 "sp-runtime",6551 "sp-runtime",
6582[[package]]6555[[package]]
6583name = "pallet-transaction-payment-rpc"6556name = "pallet-transaction-payment-rpc"
6584version = "4.0.0-dev"6557version = "4.0.0-dev"
6585source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6558source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6586dependencies = [6559dependencies = [
6587 "jsonrpsee",6560 "jsonrpsee",
6588 "pallet-transaction-payment-rpc-runtime-api",6561 "pallet-transaction-payment-rpc-runtime-api",
6597[[package]]6570[[package]]
6598name = "pallet-transaction-payment-rpc-runtime-api"6571name = "pallet-transaction-payment-rpc-runtime-api"
6599version = "4.0.0-dev"6572version = "4.0.0-dev"
6600source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6573source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6601dependencies = [6574dependencies = [
6602 "pallet-transaction-payment",6575 "pallet-transaction-payment",
6603 "parity-scale-codec 3.1.5",6576 "parity-scale-codec 3.1.5",
6608[[package]]6581[[package]]
6609name = "pallet-treasury"6582name = "pallet-treasury"
6610version = "4.0.0-dev"6583version = "4.0.0-dev"
6611source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6584source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6612dependencies = [6585dependencies = [
6613 "frame-benchmarking",6586 "frame-benchmarking",
6614 "frame-support",6587 "frame-support",
6667[[package]]6640[[package]]
6668name = "pallet-utility"6641name = "pallet-utility"
6669version = "4.0.0-dev"6642version = "4.0.0-dev"
6670source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6643source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6671dependencies = [6644dependencies = [
6672 "frame-benchmarking",6645 "frame-benchmarking",
6673 "frame-support",6646 "frame-support",
6683[[package]]6656[[package]]
6684name = "pallet-vesting"6657name = "pallet-vesting"
6685version = "4.0.0-dev"6658version = "4.0.0-dev"
6686source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"6659source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
6687dependencies = [6660dependencies = [
6688 "frame-benchmarking",6661 "frame-benchmarking",
6689 "frame-support",6662 "frame-support",
66976670
6698[[package]]6671[[package]]
6699name = "pallet-xcm"6672name = "pallet-xcm"
6700version = "0.9.22"6673version = "0.9.23"
6701source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"6674source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
6702dependencies = [6675dependencies = [
6703 "frame-support",6676 "frame-support",
6704 "frame-system",6677 "frame-system",
67156688
6716[[package]]6689[[package]]
6717name = "pallet-xcm-benchmarks"6690name = "pallet-xcm-benchmarks"
6718version = "0.9.22"6691version = "0.9.23"
6719source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"6692source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
6720dependencies = [6693dependencies = [
6721 "frame-benchmarking",6694 "frame-benchmarking",
6722 "frame-support",6695 "frame-support",
6733[[package]]6706[[package]]
6734name = "parachain-info"6707name = "parachain-info"
6735version = "0.1.0"6708version = "0.1.0"
6736source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"6709source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#9c1470893c6bd5f33ad8eb104d159177c6847df5"
6737dependencies = [6710dependencies = [
6738 "cumulus-primitives-core",6711 "cumulus-primitives-core",
6739 "frame-support",6712 "frame-support",
6900 "cfg-if 1.0.0",6873 "cfg-if 1.0.0",
6901 "instant",6874 "instant",
6902 "libc",6875 "libc",
6903 "redox_syscall 0.2.13",6876 "redox_syscall",
6904 "smallvec",6877 "smallvec",
6905 "winapi",6878 "winapi",
6906]6879]
6913dependencies = [6886dependencies = [
6914 "cfg-if 1.0.0",6887 "cfg-if 1.0.0",
6915 "libc",6888 "libc",
6916 "redox_syscall 0.2.13",6889 "redox_syscall",
6917 "smallvec",6890 "smallvec",
6918 "windows-sys",6891 "windows-sys",
6919]6892]
70797052
7080[[package]]7053[[package]]
7081name = "polkadot-approval-distribution"7054name = "polkadot-approval-distribution"
7082version = "0.9.22"7055version = "0.9.23"
7083source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7056source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7084dependencies = [7057dependencies = [
7085 "futures 0.3.21",7058 "futures 0.3.21",
7086 "polkadot-node-network-protocol",7059 "polkadot-node-network-protocol",
70947067
7095[[package]]7068[[package]]
7096name = "polkadot-availability-bitfield-distribution"7069name = "polkadot-availability-bitfield-distribution"
7097version = "0.9.22"7070version = "0.9.23"
7098source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7071source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7099dependencies = [7072dependencies = [
7100 "futures 0.3.21",7073 "futures 0.3.21",
7101 "polkadot-node-network-protocol",7074 "polkadot-node-network-protocol",
71087081
7109[[package]]7082[[package]]
7110name = "polkadot-availability-distribution"7083name = "polkadot-availability-distribution"
7111version = "0.9.22"7084version = "0.9.23"
7112source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7085source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7113dependencies = [7086dependencies = [
7114 "derive_more",7087 "derive_more",
7115 "fatality",7088 "fatality",
71317104
7132[[package]]7105[[package]]
7133name = "polkadot-availability-recovery"7106name = "polkadot-availability-recovery"
7134version = "0.9.22"7107version = "0.9.23"
7135source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7108source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7136dependencies = [7109dependencies = [
7137 "fatality",7110 "fatality",
7138 "futures 0.3.21",7111 "futures 0.3.21",
71527125
7153[[package]]7126[[package]]
7154name = "polkadot-cli"7127name = "polkadot-cli"
7155version = "0.9.22"7128version = "0.9.23"
7156source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7129source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7157dependencies = [7130dependencies = [
7158 "clap",7131 "clap",
7159 "frame-benchmarking-cli",7132 "frame-benchmarking-cli",
71777150
7178[[package]]7151[[package]]
7179name = "polkadot-client"7152name = "polkadot-client"
7180version = "0.9.22"7153version = "0.9.23"
7181source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7154source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7182dependencies = [7155dependencies = [
7183 "beefy-primitives",7156 "beefy-primitives",
7184 "frame-benchmarking",7157 "frame-benchmarking",
72177190
7218[[package]]7191[[package]]
7219name = "polkadot-collator-protocol"7192name = "polkadot-collator-protocol"
7220version = "0.9.22"7193version = "0.9.23"
7221source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7194source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7222dependencies = [7195dependencies = [
7223 "always-assert",7196 "always-assert",
7224 "fatality",7197 "fatality",
72387211
7239[[package]]7212[[package]]
7240name = "polkadot-core-primitives"7213name = "polkadot-core-primitives"
7241version = "0.9.22"7214version = "0.9.23"
7242source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7215source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7243dependencies = [7216dependencies = [
7244 "parity-scale-codec 3.1.5",7217 "parity-scale-codec 3.1.5",
7245 "parity-util-mem",7218 "parity-util-mem",
72517224
7252[[package]]7225[[package]]
7253name = "polkadot-dispute-distribution"7226name = "polkadot-dispute-distribution"
7254version = "0.9.22"7227version = "0.9.23"
7255source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7228source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7256dependencies = [7229dependencies = [
7257 "derive_more",7230 "derive_more",
7258 "fatality",7231 "fatality",
72747247
7275[[package]]7248[[package]]
7276name = "polkadot-erasure-coding"7249name = "polkadot-erasure-coding"
7277version = "0.9.22"7250version = "0.9.23"
7278source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7251source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7279dependencies = [7252dependencies = [
7280 "parity-scale-codec 3.1.5",7253 "parity-scale-codec 3.1.5",
7281 "polkadot-node-primitives",7254 "polkadot-node-primitives",
72887261
7289[[package]]7262[[package]]
7290name = "polkadot-gossip-support"7263name = "polkadot-gossip-support"
7291version = "0.9.22"7264version = "0.9.23"
7292source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7265source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7293dependencies = [7266dependencies = [
7294 "futures 0.3.21",7267 "futures 0.3.21",
7295 "futures-timer",7268 "futures-timer",
73087281
7309[[package]]7282[[package]]
7310name = "polkadot-network-bridge"7283name = "polkadot-network-bridge"
7311version = "0.9.22"7284version = "0.9.23"
7312source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7285source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7313dependencies = [7286dependencies = [
7314 "always-assert",7287 "always-assert",
7315 "async-trait",7288 "async-trait",
73297302
7330[[package]]7303[[package]]
7331name = "polkadot-node-collation-generation"7304name = "polkadot-node-collation-generation"
7332version = "0.9.22"7305version = "0.9.23"
7333source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7306source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7334dependencies = [7307dependencies = [
7335 "futures 0.3.21",7308 "futures 0.3.21",
7336 "parity-scale-codec 3.1.5",7309 "parity-scale-codec 3.1.5",
73477320
7348[[package]]7321[[package]]
7349name = "polkadot-node-core-approval-voting"7322name = "polkadot-node-core-approval-voting"
7350version = "0.9.22"7323version = "0.9.23"
7351source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7324source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7352dependencies = [7325dependencies = [
7353 "bitvec 1.0.0",7326 "bitvec 1.0.0",
7354 "derive_more",7327 "derive_more",
73767349
7377[[package]]7350[[package]]
7378name = "polkadot-node-core-av-store"7351name = "polkadot-node-core-av-store"
7379version = "0.9.22"7352version = "0.9.23"
7380source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7353source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7381dependencies = [7354dependencies = [
7382 "bitvec 1.0.0",7355 "bitvec 1.0.0",
7383 "futures 0.3.21",7356 "futures 0.3.21",
73967369
7397[[package]]7370[[package]]
7398name = "polkadot-node-core-backing"7371name = "polkadot-node-core-backing"
7399version = "0.9.22"7372version = "0.9.23"
7400source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7373source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7401dependencies = [7374dependencies = [
7402 "bitvec 1.0.0",7375 "bitvec 1.0.0",
7403 "fatality",7376 "fatality",
74157388
7416[[package]]7389[[package]]
7417name = "polkadot-node-core-bitfield-signing"7390name = "polkadot-node-core-bitfield-signing"
7418version = "0.9.22"7391version = "0.9.23"
7419source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7392source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7420dependencies = [7393dependencies = [
7421 "futures 0.3.21",7394 "futures 0.3.21",
7422 "polkadot-node-subsystem",7395 "polkadot-node-subsystem",
74307403
7431[[package]]7404[[package]]
7432name = "polkadot-node-core-candidate-validation"7405name = "polkadot-node-core-candidate-validation"
7433version = "0.9.22"7406version = "0.9.23"
7434source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7407source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7435dependencies = [7408dependencies = [
7436 "async-trait",7409 "async-trait",
7437 "futures 0.3.21",7410 "futures 0.3.21",
74487421
7449[[package]]7422[[package]]
7450name = "polkadot-node-core-chain-api"7423name = "polkadot-node-core-chain-api"
7451version = "0.9.22"7424version = "0.9.23"
7452source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7425source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7453dependencies = [7426dependencies = [
7454 "futures 0.3.21",7427 "futures 0.3.21",
7455 "polkadot-node-subsystem",7428 "polkadot-node-subsystem",
74637436
7464[[package]]7437[[package]]
7465name = "polkadot-node-core-chain-selection"7438name = "polkadot-node-core-chain-selection"
7466version = "0.9.22"7439version = "0.9.23"
7467source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7440source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7468dependencies = [7441dependencies = [
7469 "futures 0.3.21",7442 "futures 0.3.21",
7470 "futures-timer",7443 "futures-timer",
74807453
7481[[package]]7454[[package]]
7482name = "polkadot-node-core-dispute-coordinator"7455name = "polkadot-node-core-dispute-coordinator"
7483version = "0.9.22"7456version = "0.9.23"
7484source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7457source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7485dependencies = [7458dependencies = [
7486 "fatality",7459 "fatality",
7487 "futures 0.3.21",7460 "futures 0.3.21",
74997472
7500[[package]]7473[[package]]
7501name = "polkadot-node-core-parachains-inherent"7474name = "polkadot-node-core-parachains-inherent"
7502version = "0.9.22"7475version = "0.9.23"
7503source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7476source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7504dependencies = [7477dependencies = [
7505 "async-trait",7478 "async-trait",
7506 "futures 0.3.21",7479 "futures 0.3.21",
75167489
7517[[package]]7490[[package]]
7518name = "polkadot-node-core-provisioner"7491name = "polkadot-node-core-provisioner"
7519version = "0.9.22"7492version = "0.9.23"
7520source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7493source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7521dependencies = [7494dependencies = [
7522 "bitvec 1.0.0",7495 "bitvec 1.0.0",
7523 "fatality",7496 "fatality",
75347507
7535[[package]]7508[[package]]
7536name = "polkadot-node-core-pvf"7509name = "polkadot-node-core-pvf"
7537version = "0.9.22"7510version = "0.9.23"
7538source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7511source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7539dependencies = [7512dependencies = [
7540 "always-assert",7513 "always-assert",
7541 "assert_matches",7514 "assert_matches",
7559 "sp-maybe-compressed-blob",7532 "sp-maybe-compressed-blob",
7560 "sp-tracing",7533 "sp-tracing",
7561 "sp-wasm-interface",7534 "sp-wasm-interface",
7535 "tempfile",
7562 "tracing-gum",7536 "tracing-gum",
7563]7537]
75647538
7565[[package]]7539[[package]]
7566name = "polkadot-node-core-pvf-checker"7540name = "polkadot-node-core-pvf-checker"
7567version = "0.9.22"7541version = "0.9.23"
7568source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7542source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7569dependencies = [7543dependencies = [
7570 "futures 0.3.21",7544 "futures 0.3.21",
7571 "polkadot-node-primitives",7545 "polkadot-node-primitives",
75807554
7581[[package]]7555[[package]]
7582name = "polkadot-node-core-runtime-api"7556name = "polkadot-node-core-runtime-api"
7583version = "0.9.22"7557version = "0.9.23"
7584source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7558source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7585dependencies = [7559dependencies = [
7586 "futures 0.3.21",7560 "futures 0.3.21",
7587 "memory-lru",7561 "memory-lru",
7592 "sp-api",7566 "sp-api",
7593 "sp-authority-discovery",7567 "sp-authority-discovery",
7594 "sp-consensus-babe",7568 "sp-consensus-babe",
7595 "sp-core",
7596 "tracing-gum",7569 "tracing-gum",
7597]7570]
75987571
7599[[package]]7572[[package]]
7600name = "polkadot-node-jaeger"7573name = "polkadot-node-jaeger"
7601version = "0.9.22"7574version = "0.9.23"
7602source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7575source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7603dependencies = [7576dependencies = [
7604 "async-std",7577 "async-std",
7605 "lazy_static",7578 "lazy_static",
76167589
7617[[package]]7590[[package]]
7618name = "polkadot-node-metrics"7591name = "polkadot-node-metrics"
7619version = "0.9.22"7592version = "0.9.23"
7620source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7593source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7621dependencies = [7594dependencies = [
7622 "bs58",7595 "bs58",
7623 "futures 0.3.21",7596 "futures 0.3.21",
7624 "futures-timer",7597 "futures-timer",
7625 "log",7598 "log",
7626 "metered-channel",
7627 "parity-scale-codec 3.1.5",7599 "parity-scale-codec 3.1.5",
7628 "polkadot-primitives",7600 "polkadot-primitives",
7601 "prioritized-metered-channel",
7629 "sc-cli",7602 "sc-cli",
7630 "sc-service",7603 "sc-service",
7631 "sc-tracing",7604 "sc-tracing",
76357608
7636[[package]]7609[[package]]
7637name = "polkadot-node-network-protocol"7610name = "polkadot-node-network-protocol"
7638version = "0.9.22"7611version = "0.9.23"
7639source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7612source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7640dependencies = [7613dependencies = [
7641 "async-trait",7614 "async-trait",
7642 "derive_more",7615 "derive_more",
7651 "sc-network",7624 "sc-network",
7652 "strum 0.24.1",7625 "strum 0.24.1",
7653 "thiserror",7626 "thiserror",
7627 "tracing-gum",
7654]7628]
76557629
7656[[package]]7630[[package]]
7657name = "polkadot-node-primitives"7631name = "polkadot-node-primitives"
7658version = "0.9.22"7632version = "0.9.23"
7659source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7633source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7660dependencies = [7634dependencies = [
7661 "bounded-vec",7635 "bounded-vec",
7662 "futures 0.3.21",7636 "futures 0.3.21",
76777651
7678[[package]]7652[[package]]
7679name = "polkadot-node-subsystem"7653name = "polkadot-node-subsystem"
7680version = "0.9.22"7654version = "0.9.23"
7681source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7655source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7682dependencies = [7656dependencies = [
7683 "polkadot-node-jaeger",7657 "polkadot-node-jaeger",
7684 "polkadot-node-subsystem-types",7658 "polkadot-node-subsystem-types",
76877661
7688[[package]]7662[[package]]
7689name = "polkadot-node-subsystem-types"7663name = "polkadot-node-subsystem-types"
7690version = "0.9.22"7664version = "0.9.23"
7691source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7665source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7692dependencies = [7666dependencies = [
7693 "derive_more",7667 "derive_more",
7694 "futures 0.3.21",7668 "futures 0.3.21",
7669 "orchestra",
7695 "polkadot-node-jaeger",7670 "polkadot-node-jaeger",
7696 "polkadot-node-network-protocol",7671 "polkadot-node-network-protocol",
7697 "polkadot-node-primitives",7672 "polkadot-node-primitives",
7698 "polkadot-overseer-gen",
7699 "polkadot-primitives",7673 "polkadot-primitives",
7700 "polkadot-statement-table",7674 "polkadot-statement-table",
7701 "sc-network",7675 "sc-network",
77067680
7707[[package]]7681[[package]]
7708name = "polkadot-node-subsystem-util"7682name = "polkadot-node-subsystem-util"
7709version = "0.9.22"7683version = "0.9.23"
7710source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7684source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7711dependencies = [7685dependencies = [
7712 "async-trait",7686 "async-trait",
7713 "derive_more",7687 "derive_more",
7716 "itertools",7690 "itertools",
7717 "kvdb",7691 "kvdb",
7718 "lru 0.7.7",7692 "lru 0.7.7",
7719 "metered-channel",
7720 "parity-db",7693 "parity-db",
7721 "parity-scale-codec 3.1.5",7694 "parity-scale-codec 3.1.5",
7722 "parity-util-mem",7695 "parity-util-mem",
7729 "polkadot-node-subsystem",7702 "polkadot-node-subsystem",
7730 "polkadot-overseer",7703 "polkadot-overseer",
7731 "polkadot-primitives",7704 "polkadot-primitives",
7705 "prioritized-metered-channel",
7732 "rand 0.8.5",7706 "rand 0.8.5",
7733 "sp-application-crypto",7707 "sp-application-crypto",
7734 "sp-core",7708 "sp-core",
77397713
7740[[package]]7714[[package]]
7741name = "polkadot-overseer"7715name = "polkadot-overseer"
7742version = "0.9.22"7716version = "0.9.23"
7743source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7717source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7744dependencies = [7718dependencies = [
7745 "futures 0.3.21",7719 "futures 0.3.21",
7746 "futures-timer",7720 "futures-timer",
7747 "lru 0.7.7",7721 "lru 0.7.7",
7722 "orchestra",
7748 "parity-util-mem",7723 "parity-util-mem",
7749 "parking_lot 0.12.1",7724 "parking_lot 0.12.1",
7750 "polkadot-node-metrics",7725 "polkadot-node-metrics",
7751 "polkadot-node-network-protocol",7726 "polkadot-node-network-protocol",
7752 "polkadot-node-primitives",7727 "polkadot-node-primitives",
7753 "polkadot-node-subsystem-types",7728 "polkadot-node-subsystem-types",
7754 "polkadot-overseer-gen",
7755 "polkadot-primitives",7729 "polkadot-primitives",
7756 "sc-client-api",7730 "sc-client-api",
7757 "sp-api",7731 "sp-api",
7732 "sp-core",
7758 "tracing-gum",7733 "tracing-gum",
7759]7734]
7760
7761[[package]]
7762name = "polkadot-overseer-gen"
7763version = "0.9.22"
7764source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
7765dependencies = [
7766 "async-trait",
7767 "futures 0.3.21",
7768 "futures-timer",
7769 "metered-channel",
7770 "pin-project 1.0.10",
7771 "polkadot-node-network-protocol",
7772 "polkadot-node-primitives",
7773 "polkadot-overseer-gen-proc-macro",
7774 "thiserror",
7775 "tracing-gum",
7776]
7777
7778[[package]]
7779name = "polkadot-overseer-gen-proc-macro"
7780version = "0.9.22"
7781source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
7782dependencies = [
7783 "expander 0.0.6",
7784 "proc-macro-crate",
7785 "proc-macro2",
7786 "quote",
7787 "syn",
7788]
77897735
7790[[package]]7736[[package]]
7791name = "polkadot-parachain"7737name = "polkadot-parachain"
7792version = "0.9.22"7738version = "0.9.23"
7793source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7739source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7794dependencies = [7740dependencies = [
7795 "derive_more",7741 "derive_more",
7796 "frame-support",7742 "frame-support",
78067752
7807[[package]]7753[[package]]
7808name = "polkadot-performance-test"7754name = "polkadot-performance-test"
7809version = "0.9.22"7755version = "0.9.23"
7810source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7756source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7811dependencies = [7757dependencies = [
7812 "env_logger",7758 "env_logger",
7813 "kusama-runtime",7759 "kusama-runtime",
78217767
7822[[package]]7768[[package]]
7823name = "polkadot-primitives"7769name = "polkadot-primitives"
7824version = "0.9.22"7770version = "0.9.23"
7825source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7771source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7826dependencies = [7772dependencies = [
7827 "bitvec 1.0.0",7773 "bitvec 1.0.0",
7828 "frame-system",7774 "frame-system",
78517797
7852[[package]]7798[[package]]
7853name = "polkadot-rpc"7799name = "polkadot-rpc"
7854version = "0.9.22"7800version = "0.9.23"
7855source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7801source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7856dependencies = [7802dependencies = [
7857 "beefy-gadget",7803 "beefy-gadget",
7858 "beefy-gadget-rpc",7804 "beefy-gadget-rpc",
78837829
7884[[package]]7830[[package]]
7885name = "polkadot-runtime"7831name = "polkadot-runtime"
7886version = "0.9.22"7832version = "0.9.23"
7887source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7833source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7888dependencies = [7834dependencies = [
7889 "beefy-primitives",7835 "beefy-primitives",
7890 "bitvec 1.0.0",7836 "bitvec 1.0.0",
79697915
7970[[package]]7916[[package]]
7971name = "polkadot-runtime-common"7917name = "polkadot-runtime-common"
7972version = "0.9.22"7918version = "0.9.23"
7973source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7919source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
7974dependencies = [7920dependencies = [
7975 "beefy-primitives",7921 "beefy-primitives",
7976 "bitvec 1.0.0",7922 "bitvec 1.0.0",
80167962
8017[[package]]7963[[package]]
8018name = "polkadot-runtime-constants"7964name = "polkadot-runtime-constants"
8019version = "0.9.22"7965version = "0.9.23"
8020source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7966source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8021dependencies = [7967dependencies = [
8022 "frame-support",7968 "frame-support",
8023 "polkadot-primitives",7969 "polkadot-primitives",
80287974
8029[[package]]7975[[package]]
8030name = "polkadot-runtime-metrics"7976name = "polkadot-runtime-metrics"
8031version = "0.9.22"7977version = "0.9.23"
8032source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7978source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8033dependencies = [7979dependencies = [
8034 "bs58",7980 "bs58",
8035 "parity-scale-codec 3.1.5",7981 "parity-scale-codec 3.1.5",
80407986
8041[[package]]7987[[package]]
8042name = "polkadot-runtime-parachains"7988name = "polkadot-runtime-parachains"
8043version = "0.9.22"7989version = "0.9.23"
8044source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"7990source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8045dependencies = [7991dependencies = [
8046 "bitflags",7992 "bitflags",
8047 "bitvec 1.0.0",7993 "bitvec 1.0.0",
80838029
8084[[package]]8030[[package]]
8085name = "polkadot-service"8031name = "polkadot-service"
8086version = "0.9.22"8032version = "0.9.23"
8087source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"8033source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8088dependencies = [8034dependencies = [
8089 "async-trait",8035 "async-trait",
8090 "beefy-gadget",8036 "beefy-gadget",
8126 "polkadot-node-network-protocol",8072 "polkadot-node-network-protocol",
8127 "polkadot-node-primitives",8073 "polkadot-node-primitives",
8128 "polkadot-node-subsystem",8074 "polkadot-node-subsystem",
8075 "polkadot-node-subsystem-types",
8129 "polkadot-node-subsystem-util",8076 "polkadot-node-subsystem-util",
8130 "polkadot-overseer",8077 "polkadot-overseer",
8131 "polkadot-parachain",8078 "polkadot-parachain",
81858132
8186[[package]]8133[[package]]
8187name = "polkadot-statement-distribution"8134name = "polkadot-statement-distribution"
8188version = "0.9.22"8135version = "0.9.23"
8189source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"8136source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8190dependencies = [8137dependencies = [
8191 "arrayvec 0.5.2",8138 "arrayvec 0.5.2",
8192 "fatality",8139 "fatality",
82068153
8207[[package]]8154[[package]]
8208name = "polkadot-statement-table"8155name = "polkadot-statement-table"
8209version = "0.9.22"8156version = "0.9.23"
8210source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"8157source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8211dependencies = [8158dependencies = [
8212 "parity-scale-codec 3.1.5",8159 "parity-scale-codec 3.1.5",
8213 "polkadot-primitives",8160 "polkadot-primitives",
82168163
8217[[package]]8164[[package]]
8218name = "polkadot-test-runtime"8165name = "polkadot-test-runtime"
8219version = "0.9.22"8166version = "0.9.23"
8220source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"8167source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8221dependencies = [8168dependencies = [
8222 "beefy-primitives",8169 "beefy-primitives",
8223 "bitvec 1.0.0",8170 "bitvec 1.0.0",
82788225
8279[[package]]8226[[package]]
8280name = "polkadot-test-service"8227name = "polkadot-test-service"
8281version = "0.9.22"8228version = "0.9.23"
8282source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"8229source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8283dependencies = [8230dependencies = [
8284 "frame-benchmarking",8231 "frame-benchmarking",
8285 "frame-system",8232 "frame-system",
8372source = "registry+https://github.com/rust-lang/crates.io-index"8319source = "registry+https://github.com/rust-lang/crates.io-index"
8373checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"8320checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
8374
8375[[package]]
8376name = "prettytable-rs"
8377version = "0.8.0"
8378source = "registry+https://github.com/rust-lang/crates.io-index"
8379checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e"
8380dependencies = [
8381 "atty",
8382 "csv",
8383 "encode_unicode",
8384 "lazy_static",
8385 "term",
8386 "unicode-width",
8387]
83888321
8389[[package]]8322[[package]]
8390name = "primitive-types"8323name = "primitive-types"
8400 "uint",8333 "uint",
8401]8334]
8335
8336[[package]]
8337name = "prioritized-metered-channel"
8338version = "0.2.0"
8339source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
8340dependencies = [
8341 "coarsetime",
8342 "crossbeam-queue",
8343 "derive_more",
8344 "futures 0.3.21",
8345 "futures-timer",
8346 "nanorand",
8347 "thiserror",
8348 "tracing",
8349]
84028350
8403[[package]]8351[[package]]
8404name = "proc-macro-crate"8352name = "proc-macro-crate"
8487checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001"8435checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001"
8488dependencies = [8436dependencies = [
8489 "bytes 1.1.0",8437 "bytes 1.1.0",
8490 "prost-derive",8438 "prost-derive 0.9.0",
8491]8439]
8440
8441[[package]]
8442name = "prost"
8443version = "0.10.4"
8444source = "registry+https://github.com/rust-lang/crates.io-index"
8445checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e"
8446dependencies = [
8447 "bytes 1.1.0",
8448 "prost-derive 0.10.1",
8449]
84928450
8493[[package]]8451[[package]]
8494name = "prost-build"8452name = "prost-build"
8503 "log",8461 "log",
8504 "multimap",8462 "multimap",
8505 "petgraph",8463 "petgraph",
8506 "prost",8464 "prost 0.9.0",
8507 "prost-types",8465 "prost-types",
8508 "regex",8466 "regex",
8509 "tempfile",8467 "tempfile",
8523 "syn",8481 "syn",
8524]8482]
8483
8484[[package]]
8485name = "prost-derive"
8486version = "0.10.1"
8487source = "registry+https://github.com/rust-lang/crates.io-index"
8488checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc"
8489dependencies = [
8490 "anyhow",
8491 "itertools",
8492 "proc-macro2",
8493 "quote",
8494 "syn",
8495]
85258496
8526[[package]]8497[[package]]
8527name = "prost-types"8498name = "prost-types"
8530checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a"8501checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a"
8531dependencies = [8502dependencies = [
8532 "bytes 1.1.0",8503 "bytes 1.1.0",
8533 "prost",8504 "prost 0.9.0",
8534]8505]
85358506
8536[[package]]8507[[package]]
85448515
8545[[package]]8516[[package]]
8546name = "quartz-runtime"8517name = "quartz-runtime"
8547version = "0.9.22"8518version = "0.9.23"
8548dependencies = [8519dependencies = [
8549 "cumulus-pallet-aura-ext",8520 "cumulus-pallet-aura-ext",
8550 "cumulus-pallet-dmp-queue",8521 "cumulus-pallet-dmp-queue",
8558 "fp-evm-mapping",8529 "fp-evm-mapping",
8559 "fp-rpc",8530 "fp-rpc",
8560 "fp-self-contained",8531 "fp-self-contained",
8532 "frame-benchmarking",
8561 "frame-executive",8533 "frame-executive",
8562 "frame-support",8534 "frame-support",
8563 "frame-system",8535 "frame-system",
8536 "frame-system-benchmarking",
8564 "frame-system-rpc-runtime-api",8537 "frame-system-rpc-runtime-api",
8565 "frame-try-runtime",8538 "frame-try-runtime",
8539 "hex-literal",
8566 "log",8540 "log",
8567 "orml-vesting",8541 "orml-vesting",
8568 "pallet-aura",8542 "pallet-aura",
8789 "num_cpus",8763 "num_cpus",
8790]8764]
8791
8792[[package]]
8793name = "redox_syscall"
8794version = "0.1.57"
8795source = "registry+https://github.com/rust-lang/crates.io-index"
8796checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
87978765
8798[[package]]8766[[package]]
8799name = "redox_syscall"8767name = "redox_syscall"
8804 "bitflags",8772 "bitflags",
8805]8773]
8806
8807[[package]]
8808name = "redox_users"
8809version = "0.3.5"
8810source = "registry+https://github.com/rust-lang/crates.io-index"
8811checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
8812dependencies = [
8813 "getrandom 0.1.16",
8814 "redox_syscall 0.1.57",
8815 "rust-argon2",
8816]
88178774
8818[[package]]8775[[package]]
8819name = "redox_users"8776name = "redox_users"
8822checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"8779checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
8823dependencies = [8780dependencies = [
8824 "getrandom 0.2.7",8781 "getrandom 0.2.7",
8825 "redox_syscall 0.2.13",8782 "redox_syscall",
8826 "thiserror",8783 "thiserror",
8827]8784]
88288785
8911[[package]]8868[[package]]
8912name = "remote-externalities"8869name = "remote-externalities"
8913version = "0.10.0-dev"8870version = "0.10.0-dev"
8914source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"8871source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
8915dependencies = [8872dependencies = [
8916 "env_logger",8873 "env_logger",
8917 "jsonrpsee",8874 "jsonrpsee",
90318988
9032[[package]]8989[[package]]
9033name = "rococo-runtime"8990name = "rococo-runtime"
9034version = "0.9.22"8991version = "0.9.23"
9035source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"8992source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
9036dependencies = [8993dependencies = [
9037 "beefy-merkle-tree",8994 "beefy-merkle-tree",
9038 "beefy-primitives",8995 "beefy-primitives",
91089065
9109[[package]]9066[[package]]
9110name = "rococo-runtime-constants"9067name = "rococo-runtime-constants"
9111version = "0.9.22"9068version = "0.9.23"
9112source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"9069source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
9113dependencies = [9070dependencies = [
9114 "frame-support",9071 "frame-support",
9115 "polkadot-primitives",9072 "polkadot-primitives",
9143 "thiserror",9100 "thiserror",
9144]9101]
9145
9146[[package]]
9147name = "rust-argon2"
9148version = "0.8.3"
9149source = "registry+https://github.com/rust-lang/crates.io-index"
9150checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
9151dependencies = [
9152 "base64",
9153 "blake2b_simd 0.5.11",
9154 "constant_time_eq",
9155 "crossbeam-utils",
9156]
91579102
9158[[package]]9103[[package]]
9159name = "rustc-demangle"9104name = "rustc-demangle"
9205 "winapi",9150 "winapi",
9206]9151]
9207
9208[[package]]
9209name = "rustls"
9210version = "0.19.1"
9211source = "registry+https://github.com/rust-lang/crates.io-index"
9212checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
9213dependencies = [
9214 "base64",
9215 "log",
9216 "ring",
9217 "sct 0.6.1",
9218 "webpki 0.21.4",
9219]
92209152
9221[[package]]9153[[package]]
9222name = "rustls"9154name = "rustls"
9226dependencies = [9158dependencies = [
9227 "log",9159 "log",
9228 "ring",9160 "ring",
9229 "sct 0.7.0",9161 "sct",
9230 "webpki 0.22.0",9162 "webpki",
9231]9163]
9232
9233[[package]]
9234name = "rustls-native-certs"
9235version = "0.5.0"
9236source = "registry+https://github.com/rust-lang/crates.io-index"
9237checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
9238dependencies = [
9239 "openssl-probe",
9240 "rustls 0.19.1",
9241 "schannel",
9242 "security-framework",
9243]
92449164
9245[[package]]9165[[package]]
9246name = "rustls-native-certs"9166name = "rustls-native-certs"
9316[[package]]9236[[package]]
9317name = "sc-allocator"9237name = "sc-allocator"
9318version = "4.1.0-dev"9238version = "4.1.0-dev"
9319source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9239source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9320dependencies = [9240dependencies = [
9321 "log",9241 "log",
9322 "sp-core",9242 "sp-core",
9327[[package]]9247[[package]]
9328name = "sc-authority-discovery"9248name = "sc-authority-discovery"
9329version = "0.10.0-dev"9249version = "0.10.0-dev"
9330source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9250source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9331dependencies = [9251dependencies = [
9332 "async-trait",9252 "async-trait",
9333 "futures 0.3.21",9253 "futures 0.3.21",
9336 "libp2p",9256 "libp2p",
9337 "log",9257 "log",
9338 "parity-scale-codec 3.1.5",9258 "parity-scale-codec 3.1.5",
9339 "prost",9259 "prost 0.10.4",
9340 "prost-build",9260 "prost-build",
9341 "rand 0.7.3",9261 "rand 0.7.3",
9342 "sc-client-api",9262 "sc-client-api",
9354[[package]]9274[[package]]
9355name = "sc-basic-authorship"9275name = "sc-basic-authorship"
9356version = "0.10.0-dev"9276version = "0.10.0-dev"
9357source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9277source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9358dependencies = [9278dependencies = [
9359 "futures 0.3.21",9279 "futures 0.3.21",
9360 "futures-timer",9280 "futures-timer",
9377[[package]]9297[[package]]
9378name = "sc-block-builder"9298name = "sc-block-builder"
9379version = "0.10.0-dev"9299version = "0.10.0-dev"
9380source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9300source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9381dependencies = [9301dependencies = [
9382 "parity-scale-codec 3.1.5",9302 "parity-scale-codec 3.1.5",
9383 "sc-client-api",9303 "sc-client-api",
9393[[package]]9313[[package]]
9394name = "sc-chain-spec"9314name = "sc-chain-spec"
9395version = "4.0.0-dev"9315version = "4.0.0-dev"
9396source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9316source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9397dependencies = [9317dependencies = [
9398 "impl-trait-for-tuples",9318 "impl-trait-for-tuples",
9399 "memmap2 0.5.4",9319 "memmap2 0.5.4",
9410[[package]]9330[[package]]
9411name = "sc-chain-spec-derive"9331name = "sc-chain-spec-derive"
9412version = "4.0.0-dev"9332version = "4.0.0-dev"
9413source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9333source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9414dependencies = [9334dependencies = [
9415 "proc-macro-crate",9335 "proc-macro-crate",
9416 "proc-macro2",9336 "proc-macro2",
9421[[package]]9341[[package]]
9422name = "sc-cli"9342name = "sc-cli"
9423version = "0.10.0-dev"9343version = "0.10.0-dev"
9424source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9344source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9425dependencies = [9345dependencies = [
9426 "chrono",9346 "chrono",
9427 "clap",9347 "clap",
9460[[package]]9380[[package]]
9461name = "sc-client-api"9381name = "sc-client-api"
9462version = "4.0.0-dev"9382version = "4.0.0-dev"
9463source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9383source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9464dependencies = [9384dependencies = [
9465 "fnv",9385 "fnv",
9466 "futures 0.3.21",9386 "futures 0.3.21",
9488[[package]]9408[[package]]
9489name = "sc-client-db"9409name = "sc-client-db"
9490version = "0.10.0-dev"9410version = "0.10.0-dev"
9491source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9411source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9492dependencies = [9412dependencies = [
9493 "hash-db",9413 "hash-db",
9494 "kvdb",9414 "kvdb",
9513[[package]]9433[[package]]
9514name = "sc-consensus"9434name = "sc-consensus"
9515version = "0.10.0-dev"9435version = "0.10.0-dev"
9516source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9436source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9517dependencies = [9437dependencies = [
9518 "async-trait",9438 "async-trait",
9519 "futures 0.3.21",9439 "futures 0.3.21",
9537[[package]]9457[[package]]
9538name = "sc-consensus-aura"9458name = "sc-consensus-aura"
9539version = "0.10.0-dev"9459version = "0.10.0-dev"
9540source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9460source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9541dependencies = [9461dependencies = [
9542 "async-trait",9462 "async-trait",
9543 "futures 0.3.21",9463 "futures 0.3.21",
9566[[package]]9486[[package]]
9567name = "sc-consensus-babe"9487name = "sc-consensus-babe"
9568version = "0.10.0-dev"9488version = "0.10.0-dev"
9569source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9489source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9570dependencies = [9490dependencies = [
9571 "async-trait",9491 "async-trait",
9572 "fork-tree",9492 "fork-tree",
9609[[package]]9529[[package]]
9610name = "sc-consensus-babe-rpc"9530name = "sc-consensus-babe-rpc"
9611version = "0.10.0-dev"9531version = "0.10.0-dev"
9612source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9532source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9613dependencies = [9533dependencies = [
9614 "futures 0.3.21",9534 "futures 0.3.21",
9615 "jsonrpsee",9535 "jsonrpsee",
9631[[package]]9551[[package]]
9632name = "sc-consensus-epochs"9552name = "sc-consensus-epochs"
9633version = "0.10.0-dev"9553version = "0.10.0-dev"
9634source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9554source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9635dependencies = [9555dependencies = [
9636 "fork-tree",9556 "fork-tree",
9637 "parity-scale-codec 3.1.5",9557 "parity-scale-codec 3.1.5",
9644[[package]]9564[[package]]
9645name = "sc-consensus-manual-seal"9565name = "sc-consensus-manual-seal"
9646version = "0.10.0-dev"9566version = "0.10.0-dev"
9647source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9567source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9648dependencies = [9568dependencies = [
9649 "assert_matches",9569 "assert_matches",
9650 "async-trait",9570 "async-trait",
9678[[package]]9598[[package]]
9679name = "sc-consensus-slots"9599name = "sc-consensus-slots"
9680version = "0.10.0-dev"9600version = "0.10.0-dev"
9681source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9601source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9682dependencies = [9602dependencies = [
9683 "async-trait",9603 "async-trait",
9684 "futures 0.3.21",9604 "futures 0.3.21",
9703[[package]]9623[[package]]
9704name = "sc-consensus-uncles"9624name = "sc-consensus-uncles"
9705version = "0.10.0-dev"9625version = "0.10.0-dev"
9706source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9626source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9707dependencies = [9627dependencies = [
9708 "sc-client-api",9628 "sc-client-api",
9709 "sp-authorship",9629 "sp-authorship",
9714[[package]]9634[[package]]
9715name = "sc-executor"9635name = "sc-executor"
9716version = "0.10.0-dev"9636version = "0.10.0-dev"
9717source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9637source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9718dependencies = [9638dependencies = [
9719 "lazy_static",9639 "lazy_static",
9720 "lru 0.7.7",9640 "lru 0.7.7",
9741[[package]]9661[[package]]
9742name = "sc-executor-common"9662name = "sc-executor-common"
9743version = "0.10.0-dev"9663version = "0.10.0-dev"
9744source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9664source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9745dependencies = [9665dependencies = [
9746 "environmental",9666 "environmental",
9747 "parity-scale-codec 3.1.5",9667 "parity-scale-codec 3.1.5",
9758[[package]]9678[[package]]
9759name = "sc-executor-wasmi"9679name = "sc-executor-wasmi"
9760version = "0.10.0-dev"9680version = "0.10.0-dev"
9761source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9681source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9762dependencies = [9682dependencies = [
9763 "log",9683 "log",
9764 "parity-scale-codec 3.1.5",9684 "parity-scale-codec 3.1.5",
9773[[package]]9693[[package]]
9774name = "sc-executor-wasmtime"9694name = "sc-executor-wasmtime"
9775version = "0.10.0-dev"9695version = "0.10.0-dev"
9776source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9696source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9777dependencies = [9697dependencies = [
9778 "cfg-if 1.0.0",9698 "cfg-if 1.0.0",
9779 "libc",9699 "libc",
9791[[package]]9711[[package]]
9792name = "sc-finality-grandpa"9712name = "sc-finality-grandpa"
9793version = "0.10.0-dev"9713version = "0.10.0-dev"
9794source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9714source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9795dependencies = [9715dependencies = [
9796 "ahash",9716 "ahash",
9797 "async-trait",9717 "async-trait",
9831[[package]]9751[[package]]
9832name = "sc-finality-grandpa-rpc"9752name = "sc-finality-grandpa-rpc"
9833version = "0.10.0-dev"9753version = "0.10.0-dev"
9834source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9754source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9835dependencies = [9755dependencies = [
9836 "finality-grandpa",9756 "finality-grandpa",
9837 "futures 0.3.21",9757 "futures 0.3.21",
9852[[package]]9772[[package]]
9853name = "sc-informant"9773name = "sc-informant"
9854version = "0.10.0-dev"9774version = "0.10.0-dev"
9855source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9775source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9856dependencies = [9776dependencies = [
9857 "ansi_term",9777 "ansi_term",
9858 "futures 0.3.21",9778 "futures 0.3.21",
9869[[package]]9789[[package]]
9870name = "sc-keystore"9790name = "sc-keystore"
9871version = "4.0.0-dev"9791version = "4.0.0-dev"
9872source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9792source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9873dependencies = [9793dependencies = [
9874 "async-trait",9794 "async-trait",
9875 "hex",9795 "hex",
9884[[package]]9804[[package]]
9885name = "sc-network"9805name = "sc-network"
9886version = "0.10.0-dev"9806version = "0.10.0-dev"
9887source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9807source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9888dependencies = [9808dependencies = [
9889 "async-trait",9809 "async-trait",
9890 "asynchronous-codec",9810 "asynchronous-codec",
9906 "parity-scale-codec 3.1.5",9826 "parity-scale-codec 3.1.5",
9907 "parking_lot 0.12.1",9827 "parking_lot 0.12.1",
9908 "pin-project 1.0.10",9828 "pin-project 1.0.10",
9909 "prost",9829 "prost 0.10.4",
9910 "prost-build",9830 "prost-build",
9911 "rand 0.7.3",9831 "rand 0.7.3",
9912 "sc-block-builder",9832 "sc-block-builder",
9913 "sc-client-api",9833 "sc-client-api",
9914 "sc-consensus",9834 "sc-consensus",
9915 "sc-network-common",9835 "sc-network-common",
9836 "sc-network-light",
9916 "sc-network-sync",9837 "sc-network-sync",
9917 "sc-peerset",9838 "sc-peerset",
9918 "sc-utils",9839 "sc-utils",
9935[[package]]9856[[package]]
9936name = "sc-network-common"9857name = "sc-network-common"
9937version = "0.10.0-dev"9858version = "0.10.0-dev"
9938source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9859source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9939dependencies = [9860dependencies = [
9940 "futures 0.3.21",9861 "futures 0.3.21",
9941 "libp2p",9862 "libp2p",
9948[[package]]9869[[package]]
9949name = "sc-network-gossip"9870name = "sc-network-gossip"
9950version = "0.10.0-dev"9871version = "0.10.0-dev"
9951source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9872source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9952dependencies = [9873dependencies = [
9953 "ahash",9874 "ahash",
9954 "futures 0.3.21",9875 "futures 0.3.21",
9962 "tracing",9883 "tracing",
9963]9884]
9885
9886[[package]]
9887name = "sc-network-light"
9888version = "0.10.0-dev"
9889source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9890dependencies = [
9891 "futures 0.3.21",
9892 "libp2p",
9893 "log",
9894 "parity-scale-codec 3.1.5",
9895 "prost 0.10.4",
9896 "prost-build",
9897 "sc-client-api",
9898 "sc-network-common",
9899 "sc-peerset",
9900 "sp-blockchain",
9901 "sp-core",
9902 "sp-runtime",
9903 "thiserror",
9904]
99649905
9965[[package]]9906[[package]]
9966name = "sc-network-sync"9907name = "sc-network-sync"
9967version = "0.10.0-dev"9908version = "0.10.0-dev"
9968source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9909source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9969dependencies = [9910dependencies = [
9970 "bitflags",9911 "bitflags",
9971 "either",9912 "either",
9975 "log",9916 "log",
9976 "lru 0.7.7",9917 "lru 0.7.7",
9977 "parity-scale-codec 3.1.5",9918 "parity-scale-codec 3.1.5",
9978 "prost",9919 "prost 0.10.4",
9979 "prost-build",9920 "prost-build",
9980 "sc-client-api",9921 "sc-client-api",
9981 "sc-consensus",9922 "sc-consensus",
9994[[package]]9935[[package]]
9995name = "sc-offchain"9936name = "sc-offchain"
9996version = "4.0.0-dev"9937version = "4.0.0-dev"
9997source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9938source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
9998dependencies = [9939dependencies = [
9999 "bytes 1.1.0",9940 "bytes 1.1.0",
10000 "fnv",9941 "fnv",
10022[[package]]9963[[package]]
10023name = "sc-peerset"9964name = "sc-peerset"
10024version = "4.0.0-dev"9965version = "4.0.0-dev"
10025source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9966source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10026dependencies = [9967dependencies = [
10027 "futures 0.3.21",9968 "futures 0.3.21",
10028 "libp2p",9969 "libp2p",
10035[[package]]9976[[package]]
10036name = "sc-proposer-metrics"9977name = "sc-proposer-metrics"
10037version = "0.10.0-dev"9978version = "0.10.0-dev"
10038source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9979source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10039dependencies = [9980dependencies = [
10040 "log",9981 "log",
10041 "substrate-prometheus-endpoint",9982 "substrate-prometheus-endpoint",
10044[[package]]9985[[package]]
10045name = "sc-rpc"9986name = "sc-rpc"
10046version = "4.0.0-dev"9987version = "4.0.0-dev"
10047source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"9988source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10048dependencies = [9989dependencies = [
10049 "futures 0.3.21",9990 "futures 0.3.21",
10050 "hash-db",9991 "hash-db",
10074[[package]]10015[[package]]
10075name = "sc-rpc-api"10016name = "sc-rpc-api"
10076version = "0.10.0-dev"10017version = "0.10.0-dev"
10077source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10018source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10078dependencies = [10019dependencies = [
10079 "futures 0.3.21",10020 "futures 0.3.21",
10080 "jsonrpsee",10021 "jsonrpsee",
10097[[package]]10038[[package]]
10098name = "sc-rpc-server"10039name = "sc-rpc-server"
10099version = "4.0.0-dev"10040version = "4.0.0-dev"
10100source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10041source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10101dependencies = [10042dependencies = [
10102 "futures 0.3.21",10043 "futures 0.3.21",
10103 "jsonrpsee",10044 "jsonrpsee",
10110[[package]]10051[[package]]
10111name = "sc-service"10052name = "sc-service"
10112version = "0.10.0-dev"10053version = "0.10.0-dev"
10113source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10054source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10114dependencies = [10055dependencies = [
10115 "async-trait",10056 "async-trait",
10116 "directories",10057 "directories",
10175[[package]]10116[[package]]
10176name = "sc-state-db"10117name = "sc-state-db"
10177version = "0.10.0-dev"10118version = "0.10.0-dev"
10178source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10119source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10179dependencies = [10120dependencies = [
10180 "log",10121 "log",
10181 "parity-scale-codec 3.1.5",10122 "parity-scale-codec 3.1.5",
10189[[package]]10130[[package]]
10190name = "sc-sync-state-rpc"10131name = "sc-sync-state-rpc"
10191version = "0.10.0-dev"10132version = "0.10.0-dev"
10192source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10133source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10193dependencies = [10134dependencies = [
10194 "jsonrpsee",10135 "jsonrpsee",
10195 "parity-scale-codec 3.1.5",10136 "parity-scale-codec 3.1.5",
10208[[package]]10149[[package]]
10209name = "sc-sysinfo"10150name = "sc-sysinfo"
10210version = "6.0.0-dev"10151version = "6.0.0-dev"
10211source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10152source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10212dependencies = [10153dependencies = [
10213 "futures 0.3.21",10154 "futures 0.3.21",
10214 "libc",10155 "libc",
10227[[package]]10168[[package]]
10228name = "sc-telemetry"10169name = "sc-telemetry"
10229version = "4.0.0-dev"10170version = "4.0.0-dev"
10230source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10171source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10231dependencies = [10172dependencies = [
10232 "chrono",10173 "chrono",
10233 "futures 0.3.21",10174 "futures 0.3.21",
10245[[package]]10186[[package]]
10246name = "sc-tracing"10187name = "sc-tracing"
10247version = "4.0.0-dev"10188version = "4.0.0-dev"
10248source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10189source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10249dependencies = [10190dependencies = [
10250 "ansi_term",10191 "ansi_term",
10251 "atty",10192 "atty",
10276[[package]]10217[[package]]
10277name = "sc-tracing-proc-macro"10218name = "sc-tracing-proc-macro"
10278version = "4.0.0-dev"10219version = "4.0.0-dev"
10279source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10220source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10280dependencies = [10221dependencies = [
10281 "proc-macro-crate",10222 "proc-macro-crate",
10282 "proc-macro2",10223 "proc-macro2",
10287[[package]]10228[[package]]
10288name = "sc-transaction-pool"10229name = "sc-transaction-pool"
10289version = "4.0.0-dev"10230version = "4.0.0-dev"
10290source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10231source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10291dependencies = [10232dependencies = [
10292 "futures 0.3.21",10233 "futures 0.3.21",
10293 "futures-timer",10234 "futures-timer",
10314[[package]]10255[[package]]
10315name = "sc-transaction-pool-api"10256name = "sc-transaction-pool-api"
10316version = "4.0.0-dev"10257version = "4.0.0-dev"
10317source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10258source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10318dependencies = [10259dependencies = [
10319 "futures 0.3.21",10260 "futures 0.3.21",
10320 "log",10261 "log",
10327[[package]]10268[[package]]
10328name = "sc-utils"10269name = "sc-utils"
10329version = "4.0.0-dev"10270version = "4.0.0-dev"
10330source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10271source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10331dependencies = [10272dependencies = [
10332 "futures 0.3.21",10273 "futures 0.3.21",
10333 "futures-timer",10274 "futures-timer",
10397source = "registry+https://github.com/rust-lang/crates.io-index"10338source = "registry+https://github.com/rust-lang/crates.io-index"
10398checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"10339checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
10399
10400[[package]]
10401name = "sct"
10402version = "0.6.1"
10403source = "registry+https://github.com/rust-lang/crates.io-index"
10404checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
10405dependencies = [
10406 "ring",
10407 "untrusted",
10408]
1040910340
10410[[package]]10341[[package]]
10411name = "sct"10342name = "sct"
1069910630
10700[[package]]10631[[package]]
10701name = "slot-range-helper"10632name = "slot-range-helper"
10702version = "0.9.22"10633version = "0.9.23"
10703source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"10634source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
10704dependencies = [10635dependencies = [
10705 "enumn",10636 "enumn",
10706 "parity-scale-codec 3.1.5",10637 "parity-scale-codec 3.1.5",
10776[[package]]10707[[package]]
10777name = "sp-api"10708name = "sp-api"
10778version = "4.0.0-dev"10709version = "4.0.0-dev"
10779source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10710source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10780dependencies = [10711dependencies = [
10781 "hash-db",10712 "hash-db",
10782 "log",10713 "log",
10793[[package]]10724[[package]]
10794name = "sp-api-proc-macro"10725name = "sp-api-proc-macro"
10795version = "4.0.0-dev"10726version = "4.0.0-dev"
10796source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10727source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10797dependencies = [10728dependencies = [
10798 "blake2",10729 "blake2",
10799 "proc-macro-crate",10730 "proc-macro-crate",
10805[[package]]10736[[package]]
10806name = "sp-application-crypto"10737name = "sp-application-crypto"
10807version = "6.0.0"10738version = "6.0.0"
10808source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10739source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10809dependencies = [10740dependencies = [
10810 "parity-scale-codec 3.1.5",10741 "parity-scale-codec 3.1.5",
10811 "scale-info",10742 "scale-info",
10818[[package]]10749[[package]]
10819name = "sp-arithmetic"10750name = "sp-arithmetic"
10820version = "5.0.0"10751version = "5.0.0"
10821source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10752source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10822dependencies = [10753dependencies = [
10823 "integer-sqrt",10754 "integer-sqrt",
10824 "num-traits",10755 "num-traits",
10833[[package]]10764[[package]]
10834name = "sp-authority-discovery"10765name = "sp-authority-discovery"
10835version = "4.0.0-dev"10766version = "4.0.0-dev"
10836source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10767source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10837dependencies = [10768dependencies = [
10838 "parity-scale-codec 3.1.5",10769 "parity-scale-codec 3.1.5",
10839 "scale-info",10770 "scale-info",
10846[[package]]10777[[package]]
10847name = "sp-authorship"10778name = "sp-authorship"
10848version = "4.0.0-dev"10779version = "4.0.0-dev"
10849source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10780source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10850dependencies = [10781dependencies = [
10851 "async-trait",10782 "async-trait",
10852 "parity-scale-codec 3.1.5",10783 "parity-scale-codec 3.1.5",
10858[[package]]10789[[package]]
10859name = "sp-block-builder"10790name = "sp-block-builder"
10860version = "4.0.0-dev"10791version = "4.0.0-dev"
10861source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10792source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10862dependencies = [10793dependencies = [
10863 "parity-scale-codec 3.1.5",10794 "parity-scale-codec 3.1.5",
10864 "sp-api",10795 "sp-api",
10870[[package]]10801[[package]]
10871name = "sp-blockchain"10802name = "sp-blockchain"
10872version = "4.0.0-dev"10803version = "4.0.0-dev"
10873source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10804source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10874dependencies = [10805dependencies = [
10875 "futures 0.3.21",10806 "futures 0.3.21",
10876 "log",10807 "log",
10888[[package]]10819[[package]]
10889name = "sp-consensus"10820name = "sp-consensus"
10890version = "0.10.0-dev"10821version = "0.10.0-dev"
10891source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10822source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10892dependencies = [10823dependencies = [
10893 "async-trait",10824 "async-trait",
10894 "futures 0.3.21",10825 "futures 0.3.21",
10907[[package]]10838[[package]]
10908name = "sp-consensus-aura"10839name = "sp-consensus-aura"
10909version = "0.10.0-dev"10840version = "0.10.0-dev"
10910source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10841source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10911dependencies = [10842dependencies = [
10912 "async-trait",10843 "async-trait",
10913 "parity-scale-codec 3.1.5",10844 "parity-scale-codec 3.1.5",
10925[[package]]10856[[package]]
10926name = "sp-consensus-babe"10857name = "sp-consensus-babe"
10927version = "0.10.0-dev"10858version = "0.10.0-dev"
10928source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10859source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10929dependencies = [10860dependencies = [
10930 "async-trait",10861 "async-trait",
10931 "merlin",10862 "merlin",
10948[[package]]10879[[package]]
10949name = "sp-consensus-slots"10880name = "sp-consensus-slots"
10950version = "0.10.0-dev"10881version = "0.10.0-dev"
10951source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10882source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10952dependencies = [10883dependencies = [
10953 "parity-scale-codec 3.1.5",10884 "parity-scale-codec 3.1.5",
10954 "scale-info",10885 "scale-info",
10962[[package]]10893[[package]]
10963name = "sp-consensus-vrf"10894name = "sp-consensus-vrf"
10964version = "0.10.0-dev"10895version = "0.10.0-dev"
10965source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10896source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10966dependencies = [10897dependencies = [
10967 "parity-scale-codec 3.1.5",10898 "parity-scale-codec 3.1.5",
10968 "scale-info",10899 "scale-info",
10975[[package]]10906[[package]]
10976name = "sp-core"10907name = "sp-core"
10977version = "6.0.0"10908version = "6.0.0"
10978source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10909source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
10979dependencies = [10910dependencies = [
10980 "base58",10911 "base58",
10981 "bitflags",10912 "bitflags",
11021[[package]]10952[[package]]
11022name = "sp-core-hashing"10953name = "sp-core-hashing"
11023version = "4.0.0"10954version = "4.0.0"
11024source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10955source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11025dependencies = [10956dependencies = [
11026 "blake2",10957 "blake2",
11027 "byteorder",10958 "byteorder",
11035[[package]]10966[[package]]
11036name = "sp-core-hashing-proc-macro"10967name = "sp-core-hashing-proc-macro"
11037version = "5.0.0"10968version = "5.0.0"
11038source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10969source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11039dependencies = [10970dependencies = [
11040 "proc-macro2",10971 "proc-macro2",
11041 "quote",10972 "quote",
11046[[package]]10977[[package]]
11047name = "sp-database"10978name = "sp-database"
11048version = "4.0.0-dev"10979version = "4.0.0-dev"
11049source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10980source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11050dependencies = [10981dependencies = [
11051 "kvdb",10982 "kvdb",
11052 "parking_lot 0.12.1",10983 "parking_lot 0.12.1",
11055[[package]]10986[[package]]
11056name = "sp-debug-derive"10987name = "sp-debug-derive"
11057version = "4.0.0"10988version = "4.0.0"
11058source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10989source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11059dependencies = [10990dependencies = [
11060 "proc-macro2",10991 "proc-macro2",
11061 "quote",10992 "quote",
11065[[package]]10996[[package]]
11066name = "sp-externalities"10997name = "sp-externalities"
11067version = "0.12.0"10998version = "0.12.0"
11068source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"10999source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11069dependencies = [11000dependencies = [
11070 "environmental",11001 "environmental",
11071 "parity-scale-codec 3.1.5",11002 "parity-scale-codec 3.1.5",
11076[[package]]11007[[package]]
11077name = "sp-finality-grandpa"11008name = "sp-finality-grandpa"
11078version = "4.0.0-dev"11009version = "4.0.0-dev"
11079source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11010source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11080dependencies = [11011dependencies = [
11081 "finality-grandpa",11012 "finality-grandpa",
11082 "log",11013 "log",
11094[[package]]11025[[package]]
11095name = "sp-inherents"11026name = "sp-inherents"
11096version = "4.0.0-dev"11027version = "4.0.0-dev"
11097source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11028source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11098dependencies = [11029dependencies = [
11099 "async-trait",11030 "async-trait",
11100 "impl-trait-for-tuples",11031 "impl-trait-for-tuples",
11108[[package]]11039[[package]]
11109name = "sp-io"11040name = "sp-io"
11110version = "6.0.0"11041version = "6.0.0"
11111source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11042source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11112dependencies = [11043dependencies = [
11113 "futures 0.3.21",11044 "futures 0.3.21",
11114 "hash-db",11045 "hash-db",
11133[[package]]11064[[package]]
11134name = "sp-keyring"11065name = "sp-keyring"
11135version = "6.0.0"11066version = "6.0.0"
11136source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11067source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11137dependencies = [11068dependencies = [
11138 "lazy_static",11069 "lazy_static",
11139 "sp-core",11070 "sp-core",
11144[[package]]11075[[package]]
11145name = "sp-keystore"11076name = "sp-keystore"
11146version = "0.12.0"11077version = "0.12.0"
11147source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11078source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11148dependencies = [11079dependencies = [
11149 "async-trait",11080 "async-trait",
11150 "futures 0.3.21",11081 "futures 0.3.21",
11161[[package]]11092[[package]]
11162name = "sp-maybe-compressed-blob"11093name = "sp-maybe-compressed-blob"
11163version = "4.1.0-dev"11094version = "4.1.0-dev"
11164source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11095source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11165dependencies = [11096dependencies = [
11166 "thiserror",11097 "thiserror",
11167 "zstd",11098 "zstd",
11170[[package]]11101[[package]]
11171name = "sp-mmr-primitives"11102name = "sp-mmr-primitives"
11172version = "4.0.0-dev"11103version = "4.0.0-dev"
11173source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11104source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11174dependencies = [11105dependencies = [
11175 "log",11106 "log",
11176 "parity-scale-codec 3.1.5",11107 "parity-scale-codec 3.1.5",
11185[[package]]11116[[package]]
11186name = "sp-npos-elections"11117name = "sp-npos-elections"
11187version = "4.0.0-dev"11118version = "4.0.0-dev"
11188source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11119source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11189dependencies = [11120dependencies = [
11190 "parity-scale-codec 3.1.5",11121 "parity-scale-codec 3.1.5",
11191 "scale-info",11122 "scale-info",
11199[[package]]11130[[package]]
11200name = "sp-offchain"11131name = "sp-offchain"
11201version = "4.0.0-dev"11132version = "4.0.0-dev"
11202source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11133source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11203dependencies = [11134dependencies = [
11204 "sp-api",11135 "sp-api",
11205 "sp-core",11136 "sp-core",
11209[[package]]11140[[package]]
11210name = "sp-panic-handler"11141name = "sp-panic-handler"
11211version = "4.0.0"11142version = "4.0.0"
11212source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11143source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11213dependencies = [11144dependencies = [
11214 "backtrace",11145 "backtrace",
11215 "lazy_static",11146 "lazy_static",
11219[[package]]11150[[package]]
11220name = "sp-rpc"11151name = "sp-rpc"
11221version = "6.0.0"11152version = "6.0.0"
11222source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11153source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11223dependencies = [11154dependencies = [
11224 "rustc-hash",11155 "rustc-hash",
11225 "serde",11156 "serde",
11229[[package]]11160[[package]]
11230name = "sp-runtime"11161name = "sp-runtime"
11231version = "6.0.0"11162version = "6.0.0"
11232source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11163source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11233dependencies = [11164dependencies = [
11234 "either",11165 "either",
11235 "hash256-std-hasher",11166 "hash256-std-hasher",
11251[[package]]11182[[package]]
11252name = "sp-runtime-interface"11183name = "sp-runtime-interface"
11253version = "6.0.0"11184version = "6.0.0"
11254source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11185source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11255dependencies = [11186dependencies = [
11256 "impl-trait-for-tuples",11187 "impl-trait-for-tuples",
11257 "parity-scale-codec 3.1.5",11188 "parity-scale-codec 3.1.5",
11268[[package]]11199[[package]]
11269name = "sp-runtime-interface-proc-macro"11200name = "sp-runtime-interface-proc-macro"
11270version = "5.0.0"11201version = "5.0.0"
11271source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11202source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11272dependencies = [11203dependencies = [
11273 "Inflector",11204 "Inflector",
11274 "proc-macro-crate",11205 "proc-macro-crate",
11280[[package]]11211[[package]]
11281name = "sp-sandbox"11212name = "sp-sandbox"
11282version = "0.10.0-dev"11213version = "0.10.0-dev"
11283source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11214source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11284dependencies = [11215dependencies = [
11285 "log",11216 "log",
11286 "parity-scale-codec 3.1.5",11217 "parity-scale-codec 3.1.5",
11294[[package]]11225[[package]]
11295name = "sp-serializer"11226name = "sp-serializer"
11296version = "4.0.0-dev"11227version = "4.0.0-dev"
11297source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11228source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11298dependencies = [11229dependencies = [
11299 "serde",11230 "serde",
11300 "serde_json",11231 "serde_json",
11303[[package]]11234[[package]]
11304name = "sp-session"11235name = "sp-session"
11305version = "4.0.0-dev"11236version = "4.0.0-dev"
11306source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11237source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11307dependencies = [11238dependencies = [
11308 "parity-scale-codec 3.1.5",11239 "parity-scale-codec 3.1.5",
11309 "scale-info",11240 "scale-info",
11317[[package]]11248[[package]]
11318name = "sp-staking"11249name = "sp-staking"
11319version = "4.0.0-dev"11250version = "4.0.0-dev"
11320source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11251source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11321dependencies = [11252dependencies = [
11322 "parity-scale-codec 3.1.5",11253 "parity-scale-codec 3.1.5",
11323 "scale-info",11254 "scale-info",
11328[[package]]11259[[package]]
11329name = "sp-state-machine"11260name = "sp-state-machine"
11330version = "0.12.0"11261version = "0.12.0"
11331source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11262source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11332dependencies = [11263dependencies = [
11333 "hash-db",11264 "hash-db",
11334 "log",11265 "log",
11350[[package]]11281[[package]]
11351name = "sp-std"11282name = "sp-std"
11352version = "4.0.0"11283version = "4.0.0"
11353source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11284source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
1135411285
11355[[package]]11286[[package]]
11356name = "sp-storage"11287name = "sp-storage"
11357version = "6.0.0"11288version = "6.0.0"
11358source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11289source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11359dependencies = [11290dependencies = [
11360 "impl-serde",11291 "impl-serde",
11361 "parity-scale-codec 3.1.5",11292 "parity-scale-codec 3.1.5",
11368[[package]]11299[[package]]
11369name = "sp-tasks"11300name = "sp-tasks"
11370version = "4.0.0-dev"11301version = "4.0.0-dev"
11371source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11302source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11372dependencies = [11303dependencies = [
11373 "log",11304 "log",
11374 "sp-core",11305 "sp-core",
11381[[package]]11312[[package]]
11382name = "sp-timestamp"11313name = "sp-timestamp"
11383version = "4.0.0-dev"11314version = "4.0.0-dev"
11384source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11315source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11385dependencies = [11316dependencies = [
11386 "async-trait",11317 "async-trait",
11387 "futures-timer",11318 "futures-timer",
11397[[package]]11328[[package]]
11398name = "sp-tracing"11329name = "sp-tracing"
11399version = "5.0.0"11330version = "5.0.0"
11400source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11331source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11401dependencies = [11332dependencies = [
11402 "parity-scale-codec 3.1.5",11333 "parity-scale-codec 3.1.5",
11403 "sp-std",11334 "sp-std",
11409[[package]]11340[[package]]
11410name = "sp-transaction-pool"11341name = "sp-transaction-pool"
11411version = "4.0.0-dev"11342version = "4.0.0-dev"
11412source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11343source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11413dependencies = [11344dependencies = [
11414 "sp-api",11345 "sp-api",
11415 "sp-runtime",11346 "sp-runtime",
11418[[package]]11349[[package]]
11419name = "sp-transaction-storage-proof"11350name = "sp-transaction-storage-proof"
11420version = "4.0.0-dev"11351version = "4.0.0-dev"
11421source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11352source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11422dependencies = [11353dependencies = [
11423 "async-trait",11354 "async-trait",
11424 "log",11355 "log",
11434[[package]]11365[[package]]
11435name = "sp-trie"11366name = "sp-trie"
11436version = "6.0.0"11367version = "6.0.0"
11437source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11368source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11438dependencies = [11369dependencies = [
11439 "hash-db",11370 "hash-db",
11440 "memory-db",11371 "memory-db",
11450[[package]]11381[[package]]
11451name = "sp-version"11382name = "sp-version"
11452version = "5.0.0"11383version = "5.0.0"
11453source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11384source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11454dependencies = [11385dependencies = [
11455 "impl-serde",11386 "impl-serde",
11456 "parity-scale-codec 3.1.5",11387 "parity-scale-codec 3.1.5",
11467[[package]]11398[[package]]
11468name = "sp-version-proc-macro"11399name = "sp-version-proc-macro"
11469version = "4.0.0-dev"11400version = "4.0.0-dev"
11470source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11401source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11471dependencies = [11402dependencies = [
11472 "parity-scale-codec 3.1.5",11403 "parity-scale-codec 3.1.5",
11473 "proc-macro2",11404 "proc-macro2",
11478[[package]]11409[[package]]
11479name = "sp-wasm-interface"11410name = "sp-wasm-interface"
11480version = "6.0.0"11411version = "6.0.0"
11481source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11412source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11482dependencies = [11413dependencies = [
11483 "impl-trait-for-tuples",11414 "impl-trait-for-tuples",
11484 "log",11415 "log",
11633[[package]]11564[[package]]
11634name = "substrate-build-script-utils"11565name = "substrate-build-script-utils"
11635version = "3.0.0"11566version = "3.0.0"
11636source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11567source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11637dependencies = [11568dependencies = [
11638 "platforms",11569 "platforms",
11639]11570]
1164011571
11641[[package]]11572[[package]]
11642name = "substrate-frame-rpc-system"11573name = "substrate-frame-rpc-system"
11643version = "4.0.0-dev"11574version = "4.0.0-dev"
11644source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11575source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11645dependencies = [11576dependencies = [
11646 "frame-system-rpc-runtime-api",11577 "frame-system-rpc-runtime-api",
11647 "futures 0.3.21",11578 "futures 0.3.21",
11662[[package]]11593[[package]]
11663name = "substrate-prometheus-endpoint"11594name = "substrate-prometheus-endpoint"
11664version = "0.10.0-dev"11595version = "0.10.0-dev"
11665source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11596source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11666dependencies = [11597dependencies = [
11667 "futures-util",11598 "futures-util",
11668 "hyper",11599 "hyper",
11675[[package]]11606[[package]]
11676name = "substrate-state-trie-migration-rpc"11607name = "substrate-state-trie-migration-rpc"
11677version = "4.0.0-dev"11608version = "4.0.0-dev"
11678source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11609source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11679dependencies = [11610dependencies = [
11680 "jsonrpsee",11611 "jsonrpsee",
11681 "log",11612 "log",
11696[[package]]11627[[package]]
11697name = "substrate-test-client"11628name = "substrate-test-client"
11698version = "2.0.1"11629version = "2.0.1"
11699source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11630source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11700dependencies = [11631dependencies = [
11701 "async-trait",11632 "async-trait",
11702 "futures 0.3.21",11633 "futures 0.3.21",
11722[[package]]11653[[package]]
11723name = "substrate-test-utils"11654name = "substrate-test-utils"
11724version = "4.0.0-dev"11655version = "4.0.0-dev"
11725source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11656source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11726dependencies = [11657dependencies = [
11727 "futures 0.3.21",11658 "futures 0.3.21",
11728 "substrate-test-utils-derive",11659 "substrate-test-utils-derive",
11732[[package]]11663[[package]]
11733name = "substrate-test-utils-derive"11664name = "substrate-test-utils-derive"
11734version = "0.10.0-dev"11665version = "0.10.0-dev"
11735source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11666source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11736dependencies = [11667dependencies = [
11737 "proc-macro-crate",11668 "proc-macro-crate",
11738 "proc-macro2",11669 "proc-macro2",
11743[[package]]11674[[package]]
11744name = "substrate-wasm-builder"11675name = "substrate-wasm-builder"
11745version = "5.0.0-dev"11676version = "5.0.0-dev"
11746source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"11677source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
11747dependencies = [11678dependencies = [
11748 "ansi_term",11679 "ansi_term",
11749 "build-helper",11680 "build-helper",
11827 "cfg-if 1.0.0",11758 "cfg-if 1.0.0",
11828 "fastrand",11759 "fastrand",
11829 "libc",11760 "libc",
11830 "redox_syscall 0.2.13",11761 "redox_syscall",
11831 "remove_dir_all",11762 "remove_dir_all",
11832 "winapi",11763 "winapi",
11833]11764]
11834
11835[[package]]
11836name = "term"
11837version = "0.5.2"
11838source = "registry+https://github.com/rust-lang/crates.io-index"
11839checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
11840dependencies = [
11841 "byteorder",
11842 "dirs",
11843 "winapi",
11844]
1184511765
11846[[package]]11766[[package]]
11847name = "termcolor"11767name = "termcolor"
1185411774
11855[[package]]11775[[package]]
11856name = "test-runtime-constants"11776name = "test-runtime-constants"
11857version = "0.9.22"11777version = "0.9.23"
11858source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"11778source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
11859dependencies = [11779dependencies = [
11860 "frame-support",11780 "frame-support",
11861 "polkadot-primitives",11781 "polkadot-primitives",
12075 "syn",11995 "syn",
12076]11996]
12077
12078[[package]]
12079name = "tokio-rustls"
12080version = "0.22.0"
12081source = "registry+https://github.com/rust-lang/crates.io-index"
12082checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
12083dependencies = [
12084 "rustls 0.19.1",
12085 "tokio 1.19.2",
12086 "webpki 0.21.4",
12087]
1208811997
12089[[package]]11998[[package]]
12090name = "tokio-rustls"11999name = "tokio-rustls"
12091version = "0.23.4"12000version = "0.23.4"
12092source = "registry+https://github.com/rust-lang/crates.io-index"12001source = "registry+https://github.com/rust-lang/crates.io-index"
12093checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"12002checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
12094dependencies = [12003dependencies = [
12095 "rustls 0.20.6",12004 "rustls",
12096 "tokio 1.19.2",12005 "tokio 1.19.2",
12097 "webpki 0.22.0",12006 "webpki",
12098]12007]
1209912008
12100[[package]]12009[[package]]
1217212081
12173[[package]]12082[[package]]
12174name = "tracing-gum"12083name = "tracing-gum"
12175version = "0.9.22"12084version = "0.9.23"
12176source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"12085source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
12177dependencies = [12086dependencies = [
12178 "polkadot-node-jaeger",12087 "polkadot-node-jaeger",
12179 "polkadot-primitives",12088 "polkadot-primitives",
1218312092
12184[[package]]12093[[package]]
12185name = "tracing-gum-proc-macro"12094name = "tracing-gum-proc-macro"
12186version = "0.9.22"12095version = "0.9.23"
12187source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"12096source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
12188dependencies = [12097dependencies = [
12189 "expander 0.0.6",12098 "expander 0.0.6",
12190 "proc-macro-crate",12099 "proc-macro-crate",
12323[[package]]12232[[package]]
12324name = "try-runtime-cli"12233name = "try-runtime-cli"
12325version = "0.10.0-dev"12234version = "0.10.0-dev"
12326source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"12235source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#76522d7937ba94ff1becef4e4e3ca78e3e1de341"
12327dependencies = [12236dependencies = [
12328 "clap",12237 "clap",
12329 "jsonrpsee",12238 "jsonrpsee",
12357source = "registry+https://github.com/rust-lang/crates.io-index"12266source = "registry+https://github.com/rust-lang/crates.io-index"
12358checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"12267checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
12359dependencies = [12268dependencies = [
12360 "cfg-if 1.0.0",12269 "cfg-if 0.1.10",
12361 "digest 0.10.3",12270 "digest 0.10.3",
12362 "rand 0.8.5",12271 "rand 0.8.5",
12363 "static_assertions",12272 "static_assertions",
1245712366
12458[[package]]12367[[package]]
12459name = "unique-node"12368name = "unique-node"
12460version = "0.9.22"12369version = "0.9.23"
12461dependencies = [12370dependencies = [
12462 "clap",12371 "clap",
12463 "cumulus-client-cli",12372 "cumulus-client-cli",
1259412503
12595[[package]]12504[[package]]
12596name = "unique-runtime"12505name = "unique-runtime"
12597version = "0.9.22"12506version = "0.9.23"
12598dependencies = [12507dependencies = [
12599 "cumulus-pallet-aura-ext",12508 "cumulus-pallet-aura-ext",
12600 "cumulus-pallet-dmp-queue",12509 "cumulus-pallet-dmp-queue",
1267612585
12677[[package]]12586[[package]]
12678name = "unique-runtime-common"12587name = "unique-runtime-common"
12679version = "0.9.22"12588version = "0.9.23"
12680dependencies = [12589dependencies = [
12681 "evm-coder",12590 "evm-coder",
12682 "fp-rpc",12591 "fp-rpc",
12763[[package]]12672[[package]]
12764name = "up-sponsorship"12673name = "up-sponsorship"
12765version = "0.1.0"12674version = "0.1.0"
12766source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.22#9fc4fbc3f83fdc793205f3fef1c97ef168d4dfe0"12675source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.23#5f3b55354830f9707d6632aaa54362deea981116"
12767dependencies = [12676dependencies = [
12768 "impl-trait-for-tuples",12677 "impl-trait-for-tuples",
12769]12678]
13135 "libc",13044 "libc",
13136 "log",13045 "log",
13137 "mach",13046 "mach",
13047 "memfd",
13138 "memoffset",13048 "memoffset",
13139 "more-asserts",13049 "more-asserts",
13140 "rand 0.8.5",13050 "rand 0.8.5",
13168 "wasm-bindgen",13078 "wasm-bindgen",
13169]13079]
13170
13171[[package]]
13172name = "webpki"
13173version = "0.21.4"
13174source = "registry+https://github.com/rust-lang/crates.io-index"
13175checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
13176dependencies = [
13177 "ring",
13178 "untrusted",
13179]
1318013080
13181[[package]]13081[[package]]
13182name = "webpki"13082name = "webpki"
13194source = "registry+https://github.com/rust-lang/crates.io-index"13094source = "registry+https://github.com/rust-lang/crates.io-index"
13195checksum = "44d8de8415c823c8abd270ad483c6feeac771fad964890779f9a8cb24fbbc1bf"13095checksum = "44d8de8415c823c8abd270ad483c6feeac771fad964890779f9a8cb24fbbc1bf"
13196dependencies = [13096dependencies = [
13197 "webpki 0.22.0",13097 "webpki",
13198]13098]
1319913099
13200[[package]]13100[[package]]
1320813108
13209[[package]]13109[[package]]
13210name = "westend-runtime"13110name = "westend-runtime"
13211version = "0.9.22"13111version = "0.9.23"
13212source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"13112source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
13213dependencies = [13113dependencies = [
13214 "beefy-primitives",13114 "beefy-primitives",
13215 "bitvec 1.0.0",13115 "bitvec 1.0.0",
1329713197
13298[[package]]13198[[package]]
13299name = "westend-runtime-constants"13199name = "westend-runtime-constants"
13300version = "0.9.22"13200version = "0.9.23"
13301source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"13201source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
13302dependencies = [13202dependencies = [
13303 "frame-support",13203 "frame-support",
13304 "polkadot-primitives",13204 "polkadot-primitives",
1335713257
13358[[package]]13258[[package]]
13359name = "windows"13259name = "windows"
13360version = "0.29.0"13260version = "0.34.0"
13361source = "registry+https://github.com/rust-lang/crates.io-index"13261source = "registry+https://github.com/rust-lang/crates.io-index"
13362checksum = "aac7fef12f4b59cd0a29339406cc9203ab44e440ddff6b3f5a41455349fa9cf3"13262checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f"
13363dependencies = [13263dependencies = [
13364 "windows_aarch64_msvc 0.29.0",13264 "windows_aarch64_msvc 0.34.0",
13365 "windows_i686_gnu 0.29.0",13265 "windows_i686_gnu 0.34.0",
13366 "windows_i686_msvc 0.29.0",13266 "windows_i686_msvc 0.34.0",
13367 "windows_x86_64_gnu 0.29.0",13267 "windows_x86_64_gnu 0.34.0",
13368 "windows_x86_64_msvc 0.29.0",13268 "windows_x86_64_msvc 0.34.0",
13369]13269]
1337013270
13371[[package]]13271[[package]]
1338313283
13384[[package]]13284[[package]]
13385name = "windows_aarch64_msvc"13285name = "windows_aarch64_msvc"
13386version = "0.29.0"13286version = "0.34.0"
13387source = "registry+https://github.com/rust-lang/crates.io-index"13287source = "registry+https://github.com/rust-lang/crates.io-index"
13388checksum = "c3d027175d00b01e0cbeb97d6ab6ebe03b12330a35786cbaca5252b1c4bf5d9b"13288checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d"
1338913289
13390[[package]]13290[[package]]
13391name = "windows_aarch64_msvc"13291name = "windows_aarch64_msvc"
1339513295
13396[[package]]13296[[package]]
13397name = "windows_i686_gnu"13297name = "windows_i686_gnu"
13398version = "0.29.0"13298version = "0.34.0"
13399source = "registry+https://github.com/rust-lang/crates.io-index"13299source = "registry+https://github.com/rust-lang/crates.io-index"
13400checksum = "8793f59f7b8e8b01eda1a652b2697d87b93097198ae85f823b969ca5b89bba58"13300checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed"
1340113301
13402[[package]]13302[[package]]
13403name = "windows_i686_gnu"13303name = "windows_i686_gnu"
1340713307
13408[[package]]13308[[package]]
13409name = "windows_i686_msvc"13309name = "windows_i686_msvc"
13410version = "0.29.0"13310version = "0.34.0"
13411source = "registry+https://github.com/rust-lang/crates.io-index"13311source = "registry+https://github.com/rust-lang/crates.io-index"
13412checksum = "8602f6c418b67024be2996c512f5f995de3ba417f4c75af68401ab8756796ae4"13312checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956"
1341313313
13414[[package]]13314[[package]]
13415name = "windows_i686_msvc"13315name = "windows_i686_msvc"
1341913319
13420[[package]]13320[[package]]
13421name = "windows_x86_64_gnu"13321name = "windows_x86_64_gnu"
13422version = "0.29.0"13322version = "0.34.0"
13423source = "registry+https://github.com/rust-lang/crates.io-index"13323source = "registry+https://github.com/rust-lang/crates.io-index"
13424checksum = "f3d615f419543e0bd7d2b3323af0d86ff19cbc4f816e6453f36a2c2ce889c354"13324checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4"
1342513325
13426[[package]]13326[[package]]
13427name = "windows_x86_64_gnu"13327name = "windows_x86_64_gnu"
1343113331
13432[[package]]13332[[package]]
13433name = "windows_x86_64_msvc"13333name = "windows_x86_64_msvc"
13434version = "0.29.0"13334version = "0.34.0"
13435source = "registry+https://github.com/rust-lang/crates.io-index"13335source = "registry+https://github.com/rust-lang/crates.io-index"
13436checksum = "11d95421d9ed3672c280884da53201a5c46b7b2765ca6faf34b0d71cf34a3561"13336checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9"
1343713337
13438[[package]]13338[[package]]
13439name = "windows_x86_64_msvc"13339name = "windows_x86_64_msvc"
1347813378
13479[[package]]13379[[package]]
13480name = "xcm"13380name = "xcm"
13481version = "0.9.22"13381version = "0.9.23"
13482source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"13382source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
13483dependencies = [13383dependencies = [
13484 "derivative",13384 "derivative",
13485 "impl-trait-for-tuples",13385 "impl-trait-for-tuples",
1349113391
13492[[package]]13392[[package]]
13493name = "xcm-builder"13393name = "xcm-builder"
13494version = "0.9.22"13394version = "0.9.23"
13495source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"13395source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
13496dependencies = [13396dependencies = [
13497 "frame-support",13397 "frame-support",
13498 "frame-system",13398 "frame-system",
1351113411
13512[[package]]13412[[package]]
13513name = "xcm-executor"13413name = "xcm-executor"
13514version = "0.9.22"13414version = "0.9.23"
13515source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"13415source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
13516dependencies = [13416dependencies = [
13517 "frame-benchmarking",13417 "frame-benchmarking",
13518 "frame-support",13418 "frame-support",
13530[[package]]13430[[package]]
13531name = "xcm-procedural"13431name = "xcm-procedural"
13532version = "0.1.0"13432version = "0.1.0"
13533source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"13433source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
13534dependencies = [13434dependencies = [
13535 "Inflector",13435 "Inflector",
13536 "proc-macro2",13436 "proc-macro2",
modifiedDockerfile-parachaindiffbeforeafterboth
44
5ARG RUST_TOOLCHAIN=nightly-2022-04-075ARG RUST_TOOLCHAIN=nightly-2022-04-07
6#ARG RUST_C=1.62.0-nightly6#ARG RUST_C=1.62.0-nightly
7ARG POLKA_VERSION=release-v0.9.227ARG POLKA_VERSION=release-v0.9.23
8ARG UNIQUE_BRANCH=develop8ARG UNIQUE_BRANCH=develop
99
10#ARG USER=***10#ARG USER=***
modifiedMakefilediffbeforeafterboth
5959
60.PHONY: _bench60.PHONY: _bench
61_bench:61_bench:
62 cargo run --release --features runtime-benchmarks,unique-runtime -- \62 cargo run --release --features runtime-benchmarks,$(RUNTIME) -- \
63 benchmark pallet --pallet pallet-$(if $(PALLET),$(PALLET),$(error Must set PALLET)) \63 benchmark pallet --pallet pallet-$(if $(PALLET),$(PALLET),$(error Must set PALLET)) \
64 --wasm-execution compiled --extrinsic '*' \64 --wasm-execution compiled --extrinsic '*' \
65 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=80 --heap-pages=4096 \65 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=80 --heap-pages=4096 \
101bench-rmrk-core:101bench-rmrk-core:
102 make _bench PALLET=proxy-rmrk-core102 make _bench PALLET=proxy-rmrk-core
103
104.PHONY: bench-rmrk-equip
105bench-rmrk-equip:
106 make _bench PALLET=proxy-rmrk-equip
103107
104.PHONY: bench108.PHONY: bench
105bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core109bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip
106110
modifiedREADME.mddiffbeforeafterboth
91```91```
92git clone https://github.com/paritytech/polkadot.git92git clone https://github.com/paritytech/polkadot.git
93cd polkadot93cd polkadot
94git checkout release-v0.9.2294git checkout release-v0.9.23
95cargo build --release95cargo build --release
96```96```
9797
modifiedclient/rpc/Cargo.tomldiffbeforeafterboth
14jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }14jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }
15anyhow = "1.0.57"15anyhow = "1.0.57"
1616
17sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }19sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
20sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }20sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
21sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }21sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
2323
modifiedcrates/evm-coder/Cargo.tomldiffbeforeafterboth
9primitive-types = { version = "0.11.1", default-features = false }9primitive-types = { version = "0.11.1", default-features = false }
10hex-literal = "0.3.3"10hex-literal = "0.3.3"
11ethereum = { version = "0.12.0", default-features = false }11ethereum = { version = "0.12.0", default-features = false }
12evm-core = { default-features = false , git = "https://github.com/uniquenetwork/evm", branch = "unique-polkadot-v0.9.22" }12evm-core = { default-features = false , git = "https://github.com/uniquenetwork/evm", branch = "unique-polkadot-v0.9.23" }
13impl-trait-for-tuples = "0.2.1"13impl-trait-for-tuples = "0.2.1"
1414
15[dev-dependencies]15[dev-dependencies]
modifiedcrates/evm-coder/tests/generics.rsdiffbeforeafterboth
41 T: core::fmt::Debug,41 T: core::fmt::Debug,
42{42{
43 fn test_3(&self) -> Result<uint256> {43 fn test_3(&self) -> Result<uint256> {
44 todo!()44 unreachable!()
45 }45 }
46}46}
4747
modifiednode/cli/Cargo.tomldiffbeforeafterboth
33
4[build-dependencies.substrate-build-script-utils]4[build-dependencies.substrate-build-script-utils]
5git = "https://github.com/paritytech/substrate"5git = "https://github.com/paritytech/substrate"
6branch = "polkadot-v0.9.22"6branch = "polkadot-v0.9.23"
77
8################################################################################8################################################################################
9# Substrate Dependecies9# Substrate Dependecies
1616
17[dependencies.frame-benchmarking]17[dependencies.frame-benchmarking]
18git = "https://github.com/paritytech/substrate"18git = "https://github.com/paritytech/substrate"
19branch = "polkadot-v0.9.22"19branch = "polkadot-v0.9.23"
2020
21[dependencies.frame-benchmarking-cli]21[dependencies.frame-benchmarking-cli]
22git = "https://github.com/paritytech/substrate"22git = "https://github.com/paritytech/substrate"
23branch = "polkadot-v0.9.22"23branch = "polkadot-v0.9.23"
2424
25[dependencies.try-runtime-cli]25[dependencies.try-runtime-cli]
26git = 'https://github.com/paritytech/substrate'26git = 'https://github.com/paritytech/substrate'
27branch = 'polkadot-v0.9.22'27branch = 'polkadot-v0.9.23'
2828
29[dependencies.pallet-transaction-payment-rpc]29[dependencies.pallet-transaction-payment-rpc]
30git = "https://github.com/paritytech/substrate"30git = "https://github.com/paritytech/substrate"
31branch = "polkadot-v0.9.22"31branch = "polkadot-v0.9.23"
3232
33[dependencies.substrate-prometheus-endpoint]33[dependencies.substrate-prometheus-endpoint]
34git = "https://github.com/paritytech/substrate"34git = "https://github.com/paritytech/substrate"
35branch = "polkadot-v0.9.22"35branch = "polkadot-v0.9.23"
3636
37[dependencies.sc-basic-authorship]37[dependencies.sc-basic-authorship]
38git = "https://github.com/paritytech/substrate"38git = "https://github.com/paritytech/substrate"
39branch = "polkadot-v0.9.22"39branch = "polkadot-v0.9.23"
4040
41[dependencies.sc-chain-spec]41[dependencies.sc-chain-spec]
42git = "https://github.com/paritytech/substrate"42git = "https://github.com/paritytech/substrate"
43branch = "polkadot-v0.9.22"43branch = "polkadot-v0.9.23"
4444
45[dependencies.sc-cli]45[dependencies.sc-cli]
46features = ['wasmtime']46features = ['wasmtime']
47git = "https://github.com/paritytech/substrate"47git = "https://github.com/paritytech/substrate"
48branch = "polkadot-v0.9.22"48branch = "polkadot-v0.9.23"
4949
50[dependencies.sc-client-api]50[dependencies.sc-client-api]
51git = "https://github.com/paritytech/substrate"51git = "https://github.com/paritytech/substrate"
52branch = "polkadot-v0.9.22"52branch = "polkadot-v0.9.23"
5353
54[dependencies.sc-consensus]54[dependencies.sc-consensus]
55git = "https://github.com/paritytech/substrate"55git = "https://github.com/paritytech/substrate"
56branch = "polkadot-v0.9.22"56branch = "polkadot-v0.9.23"
5757
58[dependencies.sc-consensus-aura]58[dependencies.sc-consensus-aura]
59git = "https://github.com/paritytech/substrate"59git = "https://github.com/paritytech/substrate"
60branch = "polkadot-v0.9.22"60branch = "polkadot-v0.9.23"
6161
62[dependencies.sc-executor]62[dependencies.sc-executor]
63features = ['wasmtime']63features = ['wasmtime']
64git = "https://github.com/paritytech/substrate"64git = "https://github.com/paritytech/substrate"
65branch = "polkadot-v0.9.22"65branch = "polkadot-v0.9.23"
6666
67[dependencies.sc-finality-grandpa]67[dependencies.sc-finality-grandpa]
68git = "https://github.com/paritytech/substrate"68git = "https://github.com/paritytech/substrate"
69branch = "polkadot-v0.9.22"69branch = "polkadot-v0.9.23"
7070
71[dependencies.sc-keystore]71[dependencies.sc-keystore]
72git = "https://github.com/paritytech/substrate"72git = "https://github.com/paritytech/substrate"
73branch = "polkadot-v0.9.22"73branch = "polkadot-v0.9.23"
7474
75[dependencies.sc-rpc]75[dependencies.sc-rpc]
76git = "https://github.com/paritytech/substrate"76git = "https://github.com/paritytech/substrate"
77branch = "polkadot-v0.9.22"77branch = "polkadot-v0.9.23"
7878
79[dependencies.sc-rpc-api]79[dependencies.sc-rpc-api]
80git = "https://github.com/paritytech/substrate"80git = "https://github.com/paritytech/substrate"
81branch = "polkadot-v0.9.22"81branch = "polkadot-v0.9.23"
8282
83[dependencies.sc-service]83[dependencies.sc-service]
84features = ['wasmtime']84features = ['wasmtime']
85git = "https://github.com/paritytech/substrate"85git = "https://github.com/paritytech/substrate"
86branch = "polkadot-v0.9.22"86branch = "polkadot-v0.9.23"
8787
88[dependencies.sc-telemetry]88[dependencies.sc-telemetry]
89git = "https://github.com/paritytech/substrate"89git = "https://github.com/paritytech/substrate"
90branch = "polkadot-v0.9.22"90branch = "polkadot-v0.9.23"
9191
92[dependencies.sc-transaction-pool]92[dependencies.sc-transaction-pool]
93git = "https://github.com/paritytech/substrate"93git = "https://github.com/paritytech/substrate"
94branch = "polkadot-v0.9.22"94branch = "polkadot-v0.9.23"
9595
96[dependencies.sc-tracing]96[dependencies.sc-tracing]
97git = "https://github.com/paritytech/substrate"97git = "https://github.com/paritytech/substrate"
98branch = "polkadot-v0.9.22"98branch = "polkadot-v0.9.23"
9999
100[dependencies.sc-sysinfo]100[dependencies.sc-sysinfo]
101git = "https://github.com/paritytech/substrate"101git = "https://github.com/paritytech/substrate"
102branch = "polkadot-v0.9.22"102branch = "polkadot-v0.9.23"
103103
104[dependencies.sp-block-builder]104[dependencies.sp-block-builder]
105git = "https://github.com/paritytech/substrate"105git = "https://github.com/paritytech/substrate"
106branch = "polkadot-v0.9.22"106branch = "polkadot-v0.9.23"
107107
108[dependencies.sp-api]108[dependencies.sp-api]
109git = "https://github.com/paritytech/substrate"109git = "https://github.com/paritytech/substrate"
110branch = "polkadot-v0.9.22"110branch = "polkadot-v0.9.23"
111111
112[dependencies.sp-blockchain]112[dependencies.sp-blockchain]
113git = "https://github.com/paritytech/substrate"113git = "https://github.com/paritytech/substrate"
114branch = "polkadot-v0.9.22"114branch = "polkadot-v0.9.23"
115115
116[dependencies.sp-consensus]116[dependencies.sp-consensus]
117git = "https://github.com/paritytech/substrate"117git = "https://github.com/paritytech/substrate"
118branch = "polkadot-v0.9.22"118branch = "polkadot-v0.9.23"
119119
120[dependencies.sp-consensus-aura]120[dependencies.sp-consensus-aura]
121git = "https://github.com/paritytech/substrate"121git = "https://github.com/paritytech/substrate"
122branch = "polkadot-v0.9.22"122branch = "polkadot-v0.9.23"
123123
124[dependencies.sp-core]124[dependencies.sp-core]
125git = "https://github.com/paritytech/substrate"125git = "https://github.com/paritytech/substrate"
126branch = "polkadot-v0.9.22"126branch = "polkadot-v0.9.23"
127127
128[dependencies.sp-finality-grandpa]128[dependencies.sp-finality-grandpa]
129git = "https://github.com/paritytech/substrate"129git = "https://github.com/paritytech/substrate"
130branch = "polkadot-v0.9.22"130branch = "polkadot-v0.9.23"
131131
132[dependencies.sp-inherents]132[dependencies.sp-inherents]
133git = "https://github.com/paritytech/substrate"133git = "https://github.com/paritytech/substrate"
134branch = "polkadot-v0.9.22"134branch = "polkadot-v0.9.23"
135135
136[dependencies.sp-keystore]136[dependencies.sp-keystore]
137git = "https://github.com/paritytech/substrate"137git = "https://github.com/paritytech/substrate"
138branch = "polkadot-v0.9.22"138branch = "polkadot-v0.9.23"
139139
140[dependencies.sp-offchain]140[dependencies.sp-offchain]
141git = "https://github.com/paritytech/substrate"141git = "https://github.com/paritytech/substrate"
142branch = "polkadot-v0.9.22"142branch = "polkadot-v0.9.23"
143143
144[dependencies.sp-runtime]144[dependencies.sp-runtime]
145git = "https://github.com/paritytech/substrate"145git = "https://github.com/paritytech/substrate"
146branch = "polkadot-v0.9.22"146branch = "polkadot-v0.9.23"
147147
148[dependencies.sp-session]148[dependencies.sp-session]
149git = "https://github.com/paritytech/substrate"149git = "https://github.com/paritytech/substrate"
150branch = "polkadot-v0.9.22"150branch = "polkadot-v0.9.23"
151151
152[dependencies.sp-timestamp]152[dependencies.sp-timestamp]
153git = "https://github.com/paritytech/substrate"153git = "https://github.com/paritytech/substrate"
154branch = "polkadot-v0.9.22"154branch = "polkadot-v0.9.23"
155155
156[dependencies.sp-transaction-pool]156[dependencies.sp-transaction-pool]
157git = "https://github.com/paritytech/substrate"157git = "https://github.com/paritytech/substrate"
158branch = "polkadot-v0.9.22"158branch = "polkadot-v0.9.23"
159159
160[dependencies.sp-trie]160[dependencies.sp-trie]
161git = "https://github.com/paritytech/substrate"161git = "https://github.com/paritytech/substrate"
162branch = "polkadot-v0.9.22"162branch = "polkadot-v0.9.23"
163163
164[dependencies.substrate-frame-rpc-system]164[dependencies.substrate-frame-rpc-system]
165git = "https://github.com/paritytech/substrate"165git = "https://github.com/paritytech/substrate"
166branch = "polkadot-v0.9.22"166branch = "polkadot-v0.9.23"
167167
168[dependencies.sc-network]168[dependencies.sc-network]
169git = "https://github.com/paritytech/substrate"169git = "https://github.com/paritytech/substrate"
170branch = "polkadot-v0.9.22"170branch = "polkadot-v0.9.23"
171171
172[dependencies.serde]172[dependencies.serde]
173features = ['derive']173features = ['derive']
178178
179[dependencies.sc-consensus-manual-seal]179[dependencies.sc-consensus-manual-seal]
180git = "https://github.com/paritytech/substrate"180git = "https://github.com/paritytech/substrate"
181branch = "polkadot-v0.9.22"181branch = "polkadot-v0.9.23"
182182
183################################################################################183################################################################################
184# Cumulus dependencies184# Cumulus dependencies
185185
186[dependencies.cumulus-client-consensus-aura]186[dependencies.cumulus-client-consensus-aura]
187git = "https://github.com/paritytech/cumulus"187git = "https://github.com/paritytech/cumulus"
188branch = "polkadot-v0.9.22"188branch = "polkadot-v0.9.23"
189189
190[dependencies.cumulus-client-consensus-common]190[dependencies.cumulus-client-consensus-common]
191git = "https://github.com/paritytech/cumulus"191git = "https://github.com/paritytech/cumulus"
192branch = "polkadot-v0.9.22"192branch = "polkadot-v0.9.23"
193193
194[dependencies.cumulus-client-collator]194[dependencies.cumulus-client-collator]
195git = "https://github.com/paritytech/cumulus"195git = "https://github.com/paritytech/cumulus"
196branch = "polkadot-v0.9.22"196branch = "polkadot-v0.9.23"
197197
198[dependencies.cumulus-client-cli]198[dependencies.cumulus-client-cli]
199git = "https://github.com/paritytech/cumulus"199git = "https://github.com/paritytech/cumulus"
200branch = "polkadot-v0.9.22"200branch = "polkadot-v0.9.23"
201201
202[dependencies.cumulus-client-network]202[dependencies.cumulus-client-network]
203git = "https://github.com/paritytech/cumulus"203git = "https://github.com/paritytech/cumulus"
204branch = "polkadot-v0.9.22"204branch = "polkadot-v0.9.23"
205205
206[dependencies.cumulus-primitives-core]206[dependencies.cumulus-primitives-core]
207git = "https://github.com/paritytech/cumulus"207git = "https://github.com/paritytech/cumulus"
208branch = "polkadot-v0.9.22"208branch = "polkadot-v0.9.23"
209209
210[dependencies.cumulus-primitives-parachain-inherent]210[dependencies.cumulus-primitives-parachain-inherent]
211git = "https://github.com/paritytech/cumulus"211git = "https://github.com/paritytech/cumulus"
212branch = "polkadot-v0.9.22"212branch = "polkadot-v0.9.23"
213213
214[dependencies.cumulus-client-service]214[dependencies.cumulus-client-service]
215git = "https://github.com/paritytech/cumulus"215git = "https://github.com/paritytech/cumulus"
216branch = "polkadot-v0.9.22"216branch = "polkadot-v0.9.23"
217217
218[dependencies.cumulus-relay-chain-interface]218[dependencies.cumulus-relay-chain-interface]
219git = "https://github.com/paritytech/cumulus"219git = "https://github.com/paritytech/cumulus"
220branch = "polkadot-v0.9.22"220branch = "polkadot-v0.9.23"
221221
222[dependencies.cumulus-relay-chain-inprocess-interface]222[dependencies.cumulus-relay-chain-inprocess-interface]
223git = "https://github.com/paritytech/cumulus"223git = "https://github.com/paritytech/cumulus"
224branch = "polkadot-v0.9.22"224branch = "polkadot-v0.9.23"
225225
226[dependencies.cumulus-relay-chain-rpc-interface]226[dependencies.cumulus-relay-chain-rpc-interface]
227git = "https://github.com/paritytech/cumulus"227git = "https://github.com/paritytech/cumulus"
228branch = "polkadot-v0.9.22"228branch = "polkadot-v0.9.23"
229229
230################################################################################230################################################################################
231# Polkadot dependencies231# Polkadot dependencies
232[dependencies.polkadot-primitives]232[dependencies.polkadot-primitives]
233git = "https://github.com/paritytech/polkadot"233git = "https://github.com/paritytech/polkadot"
234branch = "release-v0.9.22"234branch = "release-v0.9.23"
235235
236[dependencies.polkadot-service]236[dependencies.polkadot-service]
237git = "https://github.com/paritytech/polkadot"237git = "https://github.com/paritytech/polkadot"
238branch = "release-v0.9.22"238branch = "release-v0.9.23"
239239
240[dependencies.polkadot-cli]240[dependencies.polkadot-cli]
241git = "https://github.com/paritytech/polkadot"241git = "https://github.com/paritytech/polkadot"
242branch = "release-v0.9.22"242branch = "release-v0.9.23"
243243
244[dependencies.polkadot-test-service]244[dependencies.polkadot-test-service]
245git = "https://github.com/paritytech/polkadot"245git = "https://github.com/paritytech/polkadot"
246branch = "release-v0.9.22"246branch = "release-v0.9.23"
247247
248[dependencies.polkadot-parachain]248[dependencies.polkadot-parachain]
249git = "https://github.com/paritytech/polkadot"249git = "https://github.com/paritytech/polkadot"
250branch = "release-v0.9.22"250branch = "release-v0.9.23"
251251
252252
253################################################################################253################################################################################
277277
278[dependencies.pallet-transaction-payment-rpc-runtime-api]278[dependencies.pallet-transaction-payment-rpc-runtime-api]
279git = "https://github.com/paritytech/substrate"279git = "https://github.com/paritytech/substrate"
280branch = "polkadot-v0.9.22"280branch = "polkadot-v0.9.23"
281281
282################################################################################282################################################################################
283# Package283# Package
291license = 'GPLv3'291license = 'GPLv3'
292name = 'unique-node'292name = 'unique-node'
293repository = 'https://github.com/UniqueNetwork/unique-chain'293repository = 'https://github.com/UniqueNetwork/unique-chain'
294version = '0.9.22'294version = '0.9.23'
295295
296[[bin]]296[[bin]]
297name = 'unique-collator'297name = 'unique-collator'
309jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }309jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }
310tokio = { version = "1.17.0", features = ["time"] }310tokio = { version = "1.17.0", features = ["time"] }
311311
312fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }312fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
313fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }313fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
314fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }314fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
315fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }315fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
316fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }316fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
317fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }317fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
318pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }318pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
319319
320unique-rpc = { default-features = false, path = "../rpc" }320unique-rpc = { default-features = false, path = "../rpc" }
321rmrk-rpc = { path = "../../primitives/rmrk-rpc" }321rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
322322
323[features]323[features]
324default = []324default = []
325runtime-benchmarks = [325runtime-benchmarks = [
326 'unique-runtime/runtime-benchmarks',326 'unique-runtime?/runtime-benchmarks',
327 'quartz-runtime?/runtime-benchmarks',
328 'opal-runtime/runtime-benchmarks',
327 'polkadot-service/runtime-benchmarks',329 'polkadot-service/runtime-benchmarks',
328]330]
329try-runtime = []331try-runtime = []
modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
26use unique_runtime_common::types::*;26use unique_runtime_common::types::*;
2727
28#[cfg(feature = "unique-runtime")]28#[cfg(feature = "unique-runtime")]
29use unique_runtime as default_runtime;29pub use unique_runtime as default_runtime;
3030
31#[cfg(all(not(feature = "unique-runtime"), feature = "quartz-runtime"))]31#[cfg(all(not(feature = "unique-runtime"), feature = "quartz-runtime"))]
32use quartz_runtime as default_runtime;32pub use quartz_runtime as default_runtime;
3333
34#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]34#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]
35use opal_runtime as default_runtime;35pub use opal_runtime as default_runtime;
3636
37/// The `ChainSpec` parameterized for the unique runtime.37/// The `ChainSpec` parameterized for the unique runtime.
38#[cfg(feature = "unique-runtime")]38#[cfg(feature = "unique-runtime")]
modifiednode/cli/src/command.rsdiffbeforeafterboth
3434
35use crate::{35use crate::{
36 chain_spec::{self, RuntimeId, RuntimeIdentification, ServiceId, ServiceIdentification},36 chain_spec::{
37 self, RuntimeId, RuntimeIdentification, ServiceId, ServiceIdentification, default_runtime,
38 },
37 cli::{Cli, RelayChainCli, Subcommand},39 cli::{Cli, RelayChainCli, Subcommand},
38 service::{new_partial, start_node, start_dev_node},40 service::{new_partial, start_node, start_dev_node},
44#[cfg(feature = "quartz-runtime")]46#[cfg(feature = "quartz-runtime")]
45use crate::service::QuartzRuntimeExecutor;47use crate::service::QuartzRuntimeExecutor;
4648
47use crate::service::OpalRuntimeExecutor;49use crate::service::{OpalRuntimeExecutor, DefaultRuntimeExecutor};
4850
49use codec::Encode;51use codec::Encode;
50use cumulus_primitives_core::ParaId;52use cumulus_primitives_core::ParaId;
51use cumulus_client_service::genesis::generate_genesis_block;53use cumulus_client_service::genesis::generate_genesis_block;
52use std::{future::Future, pin::Pin};54use std::{future::Future, pin::Pin};
53use log::info;55use log::info;
54use polkadot_parachain::primitives::AccountIdConversion;
55use sc_cli::{56use sc_cli::{
56 ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,57 ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
57 NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli,58 NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli,
60 config::{BasePath, PrometheusConfig},61 config::{BasePath, PrometheusConfig},
61};62};
62use sp_core::hexdisplay::HexDisplay;63use sp_core::hexdisplay::HexDisplay;
63use sp_runtime::traits::Block as BlockT;64use sp_runtime::traits::{AccountIdConversion, Block as BlockT};
64use std::{io::Write, net::SocketAddr, time::Duration};65use std::{io::Write, net::SocketAddr, time::Duration};
6566
66use unique_runtime_common::types::Block;67use unique_runtime_common::types::Block;
372373
373 Ok(())374 Ok(())
374 }375 }
375 #[cfg(feature = "unique-runtime")]
376 Some(Subcommand::Benchmark(cmd)) => {376 Some(Subcommand::Benchmark(cmd)) => {
377 use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};377 use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};
378 let runner = cli.create_runner(cmd)?;378 let runner = cli.create_runner(cmd)?;
379 // Switch on the concrete benchmark sub-command-379 // Switch on the concrete benchmark sub-command-
380 match cmd {380 match cmd {
381 BenchmarkCmd::Pallet(cmd) => {381 BenchmarkCmd::Pallet(cmd) => {
382 if cfg!(feature = "runtime-benchmarks") {382 if cfg!(feature = "runtime-benchmarks") {
383 runner.sync_run(|config| cmd.run::<Block, UniqueRuntimeExecutor>(config))383 runner.sync_run(|config| cmd.run::<Block, DefaultRuntimeExecutor>(config))
384 } else {384 } else {
385 Err("Benchmarking wasn't enabled when building the node. \385 Err("Benchmarking wasn't enabled when building the node. \
386 You can enable it with `--features runtime-benchmarks`."386 You can enable it with `--features runtime-benchmarks`."
389 }389 }
390 BenchmarkCmd::Block(cmd) => runner.sync_run(|config| {390 BenchmarkCmd::Block(cmd) => runner.sync_run(|config| {
391 let partials = new_partial::<391 let partials = new_partial::<
392 unique_runtime::RuntimeApi,392 default_runtime::RuntimeApi,
393 UniqueRuntimeExecutor,393 DefaultRuntimeExecutor,
394 _,394 _,
395 >(&config, crate::service::parachain_build_import_queue)?;395 >(&config, crate::service::parachain_build_import_queue)?;
396 cmd.run(partials.client)396 cmd.run(partials.client)
397 }),397 }),
398 BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {398 BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| {
399 let partials = new_partial::<399 let partials = new_partial::<
400 unique_runtime::RuntimeApi,400 default_runtime::RuntimeApi,
401 UniqueRuntimeExecutor,401 DefaultRuntimeExecutor,
402 _,402 _,
403 >(&config, crate::service::parachain_build_import_queue)?;403 >(&config, crate::service::parachain_build_import_queue)?;
404 let db = partials.backend.expose_db();404 let db = partials.backend.expose_db();
412 BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),412 BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
413 }413 }
414 }414 }
415 #[cfg(not(feature = "unique-runtime"))]
416 Some(Subcommand::Benchmark(..)) => {
417 Err("benchmarking is only available with unique runtime enabled".into())
418 }
419 Some(Subcommand::TryRuntime(cmd)) => {415 Some(Subcommand::TryRuntime(cmd)) => {
420 if cfg!(feature = "try-runtime") {416 if cfg!(feature = "try-runtime") {
421 let runner = cli.create_runner(cmd)?;417 let runner = cli.create_runner(cmd)?;
495491
496 let para_id = ParaId::from(para_id);492 let para_id = ParaId::from(para_id);
497493
498 let parachain_account =494 let parachain_account = AccountIdConversion::<polkadot_primitives::v2::AccountId>::into_account_truncating(&para_id);
499 AccountIdConversion::<polkadot_primitives::v2::AccountId>::into_account(
500 &para_id,
501 );
502495
modifiednode/cli/src/service.rsdiffbeforeafterboth
83/// Opal native executor instance.82/// Opal native executor instance.
84pub struct OpalRuntimeExecutor;83pub struct OpalRuntimeExecutor;
84
85#[cfg(feature = "unique-runtime")]
86pub type DefaultRuntimeExecutor = UniqueRuntimeExecutor;
87
88#[cfg(all(not(feature = "unique-runtime"), feature = "quartz-runtime"))]
89pub type DefaultRuntimeExecutor = QuartzRuntimeExecutor;
90
91#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]
92pub type DefaultRuntimeExecutor = OpalRuntimeExecutor;
8593
86#[cfg(feature = "unique-runtime")]94#[cfg(feature = "unique-runtime")]
87impl NativeExecutionDispatch for UniqueRuntimeExecutor {95impl NativeExecutionDispatch for UniqueRuntimeExecutor {
modifiednode/rpc/Cargo.tomldiffbeforeafterboth
13futures = { version = "0.3.17", features = ["compat"] }13futures = { version = "0.3.17", features = ["compat"] }
14jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }14jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }
15# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'master' }15# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'master' }
16pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }19sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
20sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }20sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
21sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }21sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
22sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }22sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
23sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }23sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
24sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }24sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
25sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }25sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
26sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }26sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
27sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }27sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
28sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }28sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
29sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }29sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
30sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }30sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
31sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }31sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
32sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }32sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
33sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }33sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
34sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }34sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
35sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }35sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
36sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }36sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
37sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }37sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
38sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }38sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
39sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }39sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
40substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }40substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
41tokio = { version = "0.2.25", features = ["macros", "sync"] }41tokio = { version = "0.2.25", features = ["macros", "sync"] }
4242
43pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }43pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
44fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }44fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
45fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }45fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
46fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }46fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
47fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }47fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
48fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }48fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
49fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }49fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
5050
51pallet-common = { default-features = false, path = "../../pallets/common" }51pallet-common = { default-features = false, path = "../../pallets/common" }
52unique-runtime-common = { default-features = false, path = "../../runtime/common" }52unique-runtime-common = { default-features = false, path = "../../runtime/common" }
modifiednode/rpc/src/lib.rsdiffbeforeafterboth
175 use uc_rpc::{RmrkApiServer, Rmrk};175 use uc_rpc::{RmrkApiServer, Rmrk};
176176
177 // use pallet_contracts_rpc::{Contracts, ContractsApi};177 // use pallet_contracts_rpc::{Contracts, ContractsApi};
178 use pallet_transaction_payment_rpc::{TransactionPaymentRpc, TransactionPaymentApiServer};178 use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
179 use substrate_frame_rpc_system::{SystemRpc, SystemApiServer};179 use substrate_frame_rpc_system::{System, SystemApiServer};
180180
181 let mut io = RpcModule::new(());181 let mut io = RpcModule::new(());
182 let FullDeps {182 let FullDeps {
196 max_past_logs,196 max_past_logs,
197 } = deps;197 } = deps;
198198
199 io.merge(SystemRpc::new(Arc::clone(&client), Arc::clone(&pool), deny_unsafe).into_rpc())?;199 io.merge(System::new(Arc::clone(&client), Arc::clone(&pool), deny_unsafe).into_rpc())?;
200 io.merge(TransactionPaymentRpc::new(Arc::clone(&client)).into_rpc())?;200 io.merge(TransactionPayment::new(Arc::clone(&client)).into_rpc())?;
201201
202 // io.extend_with(ContractsApi::to_delegate(Contracts::new(client.clone())));202 // io.extend_with(ContractsApi::to_delegate(Contracts::new(client.clone())));
203203
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
11version = '3.1.2'11version = '3.1.2'
1212
13[dependencies]13[dependencies]
14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }19frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
20fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }20fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
22pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }22pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
23evm-coder = { default-features = false, path = '../../crates/evm-coder' }23evm-coder = { default-features = false, path = '../../crates/evm-coder' }
24ethereum = { version = "0.12.0", default-features = false }24ethereum = { version = "0.12.0", default-features = false }
25pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }25pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
2626
27serde = { version = "1.0.130", default-features = false }27serde = { version = "1.0.130", default-features = false }
28scale-info = { version = "2.0.1", default-features = false, features = [28scale-info = { version = "2.0.1", default-features = false, features = [
modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
98 token_owner: false,98 token_owner: false,
99 collection_admin: false,99 collection_admin: false,
100 restricted: None,100 restricted: None,
101 #[cfg(feature = "runtime-benchmarks")]
101 permissive: true,102 permissive: true,
102 }),103 }),
103 mint_mode: Some(true),104 mint_mode: Some(true),
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
74 RmrkPropertyInfo,74 RmrkPropertyInfo,
75 RmrkBaseInfo,75 RmrkBaseInfo,
76 RmrkPartType,76 RmrkPartType,
77 RmrkTheme,77 RmrkBoundedTheme,
78 RmrkNftChild,78 RmrkNftChild,
79 CollectionPermissions,79 CollectionPermissions,
80 SchemaVersion,80 SchemaVersion,
543 RmrkPropertyInfo,543 RmrkPropertyInfo,
544 RmrkBaseInfo<T::AccountId>,544 RmrkBaseInfo<T::AccountId>,
545 RmrkPartType,545 RmrkPartType,
546 RmrkTheme,546 RmrkBoundedTheme,
547 RmrkNftChild,547 RmrkNftChild,
548 )>,548 )>,
549 ),549 ),
1212 limit_default_clone!(old_limit, new_limit,1212 limit_default_clone!(old_limit, new_limit,
1213 access => {},1213 access => {},
1214 mint_mode => {},1214 mint_mode => {},
1215 nesting => {1215 nesting => { /* todo check for permissive, if only it gets out of benchmarks */ },
1216 #[cfg(not(feature = "runtime-benchmarks"))]
1217 ensure!(
1218 // Permissive is only allowed for tests and internal usage of chain for now
1219 old_limit.permissive || !new_limit.permissive,
1220 <Error<T>>::NoPermission,
1221 )
1222 },
1223 );1216 );
1224 Ok(new_limit)1217 Ok(new_limit)
modifiedpallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth
8scale-info = { version = "2.0.1", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
9 "derive",9 "derive",
10] }10] }
11sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }11sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
12sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }12sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
13ethereum = { version = "0.12.0", default-features = false }13ethereum = { version = "0.12.0", default-features = false }
14evm-coder = { default-features = false, path = "../../crates/evm-coder" }14evm-coder = { default-features = false, path = "../../crates/evm-coder" }
15pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }15pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
16pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }16pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
17frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }19frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
20up-data-structs = { default-features = false, path = "../../primitives/data-structs" }20up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
2121
22[dependencies.codec]22[dependencies.codec]
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
11log = { default-features = false, version = "0.4.14" }11log = { default-features = false, version = "0.4.14" }
1212
13# Substrate13# Substrate
14frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }14frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
15frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }15frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
1919
20# Unique20# Unique
21pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }21pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
22fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }22fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
23up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22" }23up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23" }
2424
25# Locals25# Locals
26evm-coder = { default-features = false, path = '../../crates/evm-coder' }26evm-coder = { default-features = false, path = '../../crates/evm-coder' }
modifiedpallets/evm-migration/Cargo.tomldiffbeforeafterboth
8scale-info = { version = "2.0.1", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
9 "derive",9 "derive",
10] }10] }
11frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }11frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
12frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }12frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
13frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }13frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
14sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
19fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }19fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
2020
21[dependencies.codec]21[dependencies.codec]
22default-features = false22default-features = false
modifiedpallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth
8scale-info = { version = "2.0.1", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
9 "derive",9 "derive",
10] }10] }
11frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }11frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
12frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }12frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
13sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }13sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
14sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22" }20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23" }
21fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }21fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
2222
23[dependencies.codec]23[dependencies.codec]
24default-features = false24default-features = false
modifiedpallets/fungible/Cargo.tomldiffbeforeafterboth
11version = '3.1.2'11version = '3.1.2'
1212
13[dependencies]13[dependencies]
14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
20pallet-structure = { default-features = false, path = '../structure' }20pallet-structure = { default-features = false, path = '../structure' }
21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
22evm-coder = { default-features = false, path = '../../crates/evm-coder' }22evm-coder = { default-features = false, path = '../../crates/evm-coder' }
23pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }23pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
24ethereum = { version = "0.12.0", default-features = false }24ethereum = { version = "0.12.0", default-features = false }
25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
26pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }26pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
27scale-info = { version = "2.0.1", default-features = false, features = [27scale-info = { version = "2.0.1", default-features = false, features = [
28 "derive",28 "derive",
29] }29] }
modifiedpallets/inflation/Cargo.tomldiffbeforeafterboth
43default-features = false43default-features = false
44optional = true44optional = true
45git = "https://github.com/paritytech/substrate"45git = "https://github.com/paritytech/substrate"
46branch = "polkadot-v0.9.22"46branch = "polkadot-v0.9.23"
4747
48[dependencies.frame-support]48[dependencies.frame-support]
49default-features = false49default-features = false
50git = "https://github.com/paritytech/substrate"50git = "https://github.com/paritytech/substrate"
51branch = "polkadot-v0.9.22"51branch = "polkadot-v0.9.23"
5252
53[dependencies.frame-system]53[dependencies.frame-system]
54default-features = false54default-features = false
55git = "https://github.com/paritytech/substrate"55git = "https://github.com/paritytech/substrate"
56branch = "polkadot-v0.9.22"56branch = "polkadot-v0.9.23"
5757
58[dependencies.pallet-balances]58[dependencies.pallet-balances]
59default-features = false59default-features = false
60git = "https://github.com/paritytech/substrate"60git = "https://github.com/paritytech/substrate"
61branch = "polkadot-v0.9.22"61branch = "polkadot-v0.9.23"
6262
63[dependencies.pallet-timestamp]63[dependencies.pallet-timestamp]
64default-features = false64default-features = false
65git = "https://github.com/paritytech/substrate"65git = "https://github.com/paritytech/substrate"
66branch = "polkadot-v0.9.22"66branch = "polkadot-v0.9.23"
6767
68[dependencies.pallet-randomness-collective-flip]68[dependencies.pallet-randomness-collective-flip]
69default-features = false69default-features = false
70git = "https://github.com/paritytech/substrate"70git = "https://github.com/paritytech/substrate"
71branch = "polkadot-v0.9.22"71branch = "polkadot-v0.9.23"
7272
73[dependencies.sp-std]73[dependencies.sp-std]
74default-features = false74default-features = false
75git = "https://github.com/paritytech/substrate"75git = "https://github.com/paritytech/substrate"
76branch = "polkadot-v0.9.22"76branch = "polkadot-v0.9.23"
7777
78[dependencies.serde]78[dependencies.serde]
79default-features = false79default-features = false
83[dependencies.sp-runtime]83[dependencies.sp-runtime]
84default-features = false84default-features = false
85git = "https://github.com/paritytech/substrate"85git = "https://github.com/paritytech/substrate"
86branch = "polkadot-v0.9.22"86branch = "polkadot-v0.9.23"
8787
88[dependencies.sp-core]88[dependencies.sp-core]
89default-features = false89default-features = false
90git = "https://github.com/paritytech/substrate"90git = "https://github.com/paritytech/substrate"
91branch = "polkadot-v0.9.22"91branch = "polkadot-v0.9.23"
9292
93[dependencies.sp-io]93[dependencies.sp-io]
94default-features = false94default-features = false
95git = "https://github.com/paritytech/substrate"95git = "https://github.com/paritytech/substrate"
96branch = "polkadot-v0.9.22"96branch = "polkadot-v0.9.23"
9797
98[dependencies]98[dependencies]
99scale-info = { version = "2.0.1", default-features = false, features = [99scale-info = { version = "2.0.1", default-features = false, features = [
modifiedpallets/nonfungible/Cargo.tomldiffbeforeafterboth
11version = '3.1.2'11version = '3.1.2'
1212
13[dependencies]13[dependencies]
14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
20pallet-common = { default-features = false, path = '../common' }20pallet-common = { default-features = false, path = '../common' }
21pallet-structure = { default-features = false, path = '../structure' }21pallet-structure = { default-features = false, path = '../structure' }
22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
23evm-coder = { default-features = false, path = '../../crates/evm-coder' }23evm-coder = { default-features = false, path = '../../crates/evm-coder' }
24pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }24pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
25ethereum = { version = "0.12.0", default-features = false }25ethereum = { version = "0.12.0", default-features = false }
26frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }26frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
27scale-info = { version = "2.0.1", default-features = false, features = [27scale-info = { version = "2.0.1", default-features = false, features = [
28 "derive",28 "derive",
29] }29] }
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
28use up_data_structs::{28use up_data_structs::{
29 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,29 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,
30 mapping::TokenAddressMapping, budget::Budget, Property, PropertyPermission, PropertyKey,30 mapping::TokenAddressMapping, budget::Budget, Property, PropertyPermission, PropertyKey,
31 PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,31 PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild, AuxPropertyValue,
32};32};
33use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};33use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
34use pallet_common::{34use pallet_common::{
124 OnEmpty = up_data_structs::TokenProperties,124 OnEmpty = up_data_structs::TokenProperties,
125 >;125 >;
126
127 #[pallet::storage]
128 #[pallet::getter(fn token_aux_property)]
129 pub type TokenAuxProperties<T: Config> = StorageNMap<
130 Key = (
131 Key<Twox64Concat, CollectionId>,
132 Key<Twox64Concat, TokenId>,
133 Key<Twox64Concat, PropertyScope>,
134 Key<Twox64Concat, PropertyKey>,
135 ),
136 Value = AuxPropertyValue,
137 QueryKind = OptionQuery,
138 >;
126139
127 /// Used to enumerate tokens owned by account140 /// Used to enumerate tokens owned by account
128 #[pallet::storage]141 #[pallet::storage]
294 Ok(())307 Ok(())
295 }308 }
309
310 pub fn try_mutate_token_aux_property<R, E>(
311 collection_id: CollectionId,
312 token_id: TokenId,
313 scope: PropertyScope,
314 key: PropertyKey,
315 f: impl FnOnce(&mut Option<AuxPropertyValue>) -> Result<R, E>,
316 ) -> Result<R, E> {
317 <TokenAuxProperties<T>>::try_mutate((collection_id, token_id, scope, key), f)
318 }
319
320 pub fn remove_token_aux_property(
321 collection_id: CollectionId,
322 token_id: TokenId,
323 scope: PropertyScope,
324 key: PropertyKey,
325 ) {
326 <TokenAuxProperties<T>>::remove((collection_id, token_id, scope, key));
327 }
328
329 pub fn iterate_token_aux_properties(
330 collection_id: CollectionId,
331 token_id: TokenId,
332 scope: PropertyScope,
333 ) -> impl Iterator<Item = (PropertyKey, AuxPropertyValue)> {
334 <TokenAuxProperties<T>>::iter_prefix((collection_id, token_id, scope))
335 }
296336
297 pub fn current_token_id(collection_id: CollectionId) -> TokenId {337 pub fn current_token_id(collection_id: CollectionId) -> TokenId {
298 TokenId(<TokensMinted<T>>::get(collection_id))338 TokenId(<TokensMinted<T>>::get(collection_id))
375 <TokensBurnt<T>>::insert(collection.id, burnt);415 <TokensBurnt<T>>::insert(collection.id, burnt);
376 <TokenData<T>>::remove((collection.id, token));416 <TokenData<T>>::remove((collection.id, token));
377 <TokenProperties<T>>::remove((collection.id, token));417 <TokenProperties<T>>::remove((collection.id, token));
418 <TokenAuxProperties<T>>::remove_prefix((collection.id, token), None);
378 let old_spender = <Allowance<T>>::take((collection.id, token));419 let old_spender = <Allowance<T>>::take((collection.id, token));
379420
380 if let Some(old_spender) = old_spender {421 if let Some(old_spender) = old_spender {
998 ) -> DispatchResult {1039 ) -> DispatchResult {
999 let nesting = handle.permissions.nesting();1040 let nesting = handle.permissions.nesting();
1041
1042 #[cfg(not(feature = "runtime-benchmarks"))]
1043 let permissive = false;
1044 #[cfg(feature = "runtime-benchmarks")]
1000 if nesting.permissive {1045 let permissive = nesting.permissive;
1046
1047 if permissive {
1001 // Pass1048 // Pass
1002 } else if nesting.token_owner1049 } else if nesting.token_owner
1003 && <PalletStructure<T>>::check_indirectly_owned(1050 && <PalletStructure<T>>::check_indirectly_owned(
modifiedpallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth
11version = '3.1.2'11version = '3.1.2'
1212
13[dependencies]13[dependencies]
14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
20pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }20pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
21pallet-structure = { default-features = false, path = "../../pallets/structure" }21pallet-structure = { default-features = false, path = "../../pallets/structure" }
22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
23pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }23pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
24frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }24frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
25rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }25rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
26scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }26scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
27derivative = { version = "2.2.0", features = ["use_core"] }27derivative = { version = "2.2.0", features = ["use_core"] }
modifiedpallets/proxy-rmrk-core/src/benchmarking.rsdiffbeforeafterboth
8585
86 <Pallet<T>>::mint_nft(86 <Pallet<T>>::mint_nft(
87 RawOrigin::Signed(owner.clone()).into(),87 RawOrigin::Signed(owner.clone()).into(),
88 owner.clone(),88 None,
89 collection_id,89 collection_id,
90 royalty_recipient,90 royalty_recipient,
91 royalty_amount,91 royalty_amount,
108 }108 }
109 }109 }
110
111 fn current_nft_id(&self) -> RmrkNftId {
112 self.current_nft_id
113 }
114110
115 fn build<T: Config>(&mut self, owner: &T::AccountId) -> Result<RmrkNftId, DispatchError> {111 fn build<T: Config>(&mut self, owner: &T::AccountId) -> Result<RmrkNftId, DispatchError> {
116 create_nft::<T>(owner, self.collection_id)?;112 create_nft::<T>(owner, self.collection_id)?;
220 let b in 0..100;216 let b in 0..100;
221217
222 let caller: T::AccountId = account("caller", 0, SEED);218 let caller: T::AccountId = account("caller", 0, SEED);
223 <T as pallet_common::Config>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());
224219
225 create_max_collection::<T>(&caller)?;220 create_max_collection::<T>(&caller)?;
226 let collection_id = 0;221 let collection_id = 0;
232 let transferable = true;227 let transferable = true;
233 }: _(228 }: _(
234 RawOrigin::Signed(caller),229 RawOrigin::Signed(caller),
235 owner,230 None,
236 collection_id,231 collection_id,
237 royalty_recipient,232 royalty_recipient,
238 royalty_amount,233 royalty_amount,
381376
382 add_basic_resource {377 add_basic_resource {
383 let caller: T::AccountId = account("caller", 0, SEED);378 let caller: T::AccountId = account("caller", 0, SEED);
384 <T as pallet_common::Config>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());
385379
386 create_max_collection::<T>(&caller)?;380 create_max_collection::<T>(&caller)?;
387 let collection_id = 0;381 let collection_id = 0;
398392
399 add_composable_resource {393 add_composable_resource {
400 let caller: T::AccountId = account("caller", 0, SEED);394 let caller: T::AccountId = account("caller", 0, SEED);
401 <T as pallet_common::Config>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());
402395
403 create_max_collection::<T>(&caller)?;396 create_max_collection::<T>(&caller)?;
404 let collection_id = 0;397 let collection_id = 0;
415408
416 add_slot_resource {409 add_slot_resource {
417 let caller: T::AccountId = account("caller", 0, SEED);410 let caller: T::AccountId = account("caller", 0, SEED);
418 <T as pallet_common::Config>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());
419411
420 create_max_collection::<T>(&caller)?;412 create_max_collection::<T>(&caller)?;
421 let collection_id = 0;413 let collection_id = 0;
432424
433 remove_resource {425 remove_resource {
434 let caller: T::AccountId = account("caller", 0, SEED);426 let caller: T::AccountId = account("caller", 0, SEED);
435 <T as pallet_common::Config>::Currency::deposit_creating(&caller, T::CollectionCreationPrice::get());
436427
437 create_max_collection::<T>(&caller)?;428 create_max_collection::<T>(&caller)?;
438 let collection_id = 0;429 let collection_id = 0;
448 resource439 resource
449 )?;440 )?;
450441
451 let resource_id = 1;442 let resource_id = 0;
452 }: _(443 }: _(
453 RawOrigin::Signed(caller),444 RawOrigin::Signed(caller),
454 collection_id,445 collection_id,
460 let caller: T::AccountId = account("caller", 0, SEED);451 let caller: T::AccountId = account("caller", 0, SEED);
461 let admin: T::AccountId = account("admin", 0, SEED);452 let admin: T::AccountId = account("admin", 0, SEED);
462
463 <T as pallet_common::Config>::Currency::deposit_creating(&admin, T::CollectionCreationPrice::get());
464453
465 create_max_collection::<T>(&admin)?;454 create_max_collection::<T>(&admin)?;
466 let collection_id = 0;455 let collection_id = 0;
486 resource475 resource
487 )?;476 )?;
488477
489 let resource_id = 1;478 let resource_id = 0;
490 }: _(479 }: _(
491 RawOrigin::Signed(caller),480 RawOrigin::Signed(caller),
492 collection_id,481 collection_id,
498 let caller: T::AccountId = account("caller", 0, SEED);487 let caller: T::AccountId = account("caller", 0, SEED);
499 let admin: T::AccountId = account("admin", 0, SEED);488 let admin: T::AccountId = account("admin", 0, SEED);
500
501 <T as pallet_common::Config>::Currency::deposit_creating(&admin, T::CollectionCreationPrice::get());
502489
503 create_max_collection::<T>(&admin)?;490 create_max_collection::<T>(&admin)?;
504 let collection_id = 0;491 let collection_id = 0;
515 resource502 resource
516 )?;503 )?;
517504
518 let resource_id = 1;505 let resource_id = 0;
519506
520 let new_owner = <RmrkAccountIdOrCollectionNftTuple<T::AccountId>>::AccountId(caller.clone());507 let new_owner = <RmrkAccountIdOrCollectionNftTuple<T::AccountId>>::AccountId(caller.clone());
521508
modifiedpallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth
35pub mod benchmarking;35pub mod benchmarking;
36pub mod misc;36pub mod misc;
37pub mod property;37pub mod property;
38pub mod rpc;
38pub mod weights;39pub mod weights;
3940
40pub type SelfWeightOf<T> = <T as Config>::WeightInfo;41pub type SelfWeightOf<T> = <T as Config>::WeightInfo;
154 NftTypeEncodeError,155 NftTypeEncodeError,
155 RmrkPropertyKeyIsTooLong,156 RmrkPropertyKeyIsTooLong,
156 RmrkPropertyValueIsTooLong,157 RmrkPropertyValueIsTooLong,
158 RmrkPropertyIsNotFound,
157 UnableToDecodeRmrkData,159 UnableToDecodeRmrkData,
158160
159 /* RMRK compatible events */161 /* RMRK compatible events */
168 CannotSendToDescendentOrSelf,170 CannotSendToDescendentOrSelf,
169 CannotAcceptNonOwnedNft,171 CannotAcceptNonOwnedNft,
170 CannotRejectNonOwnedNft,172 CannotRejectNonOwnedNft,
173 CannotRejectNonPendingNft,
171 ResourceNotPending,174 ResourceNotPending,
175 NoAvailableResourceId,
172 }176 }
173177
174 #[pallet::call]178 #[pallet::call]
201 token_owner: true,205 token_owner: true,
202 collection_admin: false,206 collection_admin: false,
203 restricted: None,207 restricted: None,
204208 #[cfg(feature = "runtime-benchmarks")]
205 permissive: false,209 permissive: false,
206 }),210 }),
207 ..Default::default()211 ..Default::default()
347 #[pallet::weight(<SelfWeightOf<T>>::mint_nft(resources.as_ref().map(|r| r.len() as u32).unwrap_or(0)))]351 #[pallet::weight(<SelfWeightOf<T>>::mint_nft(resources.as_ref().map(|r| r.len() as u32).unwrap_or(0)))]
348 pub fn mint_nft(352 pub fn mint_nft(
349 origin: OriginFor<T>,353 origin: OriginFor<T>,
350 owner: T::AccountId,354 owner: Option<T::AccountId>,
351 collection_id: RmrkCollectionId,355 collection_id: RmrkCollectionId,
352 recipient: Option<T::AccountId>,356 recipient: Option<T::AccountId>,
353 royalty_amount: Option<Permill>,357 royalty_amount: Option<Permill>,
357 ) -> DispatchResult {361 ) -> DispatchResult {
358 let sender = ensure_signed(origin)?;362 let sender = ensure_signed(origin)?;
359 let cross_sender = T::CrossAccountId::from_sub(sender.clone());363 let cross_sender = T::CrossAccountId::from_sub(sender.clone());
364
365 let owner = owner.unwrap_or(sender.clone());
360 let cross_owner = T::CrossAccountId::from_sub(owner.clone());366 let cross_owner = T::CrossAccountId::from_sub(owner.clone());
361367
362 let collection = Self::get_typed_nft_collection(368 let collection = Self::get_typed_nft_collection(
381 Self::rmrk_property(RoyaltyInfo, &royalty_info)?,387 Self::rmrk_property(RoyaltyInfo, &royalty_info)?,
382 Self::rmrk_property(Metadata, &metadata)?,388 Self::rmrk_property(Metadata, &metadata)?,
383 Self::rmrk_property(Equipped, &false)?,389 Self::rmrk_property(Equipped, &false)?,
384 Self::rmrk_property(ResourceCollection, &None::<CollectionId>)?,
385 Self::rmrk_property(ResourcePriorities, &<Vec<u8>>::new())?,390 Self::rmrk_property(ResourcePriorities, &<Vec<u8>>::new())?,
391 Self::rmrk_property(NextResourceId, &(0 as RmrkResourceId))?,
386 ]392 ]
387 .into_iter(),393 .into_iter(),
388 )394 )
653 collection.check_is_external()?;659 collection.check_is_external()?;
654660
655 ensure!(661 ensure!(
662 <TokenData<T>>::get((collection_id, nft_id)).is_some(),
663 <Error<T>>::NoAvailableNftId
664 );
665
666 ensure!(
656 Self::get_nft_property_decoded(667 Self::get_nft_property_decoded(
657 collection_id,668 collection_id,
658 nft_id,669 nft_id,
659 RmrkProperty::PendingNftAccept670 RmrkProperty::PendingNftAccept
660 )?,671 )?,
661 <Error<T>>::NoPermission672 <Error<T>>::CannotRejectNonPendingNft
662 );673 );
663674
664 Self::destroy_nft(675 Self::destroy_nft(
686 origin: OriginFor<T>,697 origin: OriginFor<T>,
687 rmrk_collection_id: RmrkCollectionId,698 rmrk_collection_id: RmrkCollectionId,
688 rmrk_nft_id: RmrkNftId,699 rmrk_nft_id: RmrkNftId,
689 rmrk_resource_id: RmrkResourceId,700 resource_id: RmrkResourceId,
690 ) -> DispatchResult {701 ) -> DispatchResult {
691 let sender = ensure_signed(origin)?;702 let sender = ensure_signed(origin)?;
692 let cross_sender = T::CrossAccountId::from_sub(sender);703 let cross_sender = T::CrossAccountId::from_sub(sender);
698 collection.check_is_external()?;709 collection.check_is_external()?;
699710
700 let nft_id = rmrk_nft_id.into();711 let nft_id = rmrk_nft_id.into();
701 let resource_id = rmrk_resource_id.into();
702712
703 let budget = budget::Value::new(NESTING_BUDGET);713 let budget = budget::Value::new(NESTING_BUDGET);
704714
705 let nft_owner =715 let nft_owner =
706 <PalletStructure<T>>::find_topmost_owner(collection_id, nft_id, &budget)716 <PalletStructure<T>>::find_topmost_owner(collection_id, nft_id, &budget)
707 .map_err(|_| <Error<T>>::ResourceDoesntExist)?;717 .map_err(|_| <Error<T>>::ResourceDoesntExist)?;
708718
709 let resource_collection_id: Option<CollectionId> =719 Self::try_mutate_resource_info(collection_id, nft_id, resource_id, |res| {
710 Self::get_nft_property_decoded(collection_id, nft_id, ResourceCollection)720 ensure!(res.pending, <Error<T>>::ResourceNotPending);
711 .map_err(|_| <Error<T>>::ResourceDoesntExist)?;721 ensure!(cross_sender == nft_owner, <Error<T>>::NoPermission);
712722
713 let resource_collection_id =723 res.pending = false;
714 resource_collection_id.ok_or(<Error<T>>::ResourceDoesntExist)?;
715724
716 let is_pending: bool = Self::get_nft_property_decoded(725 Ok(())
717 resource_collection_id,
718 resource_id,
719 PendingResourceAccept,
720 )
721 .map_err(|_| <Error<T>>::ResourceDoesntExist)?;726 })?;
722727
723 ensure!(is_pending, <Error<T>>::ResourceNotPending);
724
725 ensure!(cross_sender == nft_owner, <Error<T>>::NoPermission);
726
727 <PalletNft<T>>::set_scoped_token_property(
728 resource_collection_id,
729 rmrk_resource_id.into(),
730 PropertyScope::Rmrk,
731 Self::rmrk_property(PendingResourceAccept, &false)?,
732 )?;
733
734 Self::deposit_event(Event::<T>::ResourceAccepted {728 Self::deposit_event(Event::<T>::ResourceAccepted {
735 nft_id: rmrk_nft_id,729 nft_id: rmrk_nft_id,
736 resource_id: rmrk_resource_id,730 resource_id,
737 });731 });
738732
739 Ok(())733 Ok(())
746 origin: OriginFor<T>,740 origin: OriginFor<T>,
747 rmrk_collection_id: RmrkCollectionId,741 rmrk_collection_id: RmrkCollectionId,
748 rmrk_nft_id: RmrkNftId,742 rmrk_nft_id: RmrkNftId,
749 rmrk_resource_id: RmrkResourceId,743 resource_id: RmrkResourceId,
750 ) -> DispatchResult {744 ) -> DispatchResult {
751 let sender = ensure_signed(origin)?;745 let sender = ensure_signed(origin)?;
752 let cross_sender = T::CrossAccountId::from_sub(sender);746 let cross_sender = T::CrossAccountId::from_sub(sender);
758 collection.check_is_external()?;752 collection.check_is_external()?;
759753
760 let nft_id = rmrk_nft_id.into();754 let nft_id = rmrk_nft_id.into();
761 let resource_id = rmrk_resource_id.into();
762755
763 let budget = budget::Value::new(NESTING_BUDGET);756 let budget = budget::Value::new(NESTING_BUDGET);
764757
768761
769 ensure!(cross_sender == nft_owner, <Error<T>>::NoPermission);762 ensure!(cross_sender == nft_owner, <Error<T>>::NoPermission);
770763
771 let resource_collection_id: Option<CollectionId> =764 let resource_id_key = Self::rmrk_property_key(ResourceId(resource_id))?;
772 Self::get_nft_property_decoded(collection_id, nft_id, ResourceCollection)
773 .map_err(|_| <Error<T>>::ResourceDoesntExist)?;
774765
775 let resource_collection_id =766 let resource_info = <PalletNft<T>>::token_aux_property((
776 resource_collection_id.ok_or(<Error<T>>::ResourceDoesntExist)?;767 collection_id,
768 nft_id,
769 PropertyScope::Rmrk,
770 resource_id_key.clone(),
771 ))
772 .ok_or(<Error<T>>::ResourceDoesntExist)?;
777773
778 let is_pending: bool = Self::get_nft_property_decoded(774 let resource_info: RmrkResourceInfo = Self::decode_property(&resource_info)?;
779 resource_collection_id,
780 resource_id,
781 PendingResourceRemoval,
782 )
783 .map_err(|_| <Error<T>>::ResourceDoesntExist)?;
784775
785 ensure!(is_pending, <Error<T>>::ResourceNotPending);776 ensure!(
777 resource_info.pending_removal,
778 <Error<T>>::ResourceNotPending
779 );
786780
787 let resource_collection = Self::get_typed_nft_collection(781 <PalletNft<T>>::remove_token_aux_property(
788 resource_collection_id,782 collection_id,
789 misc::CollectionType::Resource,783 nft_id,
784 PropertyScope::Rmrk,
785 resource_id_key,
790 )?;786 );
791787
792 let resource_data = <TokenData<T>>::get((resource_collection_id, resource_id))
793 .ok_or(<Error<T>>::ResourceDoesntExist)?;
794
795 let resource_owner = resource_data.owner;
796
797 <PalletNft<T>>::burn(
798 &resource_collection,
799 &resource_owner,
800 rmrk_resource_id.into(),
801 )
802 .map_err(Self::map_unique_err_to_proxy)?;
803
804 Self::deposit_event(Event::<T>::ResourceRemovalAccepted {788 Self::deposit_event(Event::<T>::ResourceRemovalAccepted {
805 nft_id: rmrk_nft_id,789 nft_id: rmrk_nft_id,
806 resource_id: rmrk_resource_id,790 resource_id,
807 });791 });
808792
809 Ok(())793 Ok(())
1014 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;998 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;
1015 collection.check_is_external()?;999 collection.check_is_external()?;
10161000
1017 Self::resource_remove(sender, collection_id, nft_id.into(), resource_id.into())?;1001 Self::resource_remove(sender, collection_id, nft_id.into(), resource_id)?;
10181002
1019 Self::deposit_event(Event::ResourceRemoval {1003 Self::deposit_event(Event::ResourceRemoval {
1020 nft_id,1004 nft_id,
1043 ) -> Result<Property, DispatchError> {1027 ) -> Result<Property, DispatchError> {
1044 let key = rmrk_key.to_key::<T>()?;1028 let key = rmrk_key.to_key::<T>()?;
10451029
1030 let value = Self::encode_property(value)?;
1031
1032 let property = Property { key, value };
1033
1034 Ok(property)
1035 }
1036
1037 pub fn encode_property<E: Encode, S: Get<u32>>(
1038 value: &E,
1039 ) -> Result<BoundedBytes<S>, DispatchError> {
1046 let value = value1040 let value = value
1047 .encode()1041 .encode()
1048 .try_into()1042 .try_into()
1049 .map_err(|_| <Error<T>>::RmrkPropertyValueIsTooLong)?;1043 .map_err(|_| <Error<T>>::RmrkPropertyValueIsTooLong)?;
10501044
1051 let property = Property { key, value };1045 Ok(value)
1052
1053 Ok(property)
1054 }1046 }
10551047
1056 pub fn decode_property<D: Decode>(vec: PropertyValue) -> Result<D, DispatchError> {1048 pub fn decode_property<D: Decode, S: Get<u32>>(
1049 vec: &BoundedBytes<S>,
1050 ) -> Result<D, DispatchError> {
1057 vec.decode()1051 vec.decode()
1058 .map_err(|_| <Error<T>>::UnableToDecodeRmrkData.into())1052 .map_err(|_| <Error<T>>::UnableToDecodeRmrkData.into())
1059 }1053 }
1153 )1147 )
1154 }1148 }
11551149
1156 fn resource_add(1150 fn acquire_next_resource_id(
1157 sender: T::AccountId,
1158 collection_id: CollectionId,1151 collection_id: CollectionId,
1159 nft_id: TokenId,1152 nft_id: TokenId,
1160 resource: RmrkResourceTypes,
1161 ) -> Result<RmrkResourceId, DispatchError> {1153 ) -> Result<RmrkResourceId, DispatchError> {
1162 match resource {1154 let resource_id: RmrkResourceId =
1163 RmrkResourceTypes::Basic(resource) => Self::resource_add_helper(
1164 sender,1155 Self::get_nft_property_decoded(collection_id, nft_id, NextResourceId)?;
1165 collection_id,1156
1166 nft_id,
1167 [
1168 Self::rmrk_property(TokenType, &NftType::Resource)?,
1169 Self::rmrk_property(ResourceType, &misc::ResourceType::Basic)?,
1170 Self::rmrk_property(Src, &resource.src)?,
1171 Self::rmrk_property(Metadata, &resource.metadata)?,1157 let next_id = resource_id
1172 Self::rmrk_property(License, &resource.license)?,
1173 Self::rmrk_property(Thumb, &resource.thumb)?,
1174 ]
1175 .into_iter(),
1176 ),
1177 RmrkResourceTypes::Composable(resource) => Self::resource_add_helper(
1178 sender,1158 .checked_add(1)
1179 collection_id,
1180 nft_id.into(),
1181 [1159 .ok_or(<Error<T>>::NoAvailableResourceId)?;
1182 Self::rmrk_property(TokenType, &NftType::Resource)?,1160
1183 Self::rmrk_property(ResourceType, &misc::ResourceType::Composable)?,
1184 Self::rmrk_property(Parts, &resource.parts)?,
1185 Self::rmrk_property(Base, &resource.base)?,
1186 Self::rmrk_property(Src, &resource.src)?,
1187 Self::rmrk_property(Metadata, &resource.metadata)?,
1188 Self::rmrk_property(License, &resource.license)?,1161 <PalletNft<T>>::set_scoped_token_property(
1189 Self::rmrk_property(Thumb, &resource.thumb)?,
1190 ]
1191 .into_iter(),
1192 ),
1193 RmrkResourceTypes::Slot(resource) => Self::resource_add_helper(
1194 sender,1162 collection_id,
1195 collection_id,
1196 nft_id.into(),1163 nft_id,
1197 [1164 PropertyScope::Rmrk,
1198 Self::rmrk_property(TokenType, &NftType::Resource)?,
1199 Self::rmrk_property(ResourceType, &misc::ResourceType::Slot)?,1165 Self::rmrk_property(NextResourceId, &next_id)?,
1200 Self::rmrk_property(Base, &resource.base)?,1166 )?;
1201 Self::rmrk_property(Src, &resource.src)?,1167
1202 Self::rmrk_property(Metadata, &resource.metadata)?,1168 Ok(resource_id)
1203 Self::rmrk_property(Slot, &resource.slot)?,
1204 Self::rmrk_property(License, &resource.license)?,
1205 Self::rmrk_property(Thumb, &resource.thumb)?,
1206 ]
1207 .into_iter(),
1208 ),
1209 }
1210 }1169 }
12111170
1212 fn resource_add_helper(1171 fn resource_add(
1213 sender: T::AccountId,1172 sender: T::AccountId,
1214 collection_id: CollectionId,1173 collection_id: CollectionId,
1215 token_id: TokenId,1174 nft_id: TokenId,
1216 resource_properties: impl Iterator<Item = Property>,1175 resource: RmrkResourceTypes,
1217 ) -> Result<RmrkResourceId, DispatchError> {1176 ) -> Result<RmrkResourceId, DispatchError> {
1218 let collection =1177 let collection =
1219 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;1178 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;
1222 let sender = T::CrossAccountId::from_sub(sender);1181 let sender = T::CrossAccountId::from_sub(sender);
1223 let budget = budget::Value::new(NESTING_BUDGET);1182 let budget = budget::Value::new(NESTING_BUDGET);
12241183
1225 let nft_owner = <PalletStructure<T>>::find_topmost_owner(collection_id, token_id, &budget)1184 let nft_owner = <PalletStructure<T>>::find_topmost_owner(collection_id, nft_id, &budget)
1226 .map_err(Self::map_unique_err_to_proxy)?;1185 .map_err(Self::map_unique_err_to_proxy)?;
12271186
1228 let pending = sender != nft_owner;1187 let pending = sender != nft_owner;
12291188
1230 let resource_collection_id: Option<CollectionId> =1189 let id = Self::acquire_next_resource_id(collection_id, nft_id)?;
1231 Self::get_nft_property_decoded(collection_id, token_id, ResourceCollection)?;
12321190
1233 let resource_collection_id = match resource_collection_id {1191 let resource_info = RmrkResourceInfo {
1234 Some(id) => id,1192 id,
1235 None => {1193 resource,
1236 let resource_collection_id = Self::init_collection(
1237 sender.clone(),
1238 CreateCollectionData {1194 pending,
1239 ..Default::default()
1240 },
1241 [Self::rmrk_property(1195 pending_removal: false,
1242 CollectionType,
1243 &misc::CollectionType::Resource,
1244 )?]
1245 .into_iter(),
1246 )?;
1247
1248 <PalletNft<T>>::set_scoped_token_property(
1249 collection_id,
1250 token_id,
1251 PropertyScope::Rmrk,
1252 Self::rmrk_property(ResourceCollection, &Some(resource_collection_id))?,
1253 )?;
1254
1255 resource_collection_id
1256 }
1257 };1196 };
12581197
1259 let resource_collection =1198 <PalletNft<T>>::try_mutate_token_aux_property(
1260 Self::get_typed_nft_collection(resource_collection_id, misc::CollectionType::Resource)?;1199 collection_id,
1200 nft_id,
1201 PropertyScope::Rmrk,
1202 Self::rmrk_property_key(ResourceId(id))?,
1203 |value| -> DispatchResult {
1204 *value = Some(Self::encode_property(&resource_info)?);
12611205
1262 // todo probably add extra connections to bases, slots, etc., when RMRK starts to use them1206 Ok(())
1207 },
1208 )?;
12631209
1264 let resource_id = Self::create_nft(1210 Ok(id)
1265 &sender,
1266 &nft_owner,
1267 &resource_collection,
1268 resource_properties.chain(
1269 [
1270 Self::rmrk_property(PendingResourceAccept, &pending)?,
1271 Self::rmrk_property(PendingResourceRemoval, &false)?,
1272 ]
1273 .into_iter(),
1274 ),
1275 )
1276 .map_err(|err| match err {
1277 DispatchError::Arithmetic(_) => <Error<T>>::NoAvailableNftId.into(),
1278 err => Self::map_unique_err_to_proxy(err),
1279 })?;
1280
1281 Ok(resource_id.0)
1282 }1211 }
12831212
1284 fn resource_remove(1213 fn resource_remove(
1285 sender: T::AccountId,1214 sender: T::AccountId,
1286 collection_id: CollectionId,1215 collection_id: CollectionId,
1287 nft_id: TokenId,1216 nft_id: TokenId,
1288 resource_id: TokenId,1217 resource_id: RmrkResourceId,
1289 ) -> DispatchResult {1218 ) -> DispatchResult {
1290 let collection =1219 let collection =
1291 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;1220 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;
1292 ensure!(collection.owner == sender, Error::<T>::NoPermission);1221 ensure!(collection.owner == sender, Error::<T>::NoPermission);
12931222
1294 let resource_collection_id: Option<CollectionId> =1223 let resource_id_key = Self::rmrk_property_key(ResourceId(resource_id))?;
1295 Self::get_nft_property_decoded(collection_id, nft_id, ResourceCollection)?;1224 let scope = PropertyScope::Rmrk;
12961225
1297 let resource_collection_id =
1298 resource_collection_id.ok_or(Error::<T>::ResourceDoesntExist)?;
1299
1300 let resource_collection =
1301 Self::get_typed_nft_collection(resource_collection_id, misc::CollectionType::Resource)?;
1302 ensure!(1226 ensure!(
1303 <PalletNft<T>>::token_exists(&resource_collection, resource_id),1227 <PalletNft<T>>::token_aux_property((
1228 collection_id,
1229 nft_id,
1230 scope,
1231 resource_id_key.clone()
1232 ))
1233 .is_some(),
1304 Error::<T>::ResourceDoesntExist1234 <Error<T>>::ResourceDoesntExist
1305 );1235 );
13061236
1307 let budget = up_data_structs::budget::Value::new(NESTING_BUDGET);1237 let budget = up_data_structs::budget::Value::new(NESTING_BUDGET);
13101240
1311 let sender = T::CrossAccountId::from_sub(sender);1241 let sender = T::CrossAccountId::from_sub(sender);
1312 if topmost_owner == sender {1242 if topmost_owner == sender {
1313 <PalletNft<T>>::burn(&resource_collection, &sender, resource_id)1243 <PalletNft<T>>::remove_token_aux_property(
1314 .map_err(Self::map_unique_err_to_proxy)?;
1315 } else {
1316 <PalletNft<T>>::set_scoped_token_property(
1317 resource_collection_id,1244 collection_id,
1318 resource_id,1245 nft_id,
1319 PropertyScope::Rmrk,1246 PropertyScope::Rmrk,
1320 Self::rmrk_property(PendingResourceRemoval, &true)?,1247 Self::rmrk_property_key(ResourceId(resource_id))?,
1248 );
1249 } else {
1250 Self::try_mutate_resource_info(collection_id, nft_id, resource_id, |res| {
1251 res.pending_removal = true;
1252
1253 Ok(())
1321 )?;1254 })?;
1322 }1255 }
13231256
1324 Ok(())1257 Ok(())
1325 }1258 }
13261259
1260 fn try_mutate_resource_info(
1261 collection_id: CollectionId,
1262 nft_id: TokenId,
1263 resource_id: RmrkResourceId,
1264 f: impl FnOnce(&mut RmrkResourceInfo) -> DispatchResult,
1265 ) -> DispatchResult {
1266 <PalletNft<T>>::try_mutate_token_aux_property(
1267 collection_id,
1268 nft_id,
1269 PropertyScope::Rmrk,
1270 Self::rmrk_property_key(ResourceId(resource_id))?,
1271 |value| match value {
1272 Some(value) => {
1273 let mut resource_info: RmrkResourceInfo = Self::decode_property(value)?;
1274
1275 f(&mut resource_info)?;
1276
1277 *value = Self::encode_property(&resource_info)?;
1278
1279 Ok(())
1280 }
1281 None => Err(<Error<T>>::ResourceDoesntExist.into()),
1282 },
1283 )
1284 }
1285
1327 fn change_collection_owner(1286 fn change_collection_owner(
1328 collection_id: CollectionId,1287 collection_id: CollectionId,
1329 collection_type: misc::CollectionType,1288 collection_type: misc::CollectionType,
1339 collection.save()1298 collection.save()
1340 }1299 }
13411300
1342 fn check_collection_owner(1301 pub fn check_collection_owner(
1343 collection: &NonfungibleHandle<T>,1302 collection: &NonfungibleHandle<T>,
1344 account: &T::CrossAccountId,1303 account: &T::CrossAccountId,
1345 ) -> DispatchResult {1304 ) -> DispatchResult {
1397 collection_id: CollectionId,1356 collection_id: CollectionId,
1398 key: RmrkProperty,1357 key: RmrkProperty,
1399 ) -> Result<V, DispatchError> {1358 ) -> Result<V, DispatchError> {
1400 Self::decode_property(Self::get_collection_property(collection_id, key)?)1359 Self::decode_property(&Self::get_collection_property(collection_id, key)?)
1401 }1360 }
14021361
1403 pub fn get_collection_type(1362 pub fn get_collection_type(
1404 collection_id: CollectionId,1363 collection_id: CollectionId,
1405 ) -> Result<misc::CollectionType, DispatchError> {1364 ) -> Result<misc::CollectionType, DispatchError> {
1406 Self::get_collection_property_decoded(collection_id, CollectionType)1365 Self::get_collection_property_decoded(collection_id, CollectionType).map_err(|err| {
1407 .map_err(|_| <Error<T>>::CorruptedCollectionType.into())1366 if err != <Error<T>>::CollectionUnknown.into() {
1367 <Error<T>>::CorruptedCollectionType.into()
1368 } else {
1369 err
1370 }
1371 })
1408 }1372 }
14091373
1410 pub fn ensure_collection_type(1374 pub fn ensure_collection_type(
1450 ) -> Result<PropertyValue, DispatchError> {1414 ) -> Result<PropertyValue, DispatchError> {
1451 let nft_property = <PalletNft<T>>::token_properties((collection_id, nft_id))1415 let nft_property = <PalletNft<T>>::token_properties((collection_id, nft_id))
1452 .get(&Self::rmrk_property_key(key)?)1416 .get(&Self::rmrk_property_key(key)?)
1453 .ok_or(<Error<T>>::NoAvailableNftId)? // todo replace with better error?1417 .ok_or(<Error<T>>::RmrkPropertyIsNotFound)?
1454 .clone();1418 .clone();
14551419
1456 Ok(nft_property)1420 Ok(nft_property)
1461 nft_id: TokenId,1425 nft_id: TokenId,
1462 key: RmrkProperty,1426 key: RmrkProperty,
1463 ) -> Result<V, DispatchError> {1427 ) -> Result<V, DispatchError> {
1464 Self::decode_property(Self::get_nft_property(collection_id, nft_id, key)?)1428 Self::decode_property(&Self::get_nft_property(collection_id, nft_id, key)?)
1465 }1429 }
14661430
1467 pub fn nft_exists(collection_id: CollectionId, nft_id: TokenId) -> bool {1431 pub fn nft_exists(collection_id: CollectionId, nft_id: TokenId) -> bool {
modifiedpallets/proxy-rmrk-core/src/misc.rsdiffbeforeafterboth
61#[derive(Encode, Decode, PartialEq, Eq)]61#[derive(Encode, Decode, PartialEq, Eq)]
62pub enum CollectionType {62pub enum CollectionType {
63 Regular,63 Regular,
64 Resource,
65 Base,64 Base,
66}65}
6766
68#[derive(Encode, Decode, PartialEq, Eq)]67#[derive(Encode, Decode, PartialEq, Eq)]
69pub enum NftType {68pub enum NftType {
70 Regular,69 Regular,
71 Resource,
72 FixedPart,70 FixedPart,
73 SlotPart,71 SlotPart,
74 Theme,72 Theme,
75}73}
76
77#[derive(Encode, Decode, PartialEq, Eq)]
78pub enum ResourceType {
79 Basic,
80 Composable,
81 Slot,
82}
8374
modifiedpallets/proxy-rmrk-core/src/property.rsdiffbeforeafterboth
17use super::*;17use super::*;
18use core::convert::AsRef;18use core::convert::AsRef;
19
20const RESOURCE_ID_PREFIX: &str = "rsid-";
1921
20pub enum RmrkProperty<'r> {22pub enum RmrkProperty<'r> {
21 Metadata,23 Metadata,
25 Transferable,27 Transferable,
26 RoyaltyInfo,28 RoyaltyInfo,
27 Equipped,29 Equipped,
28 ResourceCollection,
29 ResourcePriorities,30 ResourcePriorities,
30 ResourceType,31 NextResourceId,
32 ResourceId(RmrkResourceId),
31 PendingNftAccept,33 PendingNftAccept,
32 PendingResourceAccept,
33 PendingResourceRemoval,
34 Parts,34 Parts,
35 Base,35 Base,
36 Src,36 Src,
37 Slot,
38 License,
39 Thumb,
40 EquippedNft,37 EquippedNft,
41 BaseType,38 BaseType,
42 ExternalPartId,39 ExternalPartId,
72 Self::Transferable => key!("transferable"),69 Self::Transferable => key!("transferable"),
73 Self::RoyaltyInfo => key!("royalty-info"),70 Self::RoyaltyInfo => key!("royalty-info"),
74 Self::Equipped => key!("equipped"),71 Self::Equipped => key!("equipped"),
75 Self::ResourceCollection => key!("resource-collection"),
76 Self::ResourcePriorities => key!("resource-priorities"),72 Self::ResourcePriorities => key!("resource-priorities"),
77 Self::ResourceType => key!("resource-type"),73 Self::NextResourceId => key!("next-resource-id"),
74 Self::ResourceId(id) => key!(RESOURCE_ID_PREFIX, id.to_le_bytes()),
78 Self::PendingNftAccept => key!("pending-nft-accept"),75 Self::PendingNftAccept => key!("pending-nft-accept"),
79 Self::PendingResourceAccept => key!("pending-resource-accept"),
80 Self::PendingResourceRemoval => key!("pending-resource-removal"),
81 Self::Parts => key!("parts"),76 Self::Parts => key!("parts"),
82 Self::Base => key!("base"),77 Self::Base => key!("base"),
83 Self::Src => key!("src"),78 Self::Src => key!("src"),
84 Self::Slot => key!("slot"),
85 Self::License => key!("license"),
86 Self::Thumb => key!("thumb"),
87 Self::EquippedNft => key!("equipped-nft"),79 Self::EquippedNft => key!("equipped-nft"),
88 Self::BaseType => key!("base-type"),80 Self::BaseType => key!("base-type"),
89 Self::ExternalPartId => key!("ext-part-id"),81 Self::ExternalPartId => key!("ext-part-id"),
addedpallets/proxy-rmrk-core/src/rpc.rsdiffbeforeafterboth

no changes

modifiedpallets/proxy-rmrk-core/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_proxy_rmrk_core3//! Autogenerated weights for pallet_proxy_rmrk_core
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2022-06-14, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-21, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
19// --template19// --template
20// .maintain/frame-weight-template.hbs20// .maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=20022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
24// --output=./pallets/proxy-rmrk-core/src/weights.rs24// --output=./pallets/proxy-rmrk-core/src/weights.rs
2525
64 // Storage: Common CollectionById (r:0 w:1)64 // Storage: Common CollectionById (r:0 w:1)
65 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)65 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)
66 fn create_collection() -> Weight {66 fn create_collection() -> Weight {
67 (41_277_000 as Weight)67 (49_986_000 as Weight)
68 .saturating_add(T::DbWeight::get().reads(5 as Weight))68 .saturating_add(T::DbWeight::get().reads(5 as Weight))
69 .saturating_add(T::DbWeight::get().writes(8 as Weight))69 .saturating_add(T::DbWeight::get().writes(8 as Weight))
70 }70 }
77 // Storage: Nonfungible TokensBurnt (r:0 w:1)77 // Storage: Nonfungible TokensBurnt (r:0 w:1)
78 // Storage: Common AdminAmount (r:0 w:1)78 // Storage: Common AdminAmount (r:0 w:1)
79 fn destroy_collection() -> Weight {79 fn destroy_collection() -> Weight {
80 (43_371_000 as Weight)80 (50_177_000 as Weight)
81 .saturating_add(T::DbWeight::get().reads(5 as Weight))81 .saturating_add(T::DbWeight::get().reads(5 as Weight))
82 .saturating_add(T::DbWeight::get().writes(6 as Weight))82 .saturating_add(T::DbWeight::get().writes(6 as Weight))
83 }83 }
84 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)84 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
85 // Storage: Common CollectionById (r:1 w:1)85 // Storage: Common CollectionById (r:1 w:1)
86 // Storage: Common CollectionProperties (r:1 w:0)86 // Storage: Common CollectionProperties (r:1 w:0)
87 fn change_collection_issuer() -> Weight {87 fn change_collection_issuer() -> Weight {
88 (21_891_000 as Weight)88 (25_949_000 as Weight)
89 .saturating_add(T::DbWeight::get().reads(3 as Weight))89 .saturating_add(T::DbWeight::get().reads(3 as Weight))
90 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 .saturating_add(T::DbWeight::get().writes(1 as Weight))
91 }91 }
95 // Storage: Nonfungible TokensMinted (r:1 w:0)95 // Storage: Nonfungible TokensMinted (r:1 w:0)
96 // Storage: Nonfungible TokensBurnt (r:1 w:0)96 // Storage: Nonfungible TokensBurnt (r:1 w:0)
97 fn lock_collection() -> Weight {97 fn lock_collection() -> Weight {
98 (23_144_000 as Weight)98 (27_183_000 as Weight)
99 .saturating_add(T::DbWeight::get().reads(5 as Weight))99 .saturating_add(T::DbWeight::get().reads(5 as Weight))
100 .saturating_add(T::DbWeight::get().writes(1 as Weight))100 .saturating_add(T::DbWeight::get().writes(1 as Weight))
101 }101 }
107 // Storage: Nonfungible TokenProperties (r:1 w:1)107 // Storage: Nonfungible TokenProperties (r:1 w:1)
108 // Storage: Nonfungible TokenData (r:0 w:1)108 // Storage: Nonfungible TokenData (r:0 w:1)
109 // Storage: Nonfungible Owned (r:0 w:1)109 // Storage: Nonfungible Owned (r:0 w:1)
110 // Storage: Common CreatedCollectionCount (r:1 w:1)
111 // Storage: Common DestroyedCollectionCount (r:1 w:0)
112 // Storage: System Account (r:2 w:2)
113 // Storage: Common CollectionPropertyPermissions (r:0 w:1)110 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)
114 fn mint_nft(b: u32, ) -> Weight {111 fn mint_nft(b: u32, ) -> Weight {
115 (68_329_000 as Weight)112 (65_512_000 as Weight)
116 // Standard Error: 3_000113 // Standard Error: 12_000
117 .saturating_add((21_470_000 as Weight).saturating_mul(b as Weight))114 .saturating_add((11_525_000 as Weight).saturating_mul(b as Weight))
118 .saturating_add(T::DbWeight::get().reads(12 as Weight))115 .saturating_add(T::DbWeight::get().reads(6 as Weight))
119 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))116 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
120 .saturating_add(T::DbWeight::get().writes(12 as Weight))117 .saturating_add(T::DbWeight::get().writes(5 as Weight))
121 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))118 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
122 }119 }
123 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)120 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
124 // Storage: Common CollectionProperties (r:1 w:0)121 // Storage: Common CollectionProperties (r:1 w:0)
132 // Storage: Nonfungible TokenProperties (r:0 w:1)129 // Storage: Nonfungible TokenProperties (r:0 w:1)
133 fn burn_nft(b: u32, ) -> Weight {130 fn burn_nft(b: u32, ) -> Weight {
134 (0 as Weight)131 (0 as Weight)
135 // Standard Error: 959_000132 // Standard Error: 1_472_000
136 .saturating_add((305_872_000 as Weight).saturating_mul(b as Weight))133 .saturating_add((296_221_000 as Weight).saturating_mul(b as Weight))
137 .saturating_add(T::DbWeight::get().reads(9 as Weight))134 .saturating_add(T::DbWeight::get().reads(9 as Weight))
138 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))135 .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
139 .saturating_add(T::DbWeight::get().writes(6 as Weight))136 .saturating_add(T::DbWeight::get().writes(6 as Weight))
149 // Storage: Nonfungible TokenChildren (r:0 w:1)146 // Storage: Nonfungible TokenChildren (r:0 w:1)
150 // Storage: Nonfungible Owned (r:0 w:2)147 // Storage: Nonfungible Owned (r:0 w:2)
151 fn send() -> Weight {148 fn send() -> Weight {
152 (71_405_000 as Weight)149 (82_778_000 as Weight)
153 .saturating_add(T::DbWeight::get().reads(12 as Weight))150 .saturating_add(T::DbWeight::get().reads(12 as Weight))
154 .saturating_add(T::DbWeight::get().writes(6 as Weight))151 .saturating_add(T::DbWeight::get().writes(6 as Weight))
155 }152 }
163 // Storage: Nonfungible TokenChildren (r:0 w:1)160 // Storage: Nonfungible TokenChildren (r:0 w:1)
164 // Storage: Nonfungible Owned (r:0 w:2)161 // Storage: Nonfungible Owned (r:0 w:2)
165 fn accept_nft() -> Weight {162 fn accept_nft() -> Weight {
166 (79_159_000 as Weight)163 (90_190_000 as Weight)
167 .saturating_add(T::DbWeight::get().reads(15 as Weight))164 .saturating_add(T::DbWeight::get().reads(15 as Weight))
168 .saturating_add(T::DbWeight::get().writes(7 as Weight))165 .saturating_add(T::DbWeight::get().writes(7 as Weight))
169 }166 }
170 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)167 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
171 // Storage: Common CollectionProperties (r:1 w:0)168 // Storage: Common CollectionProperties (r:1 w:0)
172 // Storage: Common CollectionById (r:1 w:0)169 // Storage: Common CollectionById (r:1 w:0)
173 // Storage: Nonfungible TokenProperties (r:1 w:5)
174 // Storage: Nonfungible TokenData (r:5 w:5)170 // Storage: Nonfungible TokenData (r:5 w:5)
171 // Storage: Nonfungible TokenProperties (r:1 w:5)
175 // Storage: Nonfungible TokenChildren (r:9 w:4)172 // Storage: Nonfungible TokenChildren (r:9 w:4)
176 // Storage: Nonfungible TokensBurnt (r:1 w:1)173 // Storage: Nonfungible TokensBurnt (r:1 w:1)
177 // Storage: Nonfungible AccountBalance (r:5 w:5)174 // Storage: Nonfungible AccountBalance (r:5 w:5)
178 // Storage: Nonfungible Allowance (r:5 w:0)175 // Storage: Nonfungible Allowance (r:5 w:0)
179 // Storage: Nonfungible Owned (r:0 w:5)176 // Storage: Nonfungible Owned (r:0 w:5)
180 fn reject_nft() -> Weight {177 fn reject_nft() -> Weight {
181 (238_179_000 as Weight)178 (262_238_000 as Weight)
182 .saturating_add(T::DbWeight::get().reads(29 as Weight))179 .saturating_add(T::DbWeight::get().reads(29 as Weight))
183 .saturating_add(T::DbWeight::get().writes(25 as Weight))180 .saturating_add(T::DbWeight::get().writes(25 as Weight))
184 }181 }
188 // Storage: Nonfungible TokenProperties (r:1 w:1)185 // Storage: Nonfungible TokenProperties (r:1 w:1)
189 // Storage: Nonfungible TokenData (r:5 w:0)186 // Storage: Nonfungible TokenData (r:5 w:0)
190 fn set_property() -> Weight {187 fn set_property() -> Weight {
191 (47_770_000 as Weight)188 (55_187_000 as Weight)
192 .saturating_add(T::DbWeight::get().reads(9 as Weight))189 .saturating_add(T::DbWeight::get().reads(9 as Weight))
193 .saturating_add(T::DbWeight::get().writes(1 as Weight))190 .saturating_add(T::DbWeight::get().writes(1 as Weight))
194 }191 }
198 // Storage: Nonfungible TokenProperties (r:1 w:1)195 // Storage: Nonfungible TokenProperties (r:1 w:1)
199 // Storage: Nonfungible TokenData (r:5 w:0)196 // Storage: Nonfungible TokenData (r:5 w:0)
200 fn set_priority() -> Weight {197 fn set_priority() -> Weight {
201 (46_679_000 as Weight)198 (54_092_000 as Weight)
202 .saturating_add(T::DbWeight::get().reads(9 as Weight))199 .saturating_add(T::DbWeight::get().reads(9 as Weight))
203 .saturating_add(T::DbWeight::get().writes(1 as Weight))200 .saturating_add(T::DbWeight::get().writes(1 as Weight))
204 }201 }
205 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)202 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
206 // Storage: Common CollectionProperties (r:1 w:1)203 // Storage: Common CollectionProperties (r:1 w:0)
207 // Storage: Common CollectionById (r:1 w:1)204 // Storage: Common CollectionById (r:1 w:0)
208 // Storage: Nonfungible TokenData (r:5 w:1)205 // Storage: Nonfungible TokenData (r:5 w:0)
209 // Storage: Nonfungible TokenProperties (r:2 w:2)206 // Storage: Nonfungible TokenProperties (r:1 w:1)
210 // Storage: Common CreatedCollectionCount (r:1 w:1)
211 // Storage: Common DestroyedCollectionCount (r:1 w:0)
212 // Storage: System Account (r:2 w:2)
213 // Storage: Nonfungible TokensMinted (r:1 w:1)207 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
214 // Storage: Nonfungible AccountBalance (r:1 w:1)
215 // Storage: Nonfungible Owned (r:0 w:1)
216 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
217 fn add_basic_resource() -> Weight {208 fn add_basic_resource() -> Weight {
218 (100_770_000 as Weight)209 (62_551_000 as Weight)
219 .saturating_add(T::DbWeight::get().reads(16 as Weight))210 .saturating_add(T::DbWeight::get().reads(10 as Weight))
220 .saturating_add(T::DbWeight::get().writes(12 as Weight))211 .saturating_add(T::DbWeight::get().writes(2 as Weight))
221 }212 }
222 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)213 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
223 // Storage: Common CollectionProperties (r:1 w:1)214 // Storage: Common CollectionProperties (r:1 w:0)
224 // Storage: Common CollectionById (r:1 w:1)215 // Storage: Common CollectionById (r:1 w:0)
225 // Storage: Nonfungible TokenData (r:5 w:1)216 // Storage: Nonfungible TokenData (r:5 w:0)
226 // Storage: Nonfungible TokenProperties (r:2 w:2)217 // Storage: Nonfungible TokenProperties (r:1 w:1)
227 // Storage: Common CreatedCollectionCount (r:1 w:1)
228 // Storage: Common DestroyedCollectionCount (r:1 w:0)
229 // Storage: System Account (r:2 w:2)
230 // Storage: Nonfungible TokensMinted (r:1 w:1)218 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
231 // Storage: Nonfungible AccountBalance (r:1 w:1)
232 // Storage: Nonfungible Owned (r:0 w:1)
233 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
234 fn add_composable_resource() -> Weight {219 fn add_composable_resource() -> Weight {
235 (101_791_000 as Weight)220 (61_778_000 as Weight)
236 .saturating_add(T::DbWeight::get().reads(16 as Weight))221 .saturating_add(T::DbWeight::get().reads(10 as Weight))
237 .saturating_add(T::DbWeight::get().writes(12 as Weight))222 .saturating_add(T::DbWeight::get().writes(2 as Weight))
238 }223 }
239 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)224 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
240 // Storage: Common CollectionProperties (r:1 w:1)225 // Storage: Common CollectionProperties (r:1 w:0)
241 // Storage: Common CollectionById (r:1 w:1)226 // Storage: Common CollectionById (r:1 w:0)
242 // Storage: Nonfungible TokenData (r:5 w:1)227 // Storage: Nonfungible TokenData (r:5 w:0)
243 // Storage: Nonfungible TokenProperties (r:2 w:2)228 // Storage: Nonfungible TokenProperties (r:1 w:1)
244 // Storage: Common CreatedCollectionCount (r:1 w:1)
245 // Storage: Common DestroyedCollectionCount (r:1 w:0)
246 // Storage: System Account (r:2 w:2)
247 // Storage: Nonfungible TokensMinted (r:1 w:1)229 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
248 // Storage: Nonfungible AccountBalance (r:1 w:1)
249 // Storage: Nonfungible Owned (r:0 w:1)
250 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
251 fn add_slot_resource() -> Weight {230 fn add_slot_resource() -> Weight {
252 (101_610_000 as Weight)231 (62_700_000 as Weight)
253 .saturating_add(T::DbWeight::get().reads(16 as Weight))232 .saturating_add(T::DbWeight::get().reads(10 as Weight))
254 .saturating_add(T::DbWeight::get().writes(12 as Weight))233 .saturating_add(T::DbWeight::get().writes(2 as Weight))
255 }234 }
256 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)235 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
257 // Storage: Common CollectionProperties (r:2 w:0)236 // Storage: Common CollectionProperties (r:1 w:0)
258 // Storage: Common CollectionById (r:2 w:0)237 // Storage: Common CollectionById (r:1 w:0)
259 // Storage: Nonfungible TokenProperties (r:1 w:1)238 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
260 // Storage: Nonfungible TokenData (r:6 w:1)239 // Storage: Nonfungible TokenData (r:5 w:0)
261 // Storage: Nonfungible TokenChildren (r:1 w:0)
262 // Storage: Nonfungible TokensBurnt (r:1 w:1)
263 // Storage: Nonfungible AccountBalance (r:1 w:1)
264 // Storage: Nonfungible Allowance (r:1 w:0)
265 // Storage: Nonfungible Owned (r:0 w:1)
266 fn remove_resource() -> Weight {240 fn remove_resource() -> Weight {
267 (80_571_000 as Weight)241 (52_920_000 as Weight)
268 .saturating_add(T::DbWeight::get().reads(16 as Weight))242 .saturating_add(T::DbWeight::get().reads(9 as Weight))
269 .saturating_add(T::DbWeight::get().writes(5 as Weight))243 .saturating_add(T::DbWeight::get().writes(1 as Weight))
270 }244 }
271 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)245 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
272 // Storage: Common CollectionProperties (r:1 w:0)246 // Storage: Common CollectionProperties (r:1 w:0)
273 // Storage: Common CollectionById (r:1 w:0)247 // Storage: Common CollectionById (r:1 w:0)
274 // Storage: Nonfungible TokenData (r:5 w:0)248 // Storage: Nonfungible TokenData (r:5 w:0)
275 // Storage: Nonfungible TokenProperties (r:2 w:1)249 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
276 fn accept_resource() -> Weight {250 fn accept_resource() -> Weight {
277 (54_733_000 as Weight)251 (52_450_000 as Weight)
278 .saturating_add(T::DbWeight::get().reads(10 as Weight))252 .saturating_add(T::DbWeight::get().reads(9 as Weight))
279 .saturating_add(T::DbWeight::get().writes(1 as Weight))253 .saturating_add(T::DbWeight::get().writes(1 as Weight))
280 }254 }
281 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)255 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
282 // Storage: Common CollectionProperties (r:2 w:0)256 // Storage: Common CollectionProperties (r:1 w:0)
283 // Storage: Common CollectionById (r:2 w:0)257 // Storage: Common CollectionById (r:1 w:0)
284 // Storage: Nonfungible TokenData (r:6 w:1)258 // Storage: Nonfungible TokenData (r:5 w:0)
285 // Storage: Nonfungible TokenProperties (r:2 w:1)259 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
286 // Storage: Nonfungible TokenChildren (r:1 w:0)
287 // Storage: Nonfungible TokensBurnt (r:1 w:1)
288 // Storage: Nonfungible AccountBalance (r:1 w:1)
289 // Storage: Nonfungible Allowance (r:1 w:0)
290 // Storage: Nonfungible Owned (r:0 w:1)
291 fn accept_resource_removal() -> Weight {260 fn accept_resource_removal() -> Weight {
292 (84_138_000 as Weight)261 (50_901_000 as Weight)
293 .saturating_add(T::DbWeight::get().reads(17 as Weight))262 .saturating_add(T::DbWeight::get().reads(9 as Weight))
294 .saturating_add(T::DbWeight::get().writes(5 as Weight))263 .saturating_add(T::DbWeight::get().writes(1 as Weight))
295 }264 }
296}265}
297266
306 // Storage: Common CollectionById (r:0 w:1)275 // Storage: Common CollectionById (r:0 w:1)
307 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)276 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)
308 fn create_collection() -> Weight {277 fn create_collection() -> Weight {
309 (41_277_000 as Weight)278 (49_986_000 as Weight)
310 .saturating_add(RocksDbWeight::get().reads(5 as Weight))279 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
311 .saturating_add(RocksDbWeight::get().writes(8 as Weight))280 .saturating_add(RocksDbWeight::get().writes(8 as Weight))
312 }281 }
319 // Storage: Nonfungible TokensBurnt (r:0 w:1)288 // Storage: Nonfungible TokensBurnt (r:0 w:1)
320 // Storage: Common AdminAmount (r:0 w:1)289 // Storage: Common AdminAmount (r:0 w:1)
321 fn destroy_collection() -> Weight {290 fn destroy_collection() -> Weight {
322 (43_371_000 as Weight)291 (50_177_000 as Weight)
323 .saturating_add(RocksDbWeight::get().reads(5 as Weight))292 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
324 .saturating_add(RocksDbWeight::get().writes(6 as Weight))293 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
325 }294 }
326 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)295 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
327 // Storage: Common CollectionById (r:1 w:1)296 // Storage: Common CollectionById (r:1 w:1)
328 // Storage: Common CollectionProperties (r:1 w:0)297 // Storage: Common CollectionProperties (r:1 w:0)
329 fn change_collection_issuer() -> Weight {298 fn change_collection_issuer() -> Weight {
330 (21_891_000 as Weight)299 (25_949_000 as Weight)
331 .saturating_add(RocksDbWeight::get().reads(3 as Weight))300 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
332 .saturating_add(RocksDbWeight::get().writes(1 as Weight))301 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
333 }302 }
337 // Storage: Nonfungible TokensMinted (r:1 w:0)306 // Storage: Nonfungible TokensMinted (r:1 w:0)
338 // Storage: Nonfungible TokensBurnt (r:1 w:0)307 // Storage: Nonfungible TokensBurnt (r:1 w:0)
339 fn lock_collection() -> Weight {308 fn lock_collection() -> Weight {
340 (23_144_000 as Weight)309 (27_183_000 as Weight)
341 .saturating_add(RocksDbWeight::get().reads(5 as Weight))310 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
342 .saturating_add(RocksDbWeight::get().writes(1 as Weight))311 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
343 }312 }
349 // Storage: Nonfungible TokenProperties (r:1 w:1)318 // Storage: Nonfungible TokenProperties (r:1 w:1)
350 // Storage: Nonfungible TokenData (r:0 w:1)319 // Storage: Nonfungible TokenData (r:0 w:1)
351 // Storage: Nonfungible Owned (r:0 w:1)320 // Storage: Nonfungible Owned (r:0 w:1)
352 // Storage: Common CreatedCollectionCount (r:1 w:1)
353 // Storage: Common DestroyedCollectionCount (r:1 w:0)
354 // Storage: System Account (r:2 w:2)
355 // Storage: Common CollectionPropertyPermissions (r:0 w:1)321 // Storage: Nonfungible TokenAuxProperties (r:2 w:2)
356 fn mint_nft(b: u32, ) -> Weight {322 fn mint_nft(b: u32, ) -> Weight {
357 (68_329_000 as Weight)323 (65_512_000 as Weight)
358 // Standard Error: 3_000324 // Standard Error: 12_000
359 .saturating_add((21_470_000 as Weight).saturating_mul(b as Weight))325 .saturating_add((11_525_000 as Weight).saturating_mul(b as Weight))
360 .saturating_add(RocksDbWeight::get().reads(12 as Weight))326 .saturating_add(RocksDbWeight::get().reads(6 as Weight))
361 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))327 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
362 .saturating_add(RocksDbWeight::get().writes(12 as Weight))328 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
363 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))329 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
364 }330 }
365 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)331 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
366 // Storage: Common CollectionProperties (r:1 w:0)332 // Storage: Common CollectionProperties (r:1 w:0)
374 // Storage: Nonfungible TokenProperties (r:0 w:1)340 // Storage: Nonfungible TokenProperties (r:0 w:1)
375 fn burn_nft(b: u32, ) -> Weight {341 fn burn_nft(b: u32, ) -> Weight {
376 (0 as Weight)342 (0 as Weight)
377 // Standard Error: 959_000343 // Standard Error: 1_472_000
378 .saturating_add((305_872_000 as Weight).saturating_mul(b as Weight))344 .saturating_add((296_221_000 as Weight).saturating_mul(b as Weight))
379 .saturating_add(RocksDbWeight::get().reads(9 as Weight))345 .saturating_add(RocksDbWeight::get().reads(9 as Weight))
380 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))346 .saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(b as Weight)))
381 .saturating_add(RocksDbWeight::get().writes(6 as Weight))347 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
391 // Storage: Nonfungible TokenChildren (r:0 w:1)357 // Storage: Nonfungible TokenChildren (r:0 w:1)
392 // Storage: Nonfungible Owned (r:0 w:2)358 // Storage: Nonfungible Owned (r:0 w:2)
393 fn send() -> Weight {359 fn send() -> Weight {
394 (71_405_000 as Weight)360 (82_778_000 as Weight)
395 .saturating_add(RocksDbWeight::get().reads(12 as Weight))361 .saturating_add(RocksDbWeight::get().reads(12 as Weight))
396 .saturating_add(RocksDbWeight::get().writes(6 as Weight))362 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
397 }363 }
405 // Storage: Nonfungible TokenChildren (r:0 w:1)371 // Storage: Nonfungible TokenChildren (r:0 w:1)
406 // Storage: Nonfungible Owned (r:0 w:2)372 // Storage: Nonfungible Owned (r:0 w:2)
407 fn accept_nft() -> Weight {373 fn accept_nft() -> Weight {
408 (79_159_000 as Weight)374 (90_190_000 as Weight)
409 .saturating_add(RocksDbWeight::get().reads(15 as Weight))375 .saturating_add(RocksDbWeight::get().reads(15 as Weight))
410 .saturating_add(RocksDbWeight::get().writes(7 as Weight))376 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
411 }377 }
412 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)378 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
413 // Storage: Common CollectionProperties (r:1 w:0)379 // Storage: Common CollectionProperties (r:1 w:0)
414 // Storage: Common CollectionById (r:1 w:0)380 // Storage: Common CollectionById (r:1 w:0)
415 // Storage: Nonfungible TokenProperties (r:1 w:5)
416 // Storage: Nonfungible TokenData (r:5 w:5)381 // Storage: Nonfungible TokenData (r:5 w:5)
382 // Storage: Nonfungible TokenProperties (r:1 w:5)
417 // Storage: Nonfungible TokenChildren (r:9 w:4)383 // Storage: Nonfungible TokenChildren (r:9 w:4)
418 // Storage: Nonfungible TokensBurnt (r:1 w:1)384 // Storage: Nonfungible TokensBurnt (r:1 w:1)
419 // Storage: Nonfungible AccountBalance (r:5 w:5)385 // Storage: Nonfungible AccountBalance (r:5 w:5)
420 // Storage: Nonfungible Allowance (r:5 w:0)386 // Storage: Nonfungible Allowance (r:5 w:0)
421 // Storage: Nonfungible Owned (r:0 w:5)387 // Storage: Nonfungible Owned (r:0 w:5)
422 fn reject_nft() -> Weight {388 fn reject_nft() -> Weight {
423 (238_179_000 as Weight)389 (262_238_000 as Weight)
424 .saturating_add(RocksDbWeight::get().reads(29 as Weight))390 .saturating_add(RocksDbWeight::get().reads(29 as Weight))
425 .saturating_add(RocksDbWeight::get().writes(25 as Weight))391 .saturating_add(RocksDbWeight::get().writes(25 as Weight))
426 }392 }
430 // Storage: Nonfungible TokenProperties (r:1 w:1)396 // Storage: Nonfungible TokenProperties (r:1 w:1)
431 // Storage: Nonfungible TokenData (r:5 w:0)397 // Storage: Nonfungible TokenData (r:5 w:0)
432 fn set_property() -> Weight {398 fn set_property() -> Weight {
433 (47_770_000 as Weight)399 (55_187_000 as Weight)
434 .saturating_add(RocksDbWeight::get().reads(9 as Weight))400 .saturating_add(RocksDbWeight::get().reads(9 as Weight))
435 .saturating_add(RocksDbWeight::get().writes(1 as Weight))401 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
436 }402 }
440 // Storage: Nonfungible TokenProperties (r:1 w:1)406 // Storage: Nonfungible TokenProperties (r:1 w:1)
441 // Storage: Nonfungible TokenData (r:5 w:0)407 // Storage: Nonfungible TokenData (r:5 w:0)
442 fn set_priority() -> Weight {408 fn set_priority() -> Weight {
443 (46_679_000 as Weight)409 (54_092_000 as Weight)
444 .saturating_add(RocksDbWeight::get().reads(9 as Weight))410 .saturating_add(RocksDbWeight::get().reads(9 as Weight))
445 .saturating_add(RocksDbWeight::get().writes(1 as Weight))411 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
446 }412 }
447 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)413 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
448 // Storage: Common CollectionProperties (r:1 w:1)414 // Storage: Common CollectionProperties (r:1 w:0)
449 // Storage: Common CollectionById (r:1 w:1)415 // Storage: Common CollectionById (r:1 w:0)
450 // Storage: Nonfungible TokenData (r:5 w:1)416 // Storage: Nonfungible TokenData (r:5 w:0)
451 // Storage: Nonfungible TokenProperties (r:2 w:2)417 // Storage: Nonfungible TokenProperties (r:1 w:1)
452 // Storage: Common CreatedCollectionCount (r:1 w:1)
453 // Storage: Common DestroyedCollectionCount (r:1 w:0)
454 // Storage: System Account (r:2 w:2)
455 // Storage: Nonfungible TokensMinted (r:1 w:1)418 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
456 // Storage: Nonfungible AccountBalance (r:1 w:1)
457 // Storage: Nonfungible Owned (r:0 w:1)
458 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
459 fn add_basic_resource() -> Weight {419 fn add_basic_resource() -> Weight {
460 (100_770_000 as Weight)420 (62_551_000 as Weight)
461 .saturating_add(RocksDbWeight::get().reads(16 as Weight))421 .saturating_add(RocksDbWeight::get().reads(10 as Weight))
462 .saturating_add(RocksDbWeight::get().writes(12 as Weight))422 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
463 }423 }
464 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)424 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
465 // Storage: Common CollectionProperties (r:1 w:1)425 // Storage: Common CollectionProperties (r:1 w:0)
466 // Storage: Common CollectionById (r:1 w:1)426 // Storage: Common CollectionById (r:1 w:0)
467 // Storage: Nonfungible TokenData (r:5 w:1)427 // Storage: Nonfungible TokenData (r:5 w:0)
468 // Storage: Nonfungible TokenProperties (r:2 w:2)428 // Storage: Nonfungible TokenProperties (r:1 w:1)
469 // Storage: Common CreatedCollectionCount (r:1 w:1)
470 // Storage: Common DestroyedCollectionCount (r:1 w:0)
471 // Storage: System Account (r:2 w:2)
472 // Storage: Nonfungible TokensMinted (r:1 w:1)429 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
473 // Storage: Nonfungible AccountBalance (r:1 w:1)
474 // Storage: Nonfungible Owned (r:0 w:1)
475 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
476 fn add_composable_resource() -> Weight {430 fn add_composable_resource() -> Weight {
477 (101_791_000 as Weight)431 (61_778_000 as Weight)
478 .saturating_add(RocksDbWeight::get().reads(16 as Weight))432 .saturating_add(RocksDbWeight::get().reads(10 as Weight))
479 .saturating_add(RocksDbWeight::get().writes(12 as Weight))433 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
480 }434 }
481 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)435 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
482 // Storage: Common CollectionProperties (r:1 w:1)436 // Storage: Common CollectionProperties (r:1 w:0)
483 // Storage: Common CollectionById (r:1 w:1)437 // Storage: Common CollectionById (r:1 w:0)
484 // Storage: Nonfungible TokenData (r:5 w:1)438 // Storage: Nonfungible TokenData (r:5 w:0)
485 // Storage: Nonfungible TokenProperties (r:2 w:2)439 // Storage: Nonfungible TokenProperties (r:1 w:1)
486 // Storage: Common CreatedCollectionCount (r:1 w:1)
487 // Storage: Common DestroyedCollectionCount (r:1 w:0)
488 // Storage: System Account (r:2 w:2)
489 // Storage: Nonfungible TokensMinted (r:1 w:1)440 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
490 // Storage: Nonfungible AccountBalance (r:1 w:1)
491 // Storage: Nonfungible Owned (r:0 w:1)
492 // Storage: Common CollectionPropertyPermissions (r:0 w:1)
493 fn add_slot_resource() -> Weight {441 fn add_slot_resource() -> Weight {
494 (101_610_000 as Weight)442 (62_700_000 as Weight)
495 .saturating_add(RocksDbWeight::get().reads(16 as Weight))443 .saturating_add(RocksDbWeight::get().reads(10 as Weight))
496 .saturating_add(RocksDbWeight::get().writes(12 as Weight))444 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
497 }445 }
498 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)446 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
499 // Storage: Common CollectionProperties (r:2 w:0)447 // Storage: Common CollectionProperties (r:1 w:0)
500 // Storage: Common CollectionById (r:2 w:0)448 // Storage: Common CollectionById (r:1 w:0)
501 // Storage: Nonfungible TokenProperties (r:1 w:1)449 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
502 // Storage: Nonfungible TokenData (r:6 w:1)450 // Storage: Nonfungible TokenData (r:5 w:0)
503 // Storage: Nonfungible TokenChildren (r:1 w:0)
504 // Storage: Nonfungible TokensBurnt (r:1 w:1)
505 // Storage: Nonfungible AccountBalance (r:1 w:1)
506 // Storage: Nonfungible Allowance (r:1 w:0)
507 // Storage: Nonfungible Owned (r:0 w:1)
508 fn remove_resource() -> Weight {451 fn remove_resource() -> Weight {
509 (80_571_000 as Weight)452 (52_920_000 as Weight)
510 .saturating_add(RocksDbWeight::get().reads(16 as Weight))453 .saturating_add(RocksDbWeight::get().reads(9 as Weight))
511 .saturating_add(RocksDbWeight::get().writes(5 as Weight))454 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
512 }455 }
513 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)456 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
514 // Storage: Common CollectionProperties (r:1 w:0)457 // Storage: Common CollectionProperties (r:1 w:0)
515 // Storage: Common CollectionById (r:1 w:0)458 // Storage: Common CollectionById (r:1 w:0)
516 // Storage: Nonfungible TokenData (r:5 w:0)459 // Storage: Nonfungible TokenData (r:5 w:0)
517 // Storage: Nonfungible TokenProperties (r:2 w:1)460 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
518 fn accept_resource() -> Weight {461 fn accept_resource() -> Weight {
519 (54_733_000 as Weight)462 (52_450_000 as Weight)
520 .saturating_add(RocksDbWeight::get().reads(10 as Weight))463 .saturating_add(RocksDbWeight::get().reads(9 as Weight))
521 .saturating_add(RocksDbWeight::get().writes(1 as Weight))464 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
522 }465 }
523 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)466 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)
524 // Storage: Common CollectionProperties (r:2 w:0)467 // Storage: Common CollectionProperties (r:1 w:0)
525 // Storage: Common CollectionById (r:2 w:0)468 // Storage: Common CollectionById (r:1 w:0)
526 // Storage: Nonfungible TokenData (r:6 w:1)469 // Storage: Nonfungible TokenData (r:5 w:0)
527 // Storage: Nonfungible TokenProperties (r:2 w:1)470 // Storage: Nonfungible TokenAuxProperties (r:1 w:1)
528 // Storage: Nonfungible TokenChildren (r:1 w:0)
529 // Storage: Nonfungible TokensBurnt (r:1 w:1)
530 // Storage: Nonfungible AccountBalance (r:1 w:1)
531 // Storage: Nonfungible Allowance (r:1 w:0)
532 // Storage: Nonfungible Owned (r:0 w:1)
533 fn accept_resource_removal() -> Weight {471 fn accept_resource_removal() -> Weight {
534 (84_138_000 as Weight)472 (50_901_000 as Weight)
535 .saturating_add(RocksDbWeight::get().reads(17 as Weight))473 .saturating_add(RocksDbWeight::get().reads(9 as Weight))
536 .saturating_add(RocksDbWeight::get().writes(5 as Weight))474 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
537 }475 }
538}476}
539477
modifiedpallets/proxy-rmrk-equip/Cargo.tomldiffbeforeafterboth
11version = '3.1.2'11version = '3.1.2'
1212
13[dependencies]13[dependencies]
14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
20pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }20pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }21up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
23frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }23frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
24rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }24rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
25scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }25scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
26pallet-rmrk-core = { default-features = false, path = "../proxy-rmrk-core" }26pallet-rmrk-core = { default-features = false, path = "../proxy-rmrk-core" }
addedpallets/proxy-rmrk-equip/src/benchmarking.rsdiffbeforeafterboth

no changes

modifiedpallets/proxy-rmrk-equip/src/lib.rsdiffbeforeafterboth
22use up_data_structs::*;22use up_data_structs::*;
23use pallet_common::{Pallet as PalletCommon, Error as CommonError};23use pallet_common::{Pallet as PalletCommon, Error as CommonError};
24use pallet_rmrk_core::{24use pallet_rmrk_core::{
25 Pallet as PalletCore,25 Pallet as PalletCore, Error as CoreError,
26 misc::{self, *},26 misc::{self, *},
27 property::RmrkProperty::*,27 property::RmrkProperty::*,
28};28};
29use pallet_nonfungible::{Pallet as PalletNft, NonfungibleHandle};29use pallet_nonfungible::{Pallet as PalletNft, NonfungibleHandle};
30use pallet_evm::account::CrossAccountId;30use pallet_evm::account::CrossAccountId;
31use weights::WeightInfo;
3132
32pub use pallet::*;33pub use pallet::*;
34
35#[cfg(feature = "runtime-benchmarks")]
36pub mod benchmarking;
37pub mod rpc;
38pub mod weights;
39
40pub type SelfWeightOf<T> = <T as Config>::WeightInfo;
3341
34#[frame_support::pallet]42#[frame_support::pallet]
35pub mod pallet {43pub mod pallet {
38 #[pallet::config]46 #[pallet::config]
39 pub trait Config: frame_system::Config + pallet_rmrk_core::Config {47 pub trait Config: frame_system::Config + pallet_rmrk_core::Config {
40 type Event: From<Event<Self>> + IsType<<Self as frame_system::Config>::Event>;48 type Event: From<Event<Self>> + IsType<<Self as frame_system::Config>::Event>;
49 type WeightInfo: WeightInfo;
41 }50 }
4251
43 #[pallet::storage]52 #[pallet::storage]
61 issuer: T::AccountId,70 issuer: T::AccountId,
62 base_id: RmrkBaseId,71 base_id: RmrkBaseId,
63 },72 },
73 EquippablesUpdated {
74 base_id: RmrkBaseId,
75 slot_id: RmrkSlotId,
76 },
64 }77 }
6578
66 #[pallet::error]79 #[pallet::error]
70 NoAvailablePartId,83 NoAvailablePartId,
71 BaseDoesntExist,84 BaseDoesntExist,
72 NeedsDefaultThemeFirst,85 NeedsDefaultThemeFirst,
86 PartDoesntExist,
87 NoEquippableOnFixedPart,
73 }88 }
7489
75 #[pallet::call]90 #[pallet::call]
83 /// - symbol: arbitrary client-chosen symbol98 /// - symbol: arbitrary client-chosen symbol
84 /// - parts: array of Fixed and Slot parts composing the base, confined in length by99 /// - parts: array of Fixed and Slot parts composing the base, confined in length by
85 /// RmrkPartsLimit100 /// RmrkPartsLimit
101 #[transactional]
86 #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]102 #[pallet::weight(<SelfWeightOf<T>>::create_base(parts.len() as u32))]
87 #[transactional]
88 pub fn create_base(103 pub fn create_base(
89 origin: OriginFor<T>,104 origin: OriginFor<T>,
90 base_type: RmrkString,105 base_type: RmrkString,
91 symbol: RmrkString,106 symbol: RmrkBaseSymbol,
92 parts: BoundedVec<RmrkPartType, RmrkPartsLimit>,107 parts: BoundedVec<RmrkPartType, RmrkPartsLimit>,
93 ) -> DispatchResult {108 ) -> DispatchResult {
94 let sender = ensure_signed(origin)?;109 let sender = ensure_signed(origin)?;
125 let collection = <PalletCore<T>>::get_nft_collection(collection_id)?;140 let collection = <PalletCore<T>>::get_nft_collection(collection_id)?;
126141
127 for part in parts {142 for part in parts {
128 let part_id = part.id();
129 let part_token_id = Self::create_part(&cross_sender, &collection, part)?;143 Self::create_part(&cross_sender, &collection, part)?;
130
131 <InernalPartId<T>>::insert(collection_id, part_id, part_token_id);
132
133 <PalletNft<T>>::set_scoped_token_property(
134 collection_id,
135 part_token_id,
136 PropertyScope::Rmrk,
137 <PalletCore<T>>::rmrk_property(ExternalPartId, &part_id)?,
138 )?;
139 }144 }
140145
141 Self::deposit_event(Event::BaseCreated {146 Self::deposit_event(Event::BaseCreated {
159 /// - key: arbitrary BoundedString, defined by client164 /// - key: arbitrary BoundedString, defined by client
160 /// - value: arbitrary BoundedString, defined by client165 /// - value: arbitrary BoundedString, defined by client
161 /// - inherit: optional bool166 /// - inherit: optional bool
167 #[transactional]
162 #[pallet::weight(10_000 + T::DbWeight::get().reads_writes(1,1))]168 #[pallet::weight(<SelfWeightOf<T>>::theme_add(theme.properties.len() as u32))]
163 #[transactional]
164 pub fn theme_add(169 pub fn theme_add(
165 origin: OriginFor<T>,170 origin: OriginFor<T>,
166 base_id: RmrkBaseId,171 base_id: RmrkBaseId,
167 theme: RmrkTheme,172 theme: RmrkBoundedTheme,
168 ) -> DispatchResult {173 ) -> DispatchResult {
169 let sender = ensure_signed(origin)?;174 let sender = ensure_signed(origin)?;
170175
173178
174 let collection_id: CollectionId = base_id.into();179 let collection_id: CollectionId = base_id.into();
175180
176 let collection = <PalletCore<T>>::get_typed_nft_collection(181 let collection = Self::get_base(collection_id)?;
177 collection_id,
178 misc::CollectionType::Base,
179 )
180 .map_err(|_| <Error<T>>::BaseDoesntExist)?;
181 collection.check_is_external()?;
182182
183 if theme.name.as_slice() == b"default" {183 if theme.name.as_slice() == b"default" {
184 <BaseHasDefaultTheme<T>>::insert(collection_id, true);184 <BaseHasDefaultTheme<T>>::insert(collection_id, true);
214 Ok(())214 Ok(())
215 }215 }
216
217 #[transactional]
218 #[pallet::weight(<SelfWeightOf<T>>::equippable())]
219 pub fn equippable(
220 origin: OriginFor<T>,
221 base_id: RmrkBaseId,
222 slot_id: RmrkSlotId,
223 equippables: RmrkEquippableList,
224 ) -> DispatchResult {
225 let sender = ensure_signed(origin)?;
226
227 let base_collection_id = base_id.into();
228 let collection = Self::get_base(base_collection_id)?;
229
230 <PalletCore<T>>::check_collection_owner(
231 &collection,
232 &T::CrossAccountId::from_sub(sender),
233 )
234 .map_err(|err| {
235 if err == <CoreError<T>>::NoPermission.into() {
236 <Error<T>>::PermissionError.into()
237 } else {
238 err
239 }
240 })?;
241
242 let part_id = Self::internal_part_id(base_collection_id, slot_id)
243 .ok_or(<Error<T>>::PartDoesntExist)?;
244
245 let nft_type = <PalletCore<T>>::get_nft_type(base_collection_id, part_id)
246 .map_err(|_| <Error<T>>::PartDoesntExist)?;
247
248 match nft_type {
249 NftType::Regular | NftType::Theme => return Err(<Error<T>>::PermissionError.into()),
250 NftType::FixedPart => return Err(<Error<T>>::NoEquippableOnFixedPart.into()),
251 NftType::SlotPart => {
252 <PalletNft<T>>::set_scoped_token_property(
253 base_collection_id,
254 part_id,
255 PropertyScope::Rmrk,
256 <PalletCore<T>>::rmrk_property(EquippableList, &equippables)?,
257 )?;
258 }
259 }
260
261 Self::deposit_event(Event::EquippablesUpdated { base_id, slot_id });
262
263 Ok(())
264 }
216 }265 }
217}266}
218267
221 sender: &T::CrossAccountId,270 sender: &T::CrossAccountId,
222 collection: &NonfungibleHandle<T>,271 collection: &NonfungibleHandle<T>,
223 part: RmrkPartType,272 part: RmrkPartType,
224 ) -> Result<TokenId, DispatchError> {273 ) -> DispatchResult {
225 let owner = sender;274 let owner = sender;
226275
276 let part_id = part.id();
227 let src = part.src();277 let src = part.src();
228 let z_index = part.z_index();278 let z_index = part.z_index();
229279
232 RmrkPartType::SlotPart(_) => NftType::SlotPart,282 RmrkPartType::SlotPart(_) => NftType::SlotPart,
233 };283 };
234284
235 let token_id = <PalletCore<T>>::create_nft(285 let token_id = match Self::internal_part_id(collection.id, part_id) {
286 Some(token_id) => token_id,
287 None => {
288 let token_id =
289 <PalletCore<T>>::create_nft(sender, owner, collection, [].into_iter())
290 .map_err(|err| match err {
291 DispatchError::Arithmetic(_) => <Error<T>>::NoAvailablePartId.into(),
292 err => err,
293 })?;
294
295 <InernalPartId<T>>::insert(collection.id, part_id, token_id);
296
297 <PalletNft<T>>::set_scoped_token_property(
298 collection.id,
299 token_id,
300 PropertyScope::Rmrk,
301 <PalletCore<T>>::rmrk_property(ExternalPartId, &part_id)?,
302 )?;
303
304 token_id
305 }
306 };
307
308 <PalletNft<T>>::set_scoped_token_properties(
236 sender,309 collection.id,
237 owner,310 token_id,
238 collection,311 PropertyScope::Rmrk,
239 [312 [
240 <PalletCore<T>>::rmrk_property(TokenType, &nft_type)?,313 <PalletCore<T>>::rmrk_property(TokenType, &nft_type)?,
241 <PalletCore<T>>::rmrk_property(Src, &src)?,314 <PalletCore<T>>::rmrk_property(Src, &src)?,
242 <PalletCore<T>>::rmrk_property(ZIndex, &z_index)?,315 <PalletCore<T>>::rmrk_property(ZIndex, &z_index)?,
243 ]316 ]
244 .into_iter(),317 .into_iter(),
245 )
246 .map_err(|err| match err {
247 DispatchError::Arithmetic(_) => <Error<T>>::NoAvailablePartId.into(),
248 err => err,
249 })?;318 )?;
250319
251 if let RmrkPartType::SlotPart(part) = part {320 if let RmrkPartType::SlotPart(part) = part {
252 <PalletNft<T>>::set_scoped_token_property(321 <PalletNft<T>>::set_scoped_token_property(
257 )?;326 )?;
258 }327 }
259328
260 Ok(token_id)329 Ok(())
261 }330 }
331
332 fn get_base(base_id: CollectionId) -> Result<NonfungibleHandle<T>, DispatchError> {
333 let collection =
334 <PalletCore<T>>::get_typed_nft_collection(base_id, misc::CollectionType::Base)
335 .map_err(|err| {
336 if err == <CoreError<T>>::CollectionUnknown.into() {
337 <Error<T>>::BaseDoesntExist.into()
338 } else {
339 err
340 }
341 })?;
342 collection.check_is_external()?;
343
344 Ok(collection)
345 }
262}346}
263347
addedpallets/proxy-rmrk-equip/src/rpc.rsdiffbeforeafterboth

no changes

addedpallets/proxy-rmrk-equip/src/weights.rsdiffbeforeafterboth

no changes

modifiedpallets/refungible/Cargo.tomldiffbeforeafterboth
11version = '3.1.2'11version = '3.1.2'
1212
13[dependencies]13[dependencies]
14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }17sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
20pallet-common = { default-features = false, path = '../common' }20pallet-common = { default-features = false, path = '../common' }
21pallet-structure = { default-features = false, path = '../structure' }21pallet-structure = { default-features = false, path = '../structure' }
22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }22up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
23frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }23frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
24scale-info = { version = "2.0.1", default-features = false, features = [24scale-info = { version = "2.0.1", default-features = false, features = [
25 "derive",25 "derive",
26] }26] }
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
16 "derive",16 "derive",
17] }17] }
1818
19frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }19frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
20frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }20frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
21sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }21sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
22sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }22sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
23sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }23sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
24sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.22' }24sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.23' }
25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
2626
27up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22" }27up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23" }
28log = { version = "0.4.14", default-features = false }28log = { version = "0.4.14", default-features = false }
2929
30[dev-dependencies]30[dev-dependencies]
31sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }31sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
32substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }32substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
3333
34[features]34[features]
35default = ["std"]35default = ["std"]
modifiedpallets/structure/Cargo.tomldiffbeforeafterboth
4edition = "2021"4edition = "2021"
55
6[dependencies]6[dependencies]
7frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }7frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
8frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }8frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
9frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }9frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
10sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }10sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
11pallet-common = { path = "../common", default-features = false }11pallet-common = { path = "../common", default-features = false }
12parity-scale-codec = { version = "3.1.2", default-features = false, features = [12parity-scale-codec = { version = "3.1.2", default-features = false, features = [
13 "derive",13 "derive",
16 "derive",16 "derive",
17] }17] }
18up-data-structs = { path = "../../primitives/data-structs", default-features = false }18up-data-structs = { path = "../../primitives/data-structs", default-features = false }
19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }19pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
2020
21[features]21[features]
22default = ["std"]22default = ["std"]
modifiedpallets/unique/Cargo.tomldiffbeforeafterboth
59default-features = false59default-features = false
60optional = true60optional = true
61git = "https://github.com/paritytech/substrate"61git = "https://github.com/paritytech/substrate"
62branch = "polkadot-v0.9.22"62branch = "polkadot-v0.9.23"
6363
64[dependencies.frame-support]64[dependencies.frame-support]
65default-features = false65default-features = false
66git = "https://github.com/paritytech/substrate"66git = "https://github.com/paritytech/substrate"
67branch = "polkadot-v0.9.22"67branch = "polkadot-v0.9.23"
6868
69[dependencies.frame-system]69[dependencies.frame-system]
70default-features = false70default-features = false
71git = "https://github.com/paritytech/substrate"71git = "https://github.com/paritytech/substrate"
72branch = "polkadot-v0.9.22"72branch = "polkadot-v0.9.23"
7373
74[dependencies.sp-std]74[dependencies.sp-std]
75default-features = false75default-features = false
76git = "https://github.com/paritytech/substrate"76git = "https://github.com/paritytech/substrate"
77branch = "polkadot-v0.9.22"77branch = "polkadot-v0.9.23"
7878
79[dependencies.sp-runtime]79[dependencies.sp-runtime]
80default-features = false80default-features = false
81git = "https://github.com/paritytech/substrate"81git = "https://github.com/paritytech/substrate"
82branch = "polkadot-v0.9.22"82branch = "polkadot-v0.9.23"
8383
84[dependencies.sp-core]84[dependencies.sp-core]
85default-features = false85default-features = false
86git = "https://github.com/paritytech/substrate"86git = "https://github.com/paritytech/substrate"
87branch = "polkadot-v0.9.22"87branch = "polkadot-v0.9.23"
8888
89[dependencies.sp-io]89[dependencies.sp-io]
90default-features = false90default-features = false
91git = "https://github.com/paritytech/substrate"91git = "https://github.com/paritytech/substrate"
92branch = "polkadot-v0.9.22"92branch = "polkadot-v0.9.23"
9393
94################################################################################94################################################################################
95# Local Dependencies95# Local Dependencies
98scale-info = { version = "2.0.1", default-features = false, features = [98scale-info = { version = "2.0.1", default-features = false, features = [
99 "derive",99 "derive",
100] }100] }
101pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }101pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
102pallet-common = { default-features = false, path = "../common" }102pallet-common = { default-features = false, path = "../common" }
103evm-coder = { default-features = false, path = '../../crates/evm-coder' }103evm-coder = { default-features = false, path = '../../crates/evm-coder' }
104pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }104pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
modifiedpallets/unique/src/lib.rsdiffbeforeafterboth
693 dispatch_tx::<T, _>(collection_id, |d| d.create_multiple_items_ex(sender, data, &budget))693 dispatch_tx::<T, _>(collection_id, |d| d.create_multiple_items_ex(sender, data, &budget))
694 }694 }
695
696 // TODO! transaction weight
697695
698 /// Set transfers_enabled value for particular collection696 /// Set transfers_enabled value for particular collection
699 ///697 ///
modifiedprimitives/data-structs/Cargo.tomldiffbeforeafterboth
18serde = { version = "1.0.130", features = [18serde = { version = "1.0.130", features = [
19 'derive',19 'derive',
20], default-features = false, optional = true }20], default-features = false, optional = true }
21frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }21frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
22frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }22frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
23sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }23sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
24sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }24sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
25sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }25sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
26derivative = { version = "2.2.0", features = ["use_core"] }26derivative = { version = "2.2.0", features = ["use_core"] }
27struct-versioning = { path = "../../crates/struct-versioning" }27struct-versioning = { path = "../../crates/struct-versioning" }
28pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }28pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
29rmrk-traits = { default-features = false, path = "../rmrk-traits" }29rmrk-traits = { default-features = false, path = "../rmrk-traits" }
3030
31[features]31[features]
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
39// RMRK39// RMRK
40use rmrk_traits::{40use rmrk_traits::{
41 CollectionInfo, NftInfo, ResourceInfo, PropertyInfo, BaseInfo, PartType, Theme, ThemeProperty,41 CollectionInfo, NftInfo, ResourceInfo, PropertyInfo, BaseInfo, PartType, Theme, ThemeProperty,
42 ResourceTypes, BasicResource, ComposableResource, SlotResource,42 ResourceTypes, BasicResource, ComposableResource, SlotResource, EquippableList,
43};43};
44pub use rmrk_traits::{44pub use rmrk_traits::{
45 primitives::{45 primitives::{
46 CollectionId as RmrkCollectionId, NftId as RmrkNftId, BaseId as RmrkBaseId,46 CollectionId as RmrkCollectionId, NftId as RmrkNftId, BaseId as RmrkBaseId,
47 PartId as RmrkPartId, ResourceId as RmrkResourceId,47 SlotId as RmrkSlotId, PartId as RmrkPartId, ResourceId as RmrkResourceId,
48 },48 },
49 NftChild as RmrkNftChild, AccountIdOrCollectionNftTuple as RmrkAccountIdOrCollectionNftTuple,49 NftChild as RmrkNftChild, AccountIdOrCollectionNftTuple as RmrkAccountIdOrCollectionNftTuple,
50 FixedPart as RmrkFixedPart, SlotPart as RmrkSlotPart, EquippableList as RmrkEquippableList,50 FixedPart as RmrkFixedPart, SlotPart as RmrkSlotPart,
51};51};
5252
53mod bounded;53mod bounded;
104pub const MAX_PROPERTY_VALUE_LENGTH: u32 = 32768;104pub const MAX_PROPERTY_VALUE_LENGTH: u32 = 32768;
105pub const MAX_PROPERTIES_PER_ITEM: u32 = 64;105pub const MAX_PROPERTIES_PER_ITEM: u32 = 64;
106
107pub const MAX_AUX_PROPERTY_VALUE_LENGTH: u32 = 2048;
106108
107pub const MAX_COLLECTION_PROPERTIES_SIZE: u32 = 40960;109pub const MAX_COLLECTION_PROPERTIES_SIZE: u32 = 40960;
108pub const MAX_TOKEN_PROPERTIES_SIZE: u32 = 32768;110pub const MAX_TOKEN_PROPERTIES_SIZE: u32 = 32768;
452 token_owner: false,454 token_owner: false,
453 collection_admin: false,455 collection_admin: false,
454 restricted: None,456 restricted: None,
455457 #[cfg(feature = "runtime-benchmarks")]
456 permissive: false,458 permissive: false,
457 };459 };
458 self.nesting.as_ref().unwrap_or(&DEFAULT)460 self.nesting.as_ref().unwrap_or(&DEFAULT)
497 /// If set - only tokens from specified collections can be nested499 /// If set - only tokens from specified collections can be nested
498 pub restricted: Option<OwnerRestrictedSet>,500 pub restricted: Option<OwnerRestrictedSet>,
499501
502 #[cfg(feature = "runtime-benchmarks")]
500 /// Anyone can nest tokens, mutually exclusive with `token_owner`, `admin`503 /// Anyone can nest tokens, mutually exclusive with `token_owner`, `admin`
501 pub permissive: bool,504 pub permissive: bool,
502}505}
654 }657 }
655}658}
659
660pub type BoundedBytes<S> = BoundedVec<u8, S>;
661
662pub type AuxPropertyValue = BoundedBytes<ConstU32<MAX_AUX_PROPERTY_VALUE_LENGTH>>;
656663
657pub type PropertyKey = BoundedVec<u8, ConstU32<MAX_PROPERTY_KEY_LENGTH>>;664pub type PropertyKey = BoundedBytes<ConstU32<MAX_PROPERTY_KEY_LENGTH>>;
658pub type PropertyValue = BoundedVec<u8, ConstU32<MAX_PROPERTY_VALUE_LENGTH>>;665pub type PropertyValue = BoundedBytes<ConstU32<MAX_PROPERTY_VALUE_LENGTH>>;
659666
660#[derive(Encode, Decode, TypeInfo, Debug, MaxEncodedLen, PartialEq, Clone)]667#[derive(Encode, Decode, TypeInfo, Debug, MaxEncodedLen, PartialEq, Clone)]
661#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]668#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
715 EmptyPropertyKey,722 EmptyPropertyKey,
716}723}
717724
718#[derive(Clone, Copy)]725#[derive(Encode, Decode, MaxEncodedLen, TypeInfo, PartialEq, Clone, Copy)]
719pub enum PropertyScope {726pub enum PropertyScope {
720 None,727 None,
721 Rmrk,728 Rmrk,
944 #[derive(PartialEq)]951 #[derive(PartialEq)]
945 pub const RmrkCollectionSymbolLimit: u32 = MAX_TOKEN_PREFIX_LENGTH;952 pub const RmrkCollectionSymbolLimit: u32 = MAX_TOKEN_PREFIX_LENGTH;
946 #[derive(PartialEq)]953 #[derive(PartialEq)]
947 pub const RmrkResourceSymbolLimit: u32 = MAX_TOKEN_PREFIX_LENGTH;954 pub const RmrkResourceSymbolLimit: u32 = 10;
955 #[derive(PartialEq)]
956 pub const RmrkBaseSymbolLimit: u32 = MAX_TOKEN_PREFIX_LENGTH;
948 #[derive(PartialEq)]957 #[derive(PartialEq)]
949 pub const RmrkKeyLimit: u32 = 32;958 pub const RmrkKeyLimit: u32 = 32;
950 #[derive(PartialEq)]959 #[derive(PartialEq)]
951 pub const RmrkValueLimit: u32 = 256;960 pub const RmrkValueLimit: u32 = 256;
952 #[derive(PartialEq)]961 #[derive(PartialEq)]
953 pub const RmrkMaxCollectionsEquippablePerPart: u32 = 100;962 pub const RmrkMaxCollectionsEquippablePerPart: u32 = 100;
954 #[derive(PartialEq)]963 #[derive(PartialEq)]
964 pub const MaxPropertiesPerTheme: u32 = 5;
965 #[derive(PartialEq)]
955 pub const RmrkPartsLimit: u32 = 25;966 pub const RmrkPartsLimit: u32 = 25;
956 #[derive(PartialEq)]967 #[derive(PartialEq)]
957 pub const RmrkMaxPriorities: u32 = 25;968 pub const RmrkMaxPriorities: u32 = 25;
977pub type RmrkResourceInfo = ResourceInfo<RmrkString, RmrkBoundedParts>;988pub type RmrkResourceInfo = ResourceInfo<RmrkString, RmrkBoundedParts>;
978pub type RmrkPropertyInfo = PropertyInfo<RmrkKeyString, RmrkValueString>;989pub type RmrkPropertyInfo = PropertyInfo<RmrkKeyString, RmrkValueString>;
979pub type RmrkBaseInfo<AccountId> = BaseInfo<AccountId, RmrkString>;990pub type RmrkBaseInfo<AccountId> = BaseInfo<AccountId, RmrkString>;
980pub type RmrkPartType =991pub type BoundedEquippableCollectionIds =
981 PartType<RmrkString, BoundedVec<RmrkCollectionId, RmrkMaxCollectionsEquippablePerPart>>;992 BoundedVec<RmrkCollectionId, RmrkMaxCollectionsEquippablePerPart>;
993pub type RmrkPartType = PartType<RmrkString, BoundedEquippableCollectionIds>;
994pub type RmrkEquippableList = EquippableList<BoundedEquippableCollectionIds>;
982pub type RmrkThemeProperty = ThemeProperty<RmrkString>;995pub type RmrkThemeProperty = ThemeProperty<RmrkString>;
983pub type RmrkTheme = Theme<RmrkString, Vec<RmrkThemeProperty>>;996pub type RmrkTheme = Theme<RmrkString, Vec<RmrkThemeProperty>>;
997pub type RmrkBoundedTheme = Theme<RmrkString, BoundedVec<RmrkThemeProperty, MaxPropertiesPerTheme>>;
984pub type RmrkResourceTypes = ResourceTypes<RmrkString, RmrkBoundedParts>;998pub type RmrkResourceTypes = ResourceTypes<RmrkString, RmrkBoundedParts>;
985999
986pub type RmrkBasicResource = BasicResource<RmrkString>;1000pub type RmrkBasicResource = BasicResource<RmrkString>;
9891003
990pub type RmrkString = BoundedVec<u8, RmrkStringLimit>;1004pub type RmrkString = BoundedVec<u8, RmrkStringLimit>;
991pub type RmrkCollectionSymbol = BoundedVec<u8, RmrkCollectionSymbolLimit>;1005pub type RmrkCollectionSymbol = BoundedVec<u8, RmrkCollectionSymbolLimit>;
1006pub type RmrkBaseSymbol = BoundedVec<u8, RmrkBaseSymbolLimit>;
992pub type RmrkKeyString = BoundedVec<u8, RmrkKeyLimit>;1007pub type RmrkKeyString = BoundedVec<u8, RmrkKeyLimit>;
993pub type RmrkValueString = BoundedVec<u8, RmrkValueLimit>;1008pub type RmrkValueString = BoundedVec<u8, RmrkValueLimit>;
994pub type RmrkBoundedResource = BoundedVec<u8, RmrkResourceSymbolLimit>;1009pub type RmrkBoundedResource = BoundedVec<u8, RmrkResourceSymbolLimit>;
modifiedprimitives/rmrk-rpc/Cargo.tomldiffbeforeafterboth
66
7[dependencies]7[dependencies]
8codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }8codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
9sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }9sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
10sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }10sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
11sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }11sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
12sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }12sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
13serde = { version = "1.0.130", default-features = false, features = ["derive"] }13serde = { version = "1.0.130", default-features = false, features = ["derive"] }
14rmrk-traits = { default-features = false, path = "../rmrk-traits" }14rmrk-traits = { default-features = false, path = "../rmrk-traits" }
1515
modifiedprimitives/rpc/Cargo.tomldiffbeforeafterboth
10codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [10codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
11 "derive",11 "derive",
12] }12] }
13sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }13sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
14sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }14sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
15sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }15sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }16sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
1818
19[features]19[features]
20default = ["std"]20default = ["std"]
modifiedruntime/common/Cargo.tomldiffbeforeafterboth
6license = 'All Rights Reserved'6license = 'All Rights Reserved'
7name = 'unique-runtime-common'7name = 'unique-runtime-common'
8repository = 'https://github.com/UniqueNetwork/unique-chain'8repository = 'https://github.com/UniqueNetwork/unique-chain'
9version = '0.9.22'9version = '0.9.23'
1010
11[features]11[features]
12default = ['std']12default = ['std']
36[dependencies.sp-core]36[dependencies.sp-core]
37default-features = false37default-features = false
38git = "https://github.com/paritytech/substrate"38git = "https://github.com/paritytech/substrate"
39branch = "polkadot-v0.9.22"39branch = "polkadot-v0.9.23"
4040
41[dependencies.sp-std]41[dependencies.sp-std]
42default-features = false42default-features = false
43git = 'https://github.com/paritytech/substrate'43git = 'https://github.com/paritytech/substrate'
44branch = 'polkadot-v0.9.22'44branch = 'polkadot-v0.9.23'
4545
46[dependencies.sp-runtime]46[dependencies.sp-runtime]
47default-features = false47default-features = false
48git = "https://github.com/paritytech/substrate"48git = "https://github.com/paritytech/substrate"
49branch = "polkadot-v0.9.22"49branch = "polkadot-v0.9.23"
5050
51[dependencies.codec]51[dependencies.codec]
52default-features = false52default-features = false
62[dependencies.frame-support]62[dependencies.frame-support]
63default-features = false63default-features = false
64git = "https://github.com/paritytech/substrate"64git = "https://github.com/paritytech/substrate"
65branch = "polkadot-v0.9.22"65branch = "polkadot-v0.9.23"
6666
67[dependencies.frame-system]67[dependencies.frame-system]
68default-features = false68default-features = false
69git = "https://github.com/paritytech/substrate"69git = "https://github.com/paritytech/substrate"
70branch = "polkadot-v0.9.22"70branch = "polkadot-v0.9.23"
7171
72[dependencies.pallet-common]72[dependencies.pallet-common]
73default-features = false73default-features = false
100[dependencies.sp-consensus-aura]100[dependencies.sp-consensus-aura]
101default-features = false101default-features = false
102git = "https://github.com/paritytech/substrate"102git = "https://github.com/paritytech/substrate"
103branch = "polkadot-v0.9.22"103branch = "polkadot-v0.9.23"
104104
105[dependencies.fp-rpc]105[dependencies.fp-rpc]
106default-features = false106default-features = false
107git = "https://github.com/uniquenetwork/frontier"107git = "https://github.com/uniquenetwork/frontier"
108branch = "unique-polkadot-v0.9.22"108branch = "unique-polkadot-v0.9.23"
109109
110[dependencies]110[dependencies]
111pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }111pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
112evm-coder = { default-features = false, path = '../../crates/evm-coder' }112evm-coder = { default-features = false, path = '../../crates/evm-coder' }
113up-sponsorship = { default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.22' }113up-sponsorship = { default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.23' }
114114
115rmrk-rpc = { default-features = false, path = "../../primitives/rmrk-rpc" }115rmrk-rpc = { default-features = false, path = "../../primitives/rmrk-rpc" }
116116
modifiedruntime/common/src/constants.rsdiffbeforeafterboth
35pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;35pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;
36pub const UNIQUE: Balance = 100 * CENTIUNIQUE;36pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
3737
38// Targeting 0.1 UNQ per transfer
38pub const WEIGHT_TO_FEE_COEFF: u32 = 142_688_000;39pub const WEIGHT_TO_FEE_COEFF: u32 = 207_890_902;
3940
40// Targeting 0.15 UNQ per transfer41// Targeting 0.15 UNQ per transfer via ETH
41pub const MIN_GAS_PRICE: u64 = 1_019_493_469_850;42pub const MIN_GAS_PRICE: u64 = 1_019_493_469_850;
4243
43/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.44/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
52parameter_types! {53parameter_types! {
53 pub const DefaultSponsoringRateLimit: BlockNumber = 1 * DAYS;54 pub const DefaultSponsoringRateLimit: BlockNumber = 1 * DAYS;
5455
55 pub const TransactionByteFee: Balance = 501 * MICROUNIQUE; // Targeting 0.1 Unique per NFT transfer56 pub const TransactionByteFee: Balance = 501 * MICROUNIQUE;
56}57}
5758
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
455 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);455 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
456 list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);456 list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);
457
458 #[cfg(not(feature = "unique-runtime"))]
459 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);
460
461 #[cfg(not(feature = "unique-runtime"))]
462 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);
463
457 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);464 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
458465
499 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);506 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
500 add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);507 add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);
508
509 #[cfg(not(feature = "unique-runtime"))]
510 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);
511
512 #[cfg(not(feature = "unique-runtime"))]
513 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);
514
501 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);515 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
502516
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
10license = 'GPLv3'10license = 'GPLv3'
11name = 'opal-runtime'11name = 'opal-runtime'
12repository = 'https://github.com/UniqueNetwork/unique-chain'12repository = 'https://github.com/UniqueNetwork/unique-chain'
13version = '0.9.22'13version = '0.9.23'
1414
15[package.metadata.docs.rs]15[package.metadata.docs.rs]
16targets = ['x86_64-unknown-linux-gnu']16targets = ['x86_64-unknown-linux-gnu']
34 'pallet-refungible/runtime-benchmarks',34 'pallet-refungible/runtime-benchmarks',
35 'pallet-nonfungible/runtime-benchmarks',35 'pallet-nonfungible/runtime-benchmarks',
36 'pallet-proxy-rmrk-core/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',
37 'pallet-proxy-rmrk-equip/runtime-benchmarks',
37 'pallet-unique/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',
38 'pallet-inflation/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',
39 'pallet-unique-scheduler/runtime-benchmarks',40 'pallet-unique-scheduler/runtime-benchmarks',
132default-features = false133default-features = false
133git = "https://github.com/paritytech/substrate"134git = "https://github.com/paritytech/substrate"
134optional = true135optional = true
135branch = "polkadot-v0.9.22"136branch = "polkadot-v0.9.23"
136137
137[dependencies.frame-try-runtime]138[dependencies.frame-try-runtime]
138default-features = false139default-features = false
139git = 'https://github.com/paritytech/substrate'140git = 'https://github.com/paritytech/substrate'
140optional = true141optional = true
141branch = 'polkadot-v0.9.22'142branch = 'polkadot-v0.9.23'
142143
143[dependencies.frame-executive]144[dependencies.frame-executive]
144default-features = false145default-features = false
145git = "https://github.com/paritytech/substrate"146git = "https://github.com/paritytech/substrate"
146branch = "polkadot-v0.9.22"147branch = "polkadot-v0.9.23"
147148
148[dependencies.frame-support]149[dependencies.frame-support]
149default-features = false150default-features = false
150git = "https://github.com/paritytech/substrate"151git = "https://github.com/paritytech/substrate"
151branch = "polkadot-v0.9.22"152branch = "polkadot-v0.9.23"
152153
153[dependencies.frame-system]154[dependencies.frame-system]
154default-features = false155default-features = false
155git = "https://github.com/paritytech/substrate"156git = "https://github.com/paritytech/substrate"
156branch = "polkadot-v0.9.22"157branch = "polkadot-v0.9.23"
157158
158[dependencies.frame-system-benchmarking]159[dependencies.frame-system-benchmarking]
159default-features = false160default-features = false
160git = "https://github.com/paritytech/substrate"161git = "https://github.com/paritytech/substrate"
161optional = true162optional = true
162branch = "polkadot-v0.9.22"163branch = "polkadot-v0.9.23"
163164
164[dependencies.frame-system-rpc-runtime-api]165[dependencies.frame-system-rpc-runtime-api]
165default-features = false166default-features = false
166git = "https://github.com/paritytech/substrate"167git = "https://github.com/paritytech/substrate"
167branch = "polkadot-v0.9.22"168branch = "polkadot-v0.9.23"
168169
169[dependencies.hex-literal]170[dependencies.hex-literal]
170optional = true171optional = true
179[dependencies.pallet-aura]180[dependencies.pallet-aura]
180default-features = false181default-features = false
181git = "https://github.com/paritytech/substrate"182git = "https://github.com/paritytech/substrate"
182branch = "polkadot-v0.9.22"183branch = "polkadot-v0.9.23"
183184
184[dependencies.pallet-balances]185[dependencies.pallet-balances]
185default-features = false186default-features = false
186git = "https://github.com/paritytech/substrate"187git = "https://github.com/paritytech/substrate"
187branch = "polkadot-v0.9.22"188branch = "polkadot-v0.9.23"
188189
189# Contracts specific packages190# Contracts specific packages
190# [dependencies.pallet-contracts]191# [dependencies.pallet-contracts]
208[dependencies.pallet-randomness-collective-flip]209[dependencies.pallet-randomness-collective-flip]
209default-features = false210default-features = false
210git = "https://github.com/paritytech/substrate"211git = "https://github.com/paritytech/substrate"
211branch = "polkadot-v0.9.22"212branch = "polkadot-v0.9.23"
212213
213[dependencies.pallet-sudo]214[dependencies.pallet-sudo]
214default-features = false215default-features = false
215git = "https://github.com/paritytech/substrate"216git = "https://github.com/paritytech/substrate"
216branch = "polkadot-v0.9.22"217branch = "polkadot-v0.9.23"
217218
218[dependencies.pallet-timestamp]219[dependencies.pallet-timestamp]
219default-features = false220default-features = false
220git = "https://github.com/paritytech/substrate"221git = "https://github.com/paritytech/substrate"
221branch = "polkadot-v0.9.22"222branch = "polkadot-v0.9.23"
222223
223[dependencies.pallet-transaction-payment]224[dependencies.pallet-transaction-payment]
224default-features = false225default-features = false
225git = "https://github.com/paritytech/substrate"226git = "https://github.com/paritytech/substrate"
226branch = "polkadot-v0.9.22"227branch = "polkadot-v0.9.23"
227228
228[dependencies.pallet-transaction-payment-rpc-runtime-api]229[dependencies.pallet-transaction-payment-rpc-runtime-api]
229default-features = false230default-features = false
230git = "https://github.com/paritytech/substrate"231git = "https://github.com/paritytech/substrate"
231branch = "polkadot-v0.9.22"232branch = "polkadot-v0.9.23"
232233
233[dependencies.pallet-treasury]234[dependencies.pallet-treasury]
234default-features = false235default-features = false
235git = "https://github.com/paritytech/substrate"236git = "https://github.com/paritytech/substrate"
236branch = "polkadot-v0.9.22"237branch = "polkadot-v0.9.23"
237238
238# [dependencies.pallet-vesting]239# [dependencies.pallet-vesting]
239# default-features = false240# default-features = false
243[dependencies.sp-arithmetic]244[dependencies.sp-arithmetic]
244default-features = false245default-features = false
245git = "https://github.com/paritytech/substrate"246git = "https://github.com/paritytech/substrate"
246branch = "polkadot-v0.9.22"247branch = "polkadot-v0.9.23"
247248
248[dependencies.sp-api]249[dependencies.sp-api]
249default-features = false250default-features = false
250git = "https://github.com/paritytech/substrate"251git = "https://github.com/paritytech/substrate"
251branch = "polkadot-v0.9.22"252branch = "polkadot-v0.9.23"
252253
253[dependencies.sp-block-builder]254[dependencies.sp-block-builder]
254default-features = false255default-features = false
255git = "https://github.com/paritytech/substrate"256git = "https://github.com/paritytech/substrate"
256branch = "polkadot-v0.9.22"257branch = "polkadot-v0.9.23"
257258
258[dependencies.sp-core]259[dependencies.sp-core]
259default-features = false260default-features = false
260git = "https://github.com/paritytech/substrate"261git = "https://github.com/paritytech/substrate"
261branch = "polkadot-v0.9.22"262branch = "polkadot-v0.9.23"
262263
263[dependencies.sp-consensus-aura]264[dependencies.sp-consensus-aura]
264default-features = false265default-features = false
265git = "https://github.com/paritytech/substrate"266git = "https://github.com/paritytech/substrate"
266branch = "polkadot-v0.9.22"267branch = "polkadot-v0.9.23"
267268
268[dependencies.sp-inherents]269[dependencies.sp-inherents]
269default-features = false270default-features = false
270git = "https://github.com/paritytech/substrate"271git = "https://github.com/paritytech/substrate"
271branch = "polkadot-v0.9.22"272branch = "polkadot-v0.9.23"
272273
273[dependencies.sp-io]274[dependencies.sp-io]
274default-features = false275default-features = false
275git = "https://github.com/paritytech/substrate"276git = "https://github.com/paritytech/substrate"
276branch = "polkadot-v0.9.22"277branch = "polkadot-v0.9.23"
277278
278[dependencies.sp-offchain]279[dependencies.sp-offchain]
279default-features = false280default-features = false
280git = "https://github.com/paritytech/substrate"281git = "https://github.com/paritytech/substrate"
281branch = "polkadot-v0.9.22"282branch = "polkadot-v0.9.23"
282283
283[dependencies.sp-runtime]284[dependencies.sp-runtime]
284default-features = false285default-features = false
285git = "https://github.com/paritytech/substrate"286git = "https://github.com/paritytech/substrate"
286branch = "polkadot-v0.9.22"287branch = "polkadot-v0.9.23"
287288
288[dependencies.sp-session]289[dependencies.sp-session]
289default-features = false290default-features = false
290git = "https://github.com/paritytech/substrate"291git = "https://github.com/paritytech/substrate"
291branch = "polkadot-v0.9.22"292branch = "polkadot-v0.9.23"
292293
293[dependencies.sp-std]294[dependencies.sp-std]
294default-features = false295default-features = false
295git = "https://github.com/paritytech/substrate"296git = "https://github.com/paritytech/substrate"
296branch = "polkadot-v0.9.22"297branch = "polkadot-v0.9.23"
297298
298[dependencies.sp-transaction-pool]299[dependencies.sp-transaction-pool]
299default-features = false300default-features = false
300git = "https://github.com/paritytech/substrate"301git = "https://github.com/paritytech/substrate"
301branch = "polkadot-v0.9.22"302branch = "polkadot-v0.9.23"
302303
303[dependencies.sp-version]304[dependencies.sp-version]
304default-features = false305default-features = false
305git = "https://github.com/paritytech/substrate"306git = "https://github.com/paritytech/substrate"
306branch = "polkadot-v0.9.22"307branch = "polkadot-v0.9.23"
307308
308[dependencies.smallvec]309[dependencies.smallvec]
309version = '1.6.1'310version = '1.6.1'
314[dependencies.parachain-info]315[dependencies.parachain-info]
315default-features = false316default-features = false
316git = "https://github.com/paritytech/cumulus"317git = "https://github.com/paritytech/cumulus"
317branch = "polkadot-v0.9.22"318branch = "polkadot-v0.9.23"
318319
319[dependencies.cumulus-pallet-aura-ext]320[dependencies.cumulus-pallet-aura-ext]
320git = "https://github.com/paritytech/cumulus"321git = "https://github.com/paritytech/cumulus"
321branch = "polkadot-v0.9.22"322branch = "polkadot-v0.9.23"
322default-features = false323default-features = false
323324
324[dependencies.cumulus-pallet-parachain-system]325[dependencies.cumulus-pallet-parachain-system]
325git = "https://github.com/paritytech/cumulus"326git = "https://github.com/paritytech/cumulus"
326branch = "polkadot-v0.9.22"327branch = "polkadot-v0.9.23"
327default-features = false328default-features = false
328329
329[dependencies.cumulus-primitives-core]330[dependencies.cumulus-primitives-core]
330git = "https://github.com/paritytech/cumulus"331git = "https://github.com/paritytech/cumulus"
331branch = "polkadot-v0.9.22"332branch = "polkadot-v0.9.23"
332default-features = false333default-features = false
333334
334[dependencies.cumulus-pallet-xcm]335[dependencies.cumulus-pallet-xcm]
335git = "https://github.com/paritytech/cumulus"336git = "https://github.com/paritytech/cumulus"
336branch = "polkadot-v0.9.22"337branch = "polkadot-v0.9.23"
337default-features = false338default-features = false
338339
339[dependencies.cumulus-pallet-dmp-queue]340[dependencies.cumulus-pallet-dmp-queue]
340git = "https://github.com/paritytech/cumulus"341git = "https://github.com/paritytech/cumulus"
341branch = "polkadot-v0.9.22"342branch = "polkadot-v0.9.23"
342default-features = false343default-features = false
343344
344[dependencies.cumulus-pallet-xcmp-queue]345[dependencies.cumulus-pallet-xcmp-queue]
345git = "https://github.com/paritytech/cumulus"346git = "https://github.com/paritytech/cumulus"
346branch = "polkadot-v0.9.22"347branch = "polkadot-v0.9.23"
347default-features = false348default-features = false
348349
349[dependencies.cumulus-primitives-utility]350[dependencies.cumulus-primitives-utility]
350git = "https://github.com/paritytech/cumulus"351git = "https://github.com/paritytech/cumulus"
351branch = "polkadot-v0.9.22"352branch = "polkadot-v0.9.23"
352default-features = false353default-features = false
353354
354[dependencies.cumulus-primitives-timestamp]355[dependencies.cumulus-primitives-timestamp]
355git = "https://github.com/paritytech/cumulus"356git = "https://github.com/paritytech/cumulus"
356branch = "polkadot-v0.9.22"357branch = "polkadot-v0.9.23"
357default-features = false358default-features = false
358359
359################################################################################360################################################################################
360# Polkadot dependencies361# Polkadot dependencies
361362
362[dependencies.polkadot-parachain]363[dependencies.polkadot-parachain]
363git = "https://github.com/paritytech/polkadot"364git = "https://github.com/paritytech/polkadot"
364branch = "release-v0.9.22"365branch = "release-v0.9.23"
365default-features = false366default-features = false
366367
367[dependencies.xcm]368[dependencies.xcm]
368git = "https://github.com/paritytech/polkadot"369git = "https://github.com/paritytech/polkadot"
369branch = "release-v0.9.22"370branch = "release-v0.9.23"
370default-features = false371default-features = false
371372
372[dependencies.xcm-builder]373[dependencies.xcm-builder]
373git = "https://github.com/paritytech/polkadot"374git = "https://github.com/paritytech/polkadot"
374branch = "release-v0.9.22"375branch = "release-v0.9.23"
375default-features = false376default-features = false
376377
377[dependencies.xcm-executor]378[dependencies.xcm-executor]
378git = "https://github.com/paritytech/polkadot"379git = "https://github.com/paritytech/polkadot"
379branch = "release-v0.9.22"380branch = "release-v0.9.23"
380default-features = false381default-features = false
381382
382[dependencies.pallet-xcm]383[dependencies.pallet-xcm]
383git = "https://github.com/paritytech/polkadot"384git = "https://github.com/paritytech/polkadot"
384branch = "release-v0.9.22"385branch = "release-v0.9.23"
385default-features = false386default-features = false
386387
387[dependencies.orml-vesting]388[dependencies.orml-vesting]
388git = "https://github.com/uniquenetwork/open-runtime-module-library"389git = "https://github.com/uniquenetwork/open-runtime-module-library"
389branch = "unique-polkadot-v0.9.22"390branch = "unique-polkadot-v0.9.23"
390version = "0.4.1-dev"391version = "0.4.1-dev"
391default-features = false392default-features = false
392393
403pallet-unique = { path = '../../pallets/unique', default-features = false }404pallet-unique = { path = '../../pallets/unique', default-features = false }
404up-rpc = { path = "../../primitives/rpc", default-features = false }405up-rpc = { path = "../../primitives/rpc", default-features = false }
405rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }406rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }
406fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }407fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
407pallet-inflation = { path = '../../pallets/inflation', default-features = false }408pallet-inflation = { path = '../../pallets/inflation', default-features = false }
408up-data-structs = { path = '../../primitives/data-structs', default-features = false }409up-data-structs = { path = '../../primitives/data-structs', default-features = false }
409pallet-common = { default-features = false, path = "../../pallets/common" }410pallet-common = { default-features = false, path = "../../pallets/common" }
415pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }416pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
416pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }417pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
417# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }418# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
418pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }419pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
419pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }420pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
420pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }421pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
421pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }422pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
422pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }423pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
423pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }424pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
424pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }425pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
425pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }426pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
426fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }427fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
427fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }428fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
428429
429################################################################################430################################################################################
430# Build Dependencies431# Build Dependencies
431432
432[build-dependencies.substrate-wasm-builder]433[build-dependencies.substrate-wasm-builder]
433git = "https://github.com/paritytech/substrate"434git = "https://github.com/paritytech/substrate"
434branch = "polkadot-v0.9.22"435branch = "polkadot-v0.9.23"
435436
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,
68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
69 WeightToFee,
69 },70 },
70};71};
71use pallet_unique_scheduler::DispatchCall;72use pallet_unique_scheduler::DispatchCall;
74 CollectionStats, RpcCollection,75 CollectionStats, RpcCollection,
75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},76 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},
76 TokenChild, RmrkCollectionInfo, RmrkInstanceInfo, RmrkResourceInfo, RmrkPropertyInfo,77 TokenChild, RmrkCollectionInfo, RmrkInstanceInfo, RmrkResourceInfo, RmrkPropertyInfo,
77 RmrkBaseInfo, RmrkPartType, RmrkTheme, RmrkThemeName, RmrkThemeProperty, RmrkCollectionId,78 RmrkBaseInfo, RmrkPartType, RmrkTheme, RmrkThemeName, RmrkCollectionId, RmrkNftId,
78 RmrkNftId, RmrkAccountIdOrCollectionNftTuple, RmrkNftChild, RmrkPropertyKey, RmrkResourceTypes,79 RmrkNftChild, RmrkPropertyKey, RmrkResourceId, RmrkBaseId,
79 RmrkBasicResource, RmrkComposableResource, RmrkSlotResource, RmrkResourceId, RmrkBaseId,
80 RmrkFixedPart, RmrkSlotPart, RmrkString,
81};80};
8281
83// use pallet_contracts::weights::WeightInfo;82// use pallet_contracts::weights::WeightInfo;
193 spec_name: create_runtime_str!(RUNTIME_NAME),192 spec_name: create_runtime_str!(RUNTIME_NAME),
194 impl_name: create_runtime_str!(RUNTIME_NAME),193 impl_name: create_runtime_str!(RUNTIME_NAME),
195 authoring_version: 1,194 authoring_version: 1,
196 spec_version: 922080,195 spec_version: 923000,
197 impl_version: 0,196 impl_version: 0,
198 apis: RUNTIME_API_VERSIONS,197 apis: RUNTIME_API_VERSIONS,
199 transaction_version: 1,198 transaction_version: 1,
509508
510 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {509 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
511 smallvec!(WeightToFeeCoefficient {510 smallvec!(WeightToFeeCoefficient {
512 // Targeting 0.1 Unique per NFT transfer
513 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),511 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),
514 coeff_frac: Perbill::zero(),512 coeff_frac: Perbill::zero(),
515 negative: false,513 negative: false,
738 }736 }
739737
740 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {738 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {
741 let amount = WeightToFee::calc(&weight);739 let amount = WeightToFee::weight_to_fee(&weight);
742 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;740 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;
743741
744 // location to this parachain through relay chain742 // location to this parachain through relay chain
770768
771 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {769 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {
772 let weight = weight.min(self.0);770 let weight = weight.min(self.0);
773 let amount = WeightToFee::calc(&weight);771 let amount = WeightToFee::weight_to_fee(&weight);
774 self.0 -= weight;772 self.0 -= weight;
775 self.1 = self.1.saturating_sub(amount);773 self.1 = self.1.saturating_sub(amount);
776 let amount: u128 = amount.saturated_into();774 let amount: u128 = amount.saturated_into();
808 type Barrier = Barrier;806 type Barrier = Barrier;
809 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;807 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
810 type Trader = UsingOnlySelfCurrencyComponents<808 type Trader =
811 IdentityFee<Balance>,809 UsingOnlySelfCurrencyComponents<LinearFee<Balance>, RelayLocation, AccountId, Balances, ()>;
812 RelayLocation,
813 AccountId,
814 Balances,
815 (),
816 >;
817 type ResponseHandler = (); // Don't handle responses for now.810 type ResponseHandler = (); // Don't handle responses for now.
818 type SubscriptionService = PolkadotXcm;811 type SubscriptionService = PolkadotXcm;
885}878}
886879
887parameter_types! {880parameter_types! {
888 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();881 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
889 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;882 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
890}883}
891884
924}917}
925918
926impl pallet_proxy_rmrk_equip::Config for Runtime {919impl pallet_proxy_rmrk_equip::Config for Runtime {
920 type WeightInfo = pallet_proxy_rmrk_equip::weights::SubstrateWeight<Self>;
927 type Event = Event;921 type Event = Event;
928}922}
929923
1330 RmrkTheme1324 RmrkTheme
1331 > for Runtime {1325 > for Runtime {
1332 fn last_collection_idx() -> Result<RmrkCollectionId, DispatchError> {1326 fn last_collection_idx() -> Result<RmrkCollectionId, DispatchError> {
1333 Ok(RmrkCore::last_collection_idx())1327 pallet_proxy_rmrk_core::rpc::last_collection_idx::<Runtime>()
1334 }1328 }
13351329
1336 fn collection_by_id(collection_id: RmrkCollectionId) -> Result<Option<RmrkCollectionInfo<AccountId>>, DispatchError> {1330 fn collection_by_id(collection_id: RmrkCollectionId) -> Result<Option<RmrkCollectionInfo<AccountId>>, DispatchError> {
1337 use pallet_proxy_rmrk_core::{RmrkProperty, misc::CollectionType};1331 pallet_proxy_rmrk_core::rpc::collection_by_id::<Runtime>(collection_id)
1338 use pallet_common::CommonCollectionOperations;
1339
1340 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(collection_id, CollectionType::Regular) {
1341 Ok(c) => c,
1342 Err(_) => return Ok(None),
1343 };
1344
1345 let nfts_count = collection.total_supply();
1346
1347 Ok(Some(RmrkCollectionInfo {
1348 issuer: collection.owner.clone(),
1349 metadata: RmrkCore::get_collection_property_decoded(collection_id, RmrkProperty::Metadata)?,
1350 max: collection.limits.token_limit,
1351 symbol: RmrkCore::rebind(&collection.token_prefix)?,
1352 nfts_count
1353 }))
1354 }1332 }
13551333
1356 fn nft_by_id(collection_id: RmrkCollectionId, nft_by_id: RmrkNftId) -> Result<Option<RmrkInstanceInfo<AccountId>>, DispatchError> {1334 fn nft_by_id(collection_id: RmrkCollectionId, nft_by_id: RmrkNftId) -> Result<Option<RmrkInstanceInfo<AccountId>>, DispatchError> {
1357 use up_data_structs::mapping::TokenAddressMapping;
1358 use pallet_proxy_rmrk_core::{RmrkProperty, misc::CollectionType};1335 pallet_proxy_rmrk_core::rpc::nft_by_id::<Runtime>(collection_id, nft_by_id)
1359 use pallet_common::CommonCollectionOperations;
1360
1361 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(collection_id, CollectionType::Regular) {
1362 Ok(c) => c,
1363 Err(_) => return Ok(None),
1364 };
1365
1366 let nft_id = TokenId(nft_by_id);
1367 if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(None); }
1368
1369 let owner = match collection.token_owner(nft_id) {
1370 Some(owner) => match <Runtime as pallet_common::Config>::CrossTokenAddressMapping::address_to_token(&owner) {
1371 Some((col, tok)) => {
1372 let rmrk_collection = RmrkCore::rmrk_collection_id(col)?;
1373
1374 RmrkAccountIdOrCollectionNftTuple::CollectionAndNftTuple(rmrk_collection, tok.0)
1375 }
1376 None => RmrkAccountIdOrCollectionNftTuple::AccountId(owner.as_sub().clone())
1377 },
1378 None => return Ok(None)
1379 };
1380
1381 Ok(Some(RmrkInstanceInfo {
1382 owner: owner,
1383 royalty: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::RoyaltyInfo)?,
1384 metadata: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::Metadata)?,
1385 equipped: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::Equipped)?,
1386 pending: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::PendingNftAccept)?,
1387 }))
1388 }1336 }
13891337
1390 fn account_tokens(account_id: AccountId, collection_id: RmrkCollectionId) -> Result<Vec<RmrkNftId>, DispatchError> {1338 fn account_tokens(account_id: AccountId, collection_id: RmrkCollectionId) -> Result<Vec<RmrkNftId>, DispatchError> {
1391 use pallet_proxy_rmrk_core::{RmrkProperty, misc::CollectionType};1339 pallet_proxy_rmrk_core::rpc::account_tokens::<Runtime>(account_id, collection_id)
1392 use pallet_common::CommonCollectionOperations;
1393
1394 let cross_account_id = CrossAccountId::from_sub(account_id);
1395
1396 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(collection_id, CollectionType::Regular) {
1397 Ok(c) => c,
1398 Err(_) => return Ok(Vec::new()),
1399 };
1400
1401 let tokens = collection.account_tokens(cross_account_id)
1402 .into_iter()
1403 .filter(|token| {
1404 let is_pending = RmrkCore::get_nft_property_decoded(
1405 collection_id,
1406 *token,
1407 RmrkProperty::PendingNftAccept
1408 ).unwrap_or(true);
1409
1410 !is_pending
1411 })
1412 .map(|token| token.0)
1413 .collect();
1414
1415 Ok(tokens)
1416 }1340 }
14171341
1418 fn nft_children(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkNftChild>, DispatchError> {1342 fn nft_children(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkNftChild>, DispatchError> {
1419 use pallet_proxy_rmrk_core::RmrkProperty;1343 pallet_proxy_rmrk_core::rpc::nft_children::<Runtime>(collection_id, nft_id)
1420
1421 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1422 Ok(id) => id,
1423 Err(_) => return Ok(Vec::new())
1424 };
1425 let nft_id = TokenId(nft_id);
1426 if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(Vec::new()); }
1427
1428 Ok(
1429 pallet_nonfungible::TokenChildren::<Runtime>::iter_prefix((collection_id, nft_id))
1430 .filter_map(|((child_collection, child_token), _)| {
1431 let is_pending = RmrkCore::get_nft_property_decoded(
1432 child_collection,
1433 child_token,
1434 RmrkProperty::PendingNftAccept
1435 ).ok()?;
1436
1437 if is_pending {
1438 return None;
1439 }
1440
1441 let rmrk_child_collection = RmrkCore::rmrk_collection_id(
1442 child_collection
1443 ).ok()?;
1444
1445 Some(RmrkNftChild {
1446 collection_id: rmrk_child_collection,
1447 nft_id: child_token.0,
1448 })
1449 }).collect()
1450 )
1451 }1344 }
14521345
1453 fn collection_properties(collection_id: RmrkCollectionId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {1346 fn collection_properties(collection_id: RmrkCollectionId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {
1454 use pallet_proxy_rmrk_core::misc::CollectionType;1347 pallet_proxy_rmrk_core::rpc::collection_properties::<Runtime>(collection_id, filter_keys)
1455
1456 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1457 Ok(id) => id,
1458 Err(_) => return Ok(Vec::new())
1459 };
1460 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() {
1461 return Ok(Vec::new());
1462 }
1463
1464 let properties = RmrkCore::filter_user_properties(
1465 collection_id,
1466 /* token_id = */ None,
1467 filter_keys,
1468 |key, value| RmrkPropertyInfo {
1469 key,
1470 value
1471 }
1472 )?;
1473
1474 Ok(properties)
1475 }1348 }
14761349
1477 fn nft_properties(collection_id: RmrkCollectionId, nft_id: RmrkNftId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {1350 fn nft_properties(collection_id: RmrkCollectionId, nft_id: RmrkNftId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {
1478 use pallet_proxy_rmrk_core::misc::NftType;1351 pallet_proxy_rmrk_core::rpc::nft_properties::<Runtime>(collection_id, nft_id, filter_keys)
1479
1480 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1481 Ok(id) => id,
1482 Err(_) => return Ok(Vec::new())
1483 };
1484 let token_id = TokenId(nft_id);
1485
1486 if RmrkCore::ensure_nft_type(collection_id, token_id, NftType::Regular).is_err() {
1487 return Ok(Vec::new());
1488 }
1489
1490 let properties = RmrkCore::filter_user_properties(
1491 collection_id,
1492 Some(token_id),
1493 filter_keys,
1494 |key, value| RmrkPropertyInfo {
1495 key,
1496 value
1497 }
1498 )?;
1499
1500 Ok(properties)
1501 }1352 }
15021353
1503 fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {1354 fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {
1504 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, ResourceType}};1355 pallet_proxy_rmrk_core::rpc::nft_resources::<Runtime>(collection_id, nft_id)
1505 use pallet_common::CommonCollectionOperations;
1506
1507 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1508 Ok(id) => id,
1509 Err(_) => return Ok(Vec::new())
1510 };
1511 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(Vec::new()); }
1512
1513 let nft_id = TokenId(nft_id);
1514 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(Vec::new()); }
1515
1516 let res_collection_id: Option<CollectionId> = RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::ResourceCollection)?;
1517
1518 let res_collection_id = match res_collection_id {
1519 Some(id) => id,
1520 None => return Ok(Vec::new())
1521 };
1522
1523 let resource_collection = RmrkCore::get_typed_nft_collection(res_collection_id, CollectionType::Resource)?;
1524
1525 let resources = resource_collection
1526 .collection_tokens()
1527 .iter()
1528 .filter_map(|res_id| Some(RmrkResourceInfo {
1529 id: res_id.0,
1530 pending: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::PendingResourceAccept).ok()?,
1531 pending_removal: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::PendingResourceRemoval).ok()?,
1532 resource: match RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::ResourceType).ok()? {
1533 ResourceType::Basic => RmrkResourceTypes::Basic(RmrkBasicResource {
1534 src: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Src).ok()?,
1535 metadata: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Metadata).ok()?,
1536 license: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::License).ok()?,
1537 thumb: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Thumb).ok()?,
1538 }),
1539 ResourceType::Composable => RmrkResourceTypes::Composable(RmrkComposableResource {
1540 parts: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Parts).ok()?,
1541 base: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Base).ok()?,
1542 src: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Src).ok()?,
1543 metadata: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Metadata).ok()?,
1544 license: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::License).ok()?,
1545 thumb: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Thumb).ok()?,
1546 }),
1547 ResourceType::Slot => RmrkResourceTypes::Slot(RmrkSlotResource {
1548 base: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Base).ok()?,
1549 src: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Src).ok()?,
1550 metadata: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Metadata).ok()?,
1551 slot: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Slot).ok()?,
1552 license: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::License).ok()?,
1553 thumb: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Thumb).ok()?,
1554 }),
1555 },
1556 }))
1557 .collect();
1558
1559 Ok(resources)
1560 }1356 }
15611357
1562 fn nft_resource_priority(collection_id: RmrkCollectionId, nft_id: RmrkNftId, resource_id: RmrkResourceId) -> Result<Option<u32>, DispatchError> {1358 fn nft_resource_priority(collection_id: RmrkCollectionId, nft_id: RmrkNftId, resource_id: RmrkResourceId) -> Result<Option<u32>, DispatchError> {
1563 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType}};1359 pallet_proxy_rmrk_core::rpc::nft_resource_priority::<Runtime>(collection_id, nft_id, resource_id)
1564
1565 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1566 Ok(id) => id,
1567 Err(_) => return Ok(None)
1568 };
1569 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(None); }
1570
1571 let nft_id = TokenId(nft_id);
1572 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(None); }
1573
1574 let priorities: Vec<_> = RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::ResourcePriorities)?;
1575 Ok(
1576 priorities.into_iter()
1577 .enumerate()
1578 .find(|(_, id)| *id == resource_id)
1579 .map(|(priority, _): (usize, RmrkResourceId)| priority as u32)
1580 )
1581 }1360 }
15821361
1583 fn base(base_id: RmrkBaseId) -> Result<Option<RmrkBaseInfo<AccountId>>, DispatchError> {1362 fn base(base_id: RmrkBaseId) -> Result<Option<RmrkBaseInfo<AccountId>>, DispatchError> {
1584 use pallet_proxy_rmrk_core::{1363 pallet_proxy_rmrk_equip::rpc::base::<Runtime>(base_id)
1585 RmrkProperty, misc::{CollectionType},
1586 };
1587
1588 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1589 Ok(c) => c,
1590 Err(_) => return Ok(None),
1591 };
1592
1593 Ok(Some(RmrkBaseInfo {
1594 issuer: collection.owner.clone(),
1595 base_type: RmrkCore::get_collection_property_decoded(collection_id, RmrkProperty::BaseType)?,
1596 symbol: RmrkCore::rebind(&collection.token_prefix)?,
1597 }))
1598 }1364 }
15991365
1600 fn base_parts(base_id: RmrkBaseId) -> Result<Vec<RmrkPartType>, DispatchError> {1366 fn base_parts(base_id: RmrkBaseId) -> Result<Vec<RmrkPartType>, DispatchError> {
1601 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType}};1367 pallet_proxy_rmrk_equip::rpc::base_parts::<Runtime>(base_id)
1602 use pallet_common::CommonCollectionOperations;
1603
1604 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1605 Ok(c) => c,
1606 Err(_) => return Ok(Vec::new()),
1607 };
1608
1609 let parts = collection.collection_tokens()
1610 .into_iter()
1611 .filter_map(|token_id| {
1612 let nft_type = RmrkCore::get_nft_type(collection_id, token_id).ok()?;
1613
1614 match nft_type {
1615 NftType::FixedPart => Some(RmrkPartType::FixedPart(RmrkFixedPart {
1616 id: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ExternalPartId).ok()?,
1617 src: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::Src).ok()?,
1618 z: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ZIndex).ok()?,
1619 })),
1620 NftType::SlotPart => Some(RmrkPartType::SlotPart(RmrkSlotPart {
1621 id: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ExternalPartId).ok()?,
1622 src: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::Src).ok()?,
1623 z: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ZIndex).ok()?,
1624 equippable: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::EquippableList).ok()?,
1625 })),
1626 _ => None
1627 }
1628 })
1629 .collect();
1630
1631 Ok(parts)
1632 }1368 }
16331369
1634 fn theme_names(base_id: RmrkBaseId) -> Result<Vec<RmrkThemeName>, DispatchError> {1370 fn theme_names(base_id: RmrkBaseId) -> Result<Vec<RmrkThemeName>, DispatchError> {
1635 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{NftType, CollectionType}};1371 pallet_proxy_rmrk_equip::rpc::theme_names::<Runtime>(base_id)
1636 use pallet_common::CommonCollectionOperations;
1637
1638 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1639 Ok(c) => c,
1640 Err(_) => return Ok(Vec::new()),
1641 };
1642
1643 let theme_names = collection.collection_tokens()
1644 .iter()
1645 .filter_map(|token_id| {
1646 let nft_type = RmrkCore::get_nft_type(collection_id, *token_id).ok()?;
1647
1648 match nft_type {
1649 NftType::Theme => RmrkCore::get_nft_property_decoded(collection_id, *token_id, RmrkProperty::ThemeName).ok(),
1650 _ => None
1651 }
1652 })
1653 .collect();
1654
1655 Ok(theme_names)
1656 }1372 }
16571373
1658 fn theme(base_id: RmrkBaseId, theme_name: RmrkThemeName, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Option<RmrkTheme>, DispatchError> {1374 fn theme(base_id: RmrkBaseId, theme_name: RmrkThemeName, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Option<RmrkTheme>, DispatchError> {
1659 use pallet_proxy_rmrk_core::{1375 pallet_proxy_rmrk_equip::rpc::theme::<Runtime>(base_id, theme_name, filter_keys)
1660 RmrkProperty,
1661 misc::{CollectionType, NftType}
1662 };
1663 use pallet_common::CommonCollectionOperations;
1664
1665 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1666 Ok(c) => c,
1667 Err(_) => return Ok(None),
1668 };
1669
1670 let theme_info = collection.collection_tokens()
1671 .into_iter()
1672 .find_map(|token_id| {
1673 RmrkCore::ensure_nft_type(collection_id, token_id, NftType::Theme).ok()?;
1674
1675 let name: RmrkString = RmrkCore::get_nft_property_decoded(
1676 collection_id, token_id, RmrkProperty::ThemeName
1677 ).ok()?;
1678
1679 if name == theme_name {
1680 Some((name, token_id))
1681 } else {
1682 None
1683 }
1684 });
1685
1686 let (name, theme_id) = match theme_info {
1687 Some((name, theme_id)) => (name, theme_id),
1688 None => return Ok(None)
1689 };
1690
1691 let properties = RmrkCore::filter_user_properties(
1692 collection_id,
1693 Some(theme_id),
1694 filter_keys,
1695 |key, value| RmrkThemeProperty {
1696 key,
1697 value
1698 }
1699 )?;
1700
1701 let inherit = RmrkCore::get_nft_property_decoded(
1702 collection_id,
1703 theme_id,
1704 RmrkProperty::ThemeInherit
1705 )?;
1706
1707 let theme = RmrkTheme {
1708 name,
1709 properties,
1710 inherit,
1711 };
1712
1713 Ok(Some(theme))
1714 }1376 }
1715 }1377 }
1716}1378}
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
10license = 'GPLv3'10license = 'GPLv3'
11name = 'quartz-runtime'11name = 'quartz-runtime'
12repository = 'https://github.com/UniqueNetwork/unique-chain'12repository = 'https://github.com/UniqueNetwork/unique-chain'
13version = '0.9.22'13version = '0.9.23'
1414
15[package.metadata.docs.rs]15[package.metadata.docs.rs]
16targets = ['x86_64-unknown-linux-gnu']16targets = ['x86_64-unknown-linux-gnu']
132default-features = false132default-features = false
133git = "https://github.com/paritytech/substrate"133git = "https://github.com/paritytech/substrate"
134optional = true134optional = true
135branch = "polkadot-v0.9.22"135branch = "polkadot-v0.9.23"
136136
137[dependencies.frame-try-runtime]137[dependencies.frame-try-runtime]
138default-features = false138default-features = false
139git = 'https://github.com/paritytech/substrate'139git = 'https://github.com/paritytech/substrate'
140optional = true140optional = true
141branch = 'polkadot-v0.9.22'141branch = 'polkadot-v0.9.23'
142142
143[dependencies.frame-executive]143[dependencies.frame-executive]
144default-features = false144default-features = false
145git = "https://github.com/paritytech/substrate"145git = "https://github.com/paritytech/substrate"
146branch = "polkadot-v0.9.22"146branch = "polkadot-v0.9.23"
147147
148[dependencies.frame-support]148[dependencies.frame-support]
149default-features = false149default-features = false
150git = "https://github.com/paritytech/substrate"150git = "https://github.com/paritytech/substrate"
151branch = "polkadot-v0.9.22"151branch = "polkadot-v0.9.23"
152152
153[dependencies.frame-system]153[dependencies.frame-system]
154default-features = false154default-features = false
155git = "https://github.com/paritytech/substrate"155git = "https://github.com/paritytech/substrate"
156branch = "polkadot-v0.9.22"156branch = "polkadot-v0.9.23"
157157
158[dependencies.frame-system-benchmarking]158[dependencies.frame-system-benchmarking]
159default-features = false159default-features = false
160git = "https://github.com/paritytech/substrate"160git = "https://github.com/paritytech/substrate"
161optional = true161optional = true
162branch = "polkadot-v0.9.22"162branch = "polkadot-v0.9.23"
163163
164[dependencies.frame-system-rpc-runtime-api]164[dependencies.frame-system-rpc-runtime-api]
165default-features = false165default-features = false
166git = "https://github.com/paritytech/substrate"166git = "https://github.com/paritytech/substrate"
167branch = "polkadot-v0.9.22"167branch = "polkadot-v0.9.23"
168168
169[dependencies.hex-literal]169[dependencies.hex-literal]
170optional = true170optional = true
179[dependencies.pallet-aura]179[dependencies.pallet-aura]
180default-features = false180default-features = false
181git = "https://github.com/paritytech/substrate"181git = "https://github.com/paritytech/substrate"
182branch = "polkadot-v0.9.22"182branch = "polkadot-v0.9.23"
183183
184[dependencies.pallet-balances]184[dependencies.pallet-balances]
185default-features = false185default-features = false
186git = "https://github.com/paritytech/substrate"186git = "https://github.com/paritytech/substrate"
187branch = "polkadot-v0.9.22"187branch = "polkadot-v0.9.23"
188188
189# Contracts specific packages189# Contracts specific packages
190# [dependencies.pallet-contracts]190# [dependencies.pallet-contracts]
208[dependencies.pallet-randomness-collective-flip]208[dependencies.pallet-randomness-collective-flip]
209default-features = false209default-features = false
210git = "https://github.com/paritytech/substrate"210git = "https://github.com/paritytech/substrate"
211branch = "polkadot-v0.9.22"211branch = "polkadot-v0.9.23"
212212
213[dependencies.pallet-sudo]213[dependencies.pallet-sudo]
214default-features = false214default-features = false
215git = "https://github.com/paritytech/substrate"215git = "https://github.com/paritytech/substrate"
216branch = "polkadot-v0.9.22"216branch = "polkadot-v0.9.23"
217217
218[dependencies.pallet-timestamp]218[dependencies.pallet-timestamp]
219default-features = false219default-features = false
220git = "https://github.com/paritytech/substrate"220git = "https://github.com/paritytech/substrate"
221branch = "polkadot-v0.9.22"221branch = "polkadot-v0.9.23"
222222
223[dependencies.pallet-transaction-payment]223[dependencies.pallet-transaction-payment]
224default-features = false224default-features = false
225git = "https://github.com/paritytech/substrate"225git = "https://github.com/paritytech/substrate"
226branch = "polkadot-v0.9.22"226branch = "polkadot-v0.9.23"
227227
228[dependencies.pallet-transaction-payment-rpc-runtime-api]228[dependencies.pallet-transaction-payment-rpc-runtime-api]
229default-features = false229default-features = false
230git = "https://github.com/paritytech/substrate"230git = "https://github.com/paritytech/substrate"
231branch = "polkadot-v0.9.22"231branch = "polkadot-v0.9.23"
232232
233[dependencies.pallet-treasury]233[dependencies.pallet-treasury]
234default-features = false234default-features = false
235git = "https://github.com/paritytech/substrate"235git = "https://github.com/paritytech/substrate"
236branch = "polkadot-v0.9.22"236branch = "polkadot-v0.9.23"
237237
238# [dependencies.pallet-vesting]238# [dependencies.pallet-vesting]
239# default-features = false239# default-features = false
243[dependencies.sp-arithmetic]243[dependencies.sp-arithmetic]
244default-features = false244default-features = false
245git = "https://github.com/paritytech/substrate"245git = "https://github.com/paritytech/substrate"
246branch = "polkadot-v0.9.22"246branch = "polkadot-v0.9.23"
247247
248[dependencies.sp-api]248[dependencies.sp-api]
249default-features = false249default-features = false
250git = "https://github.com/paritytech/substrate"250git = "https://github.com/paritytech/substrate"
251branch = "polkadot-v0.9.22"251branch = "polkadot-v0.9.23"
252252
253[dependencies.sp-block-builder]253[dependencies.sp-block-builder]
254default-features = false254default-features = false
255git = "https://github.com/paritytech/substrate"255git = "https://github.com/paritytech/substrate"
256branch = "polkadot-v0.9.22"256branch = "polkadot-v0.9.23"
257257
258[dependencies.sp-core]258[dependencies.sp-core]
259default-features = false259default-features = false
260git = "https://github.com/paritytech/substrate"260git = "https://github.com/paritytech/substrate"
261branch = "polkadot-v0.9.22"261branch = "polkadot-v0.9.23"
262262
263[dependencies.sp-consensus-aura]263[dependencies.sp-consensus-aura]
264default-features = false264default-features = false
265git = "https://github.com/paritytech/substrate"265git = "https://github.com/paritytech/substrate"
266branch = "polkadot-v0.9.22"266branch = "polkadot-v0.9.23"
267267
268[dependencies.sp-inherents]268[dependencies.sp-inherents]
269default-features = false269default-features = false
270git = "https://github.com/paritytech/substrate"270git = "https://github.com/paritytech/substrate"
271branch = "polkadot-v0.9.22"271branch = "polkadot-v0.9.23"
272272
273[dependencies.sp-io]273[dependencies.sp-io]
274default-features = false274default-features = false
275git = "https://github.com/paritytech/substrate"275git = "https://github.com/paritytech/substrate"
276branch = "polkadot-v0.9.22"276branch = "polkadot-v0.9.23"
277277
278[dependencies.sp-offchain]278[dependencies.sp-offchain]
279default-features = false279default-features = false
280git = "https://github.com/paritytech/substrate"280git = "https://github.com/paritytech/substrate"
281branch = "polkadot-v0.9.22"281branch = "polkadot-v0.9.23"
282282
283[dependencies.sp-runtime]283[dependencies.sp-runtime]
284default-features = false284default-features = false
285git = "https://github.com/paritytech/substrate"285git = "https://github.com/paritytech/substrate"
286branch = "polkadot-v0.9.22"286branch = "polkadot-v0.9.23"
287287
288[dependencies.sp-session]288[dependencies.sp-session]
289default-features = false289default-features = false
290git = "https://github.com/paritytech/substrate"290git = "https://github.com/paritytech/substrate"
291branch = "polkadot-v0.9.22"291branch = "polkadot-v0.9.23"
292292
293[dependencies.sp-std]293[dependencies.sp-std]
294default-features = false294default-features = false
295git = "https://github.com/paritytech/substrate"295git = "https://github.com/paritytech/substrate"
296branch = "polkadot-v0.9.22"296branch = "polkadot-v0.9.23"
297297
298[dependencies.sp-transaction-pool]298[dependencies.sp-transaction-pool]
299default-features = false299default-features = false
300git = "https://github.com/paritytech/substrate"300git = "https://github.com/paritytech/substrate"
301branch = "polkadot-v0.9.22"301branch = "polkadot-v0.9.23"
302302
303[dependencies.sp-version]303[dependencies.sp-version]
304default-features = false304default-features = false
305git = "https://github.com/paritytech/substrate"305git = "https://github.com/paritytech/substrate"
306branch = "polkadot-v0.9.22"306branch = "polkadot-v0.9.23"
307307
308[dependencies.smallvec]308[dependencies.smallvec]
309version = '1.6.1'309version = '1.6.1'
314[dependencies.parachain-info]314[dependencies.parachain-info]
315default-features = false315default-features = false
316git = "https://github.com/paritytech/cumulus"316git = "https://github.com/paritytech/cumulus"
317branch = "polkadot-v0.9.22"317branch = "polkadot-v0.9.23"
318318
319[dependencies.cumulus-pallet-aura-ext]319[dependencies.cumulus-pallet-aura-ext]
320git = "https://github.com/paritytech/cumulus"320git = "https://github.com/paritytech/cumulus"
321branch = "polkadot-v0.9.22"321branch = "polkadot-v0.9.23"
322default-features = false322default-features = false
323323
324[dependencies.cumulus-pallet-parachain-system]324[dependencies.cumulus-pallet-parachain-system]
325git = "https://github.com/paritytech/cumulus"325git = "https://github.com/paritytech/cumulus"
326branch = "polkadot-v0.9.22"326branch = "polkadot-v0.9.23"
327default-features = false327default-features = false
328328
329[dependencies.cumulus-primitives-core]329[dependencies.cumulus-primitives-core]
330git = "https://github.com/paritytech/cumulus"330git = "https://github.com/paritytech/cumulus"
331branch = "polkadot-v0.9.22"331branch = "polkadot-v0.9.23"
332default-features = false332default-features = false
333333
334[dependencies.cumulus-pallet-xcm]334[dependencies.cumulus-pallet-xcm]
335git = "https://github.com/paritytech/cumulus"335git = "https://github.com/paritytech/cumulus"
336branch = "polkadot-v0.9.22"336branch = "polkadot-v0.9.23"
337default-features = false337default-features = false
338338
339[dependencies.cumulus-pallet-dmp-queue]339[dependencies.cumulus-pallet-dmp-queue]
340git = "https://github.com/paritytech/cumulus"340git = "https://github.com/paritytech/cumulus"
341branch = "polkadot-v0.9.22"341branch = "polkadot-v0.9.23"
342default-features = false342default-features = false
343343
344[dependencies.cumulus-pallet-xcmp-queue]344[dependencies.cumulus-pallet-xcmp-queue]
345git = "https://github.com/paritytech/cumulus"345git = "https://github.com/paritytech/cumulus"
346branch = "polkadot-v0.9.22"346branch = "polkadot-v0.9.23"
347default-features = false347default-features = false
348348
349[dependencies.cumulus-primitives-utility]349[dependencies.cumulus-primitives-utility]
350git = "https://github.com/paritytech/cumulus"350git = "https://github.com/paritytech/cumulus"
351branch = "polkadot-v0.9.22"351branch = "polkadot-v0.9.23"
352default-features = false352default-features = false
353353
354[dependencies.cumulus-primitives-timestamp]354[dependencies.cumulus-primitives-timestamp]
355git = "https://github.com/paritytech/cumulus"355git = "https://github.com/paritytech/cumulus"
356branch = "polkadot-v0.9.22"356branch = "polkadot-v0.9.23"
357default-features = false357default-features = false
358358
359################################################################################359################################################################################
360# Polkadot dependencies360# Polkadot dependencies
361361
362[dependencies.polkadot-parachain]362[dependencies.polkadot-parachain]
363git = "https://github.com/paritytech/polkadot"363git = "https://github.com/paritytech/polkadot"
364branch = "release-v0.9.22"364branch = "release-v0.9.23"
365default-features = false365default-features = false
366366
367[dependencies.xcm]367[dependencies.xcm]
368git = "https://github.com/paritytech/polkadot"368git = "https://github.com/paritytech/polkadot"
369branch = "release-v0.9.22"369branch = "release-v0.9.23"
370default-features = false370default-features = false
371371
372[dependencies.xcm-builder]372[dependencies.xcm-builder]
373git = "https://github.com/paritytech/polkadot"373git = "https://github.com/paritytech/polkadot"
374branch = "release-v0.9.22"374branch = "release-v0.9.23"
375default-features = false375default-features = false
376376
377[dependencies.xcm-executor]377[dependencies.xcm-executor]
378git = "https://github.com/paritytech/polkadot"378git = "https://github.com/paritytech/polkadot"
379branch = "release-v0.9.22"379branch = "release-v0.9.23"
380default-features = false380default-features = false
381381
382[dependencies.pallet-xcm]382[dependencies.pallet-xcm]
383git = "https://github.com/paritytech/polkadot"383git = "https://github.com/paritytech/polkadot"
384branch = "release-v0.9.22"384branch = "release-v0.9.23"
385default-features = false385default-features = false
386386
387[dependencies.orml-vesting]387[dependencies.orml-vesting]
388git = "https://github.com/uniquenetwork/open-runtime-module-library"388git = "https://github.com/uniquenetwork/open-runtime-module-library"
389branch = "unique-polkadot-v0.9.22"389branch = "unique-polkadot-v0.9.23"
390version = "0.4.1-dev"390version = "0.4.1-dev"
391default-features = false391default-features = false
392392
410derivative = "2.2.0"410derivative = "2.2.0"
411pallet-unique = { path = '../../pallets/unique', default-features = false }411pallet-unique = { path = '../../pallets/unique', default-features = false }
412up-rpc = { path = "../../primitives/rpc", default-features = false }412up-rpc = { path = "../../primitives/rpc", default-features = false }
413fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }413fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
414pallet-inflation = { path = '../../pallets/inflation', default-features = false }414pallet-inflation = { path = '../../pallets/inflation', default-features = false }
415up-data-structs = { path = '../../primitives/data-structs', default-features = false }415up-data-structs = { path = '../../primitives/data-structs', default-features = false }
416pallet-common = { default-features = false, path = "../../pallets/common" }416pallet-common = { default-features = false, path = "../../pallets/common" }
422pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }422pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
423pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }423pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
424# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }424# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
425pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }425pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
426pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }426pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
427pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }427pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
428pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }428pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
429pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }429pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
430pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }430pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
431pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }431pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
432pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }432pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
433fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }433fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
434fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }434fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
435435
436################################################################################436################################################################################
437# Build Dependencies437# Build Dependencies
438438
439[build-dependencies.substrate-wasm-builder]439[build-dependencies.substrate-wasm-builder]
440git = "https://github.com/paritytech/substrate"440git = "https://github.com/paritytech/substrate"
441branch = "polkadot-v0.9.22"441branch = "polkadot-v0.9.23"
442442
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,
68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
69 WeightToFee,
69 },70 },
70};71};
71use pallet_unique_scheduler::DispatchCall;72use pallet_unique_scheduler::DispatchCall;
74 CollectionStats, RpcCollection,75 CollectionStats, RpcCollection,
75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},76 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},
76 TokenChild, RmrkCollectionInfo, RmrkInstanceInfo, RmrkResourceInfo, RmrkPropertyInfo,77 TokenChild, RmrkCollectionInfo, RmrkInstanceInfo, RmrkResourceInfo, RmrkPropertyInfo,
77 RmrkBaseInfo, RmrkPartType, RmrkTheme, RmrkThemeName, RmrkThemeProperty, RmrkCollectionId,78 RmrkBaseInfo, RmrkPartType, RmrkTheme, RmrkThemeName, RmrkCollectionId, RmrkNftId,
78 RmrkNftId, RmrkAccountIdOrCollectionNftTuple, RmrkNftChild, RmrkPropertyKey, RmrkResourceTypes,79 RmrkNftChild, RmrkPropertyKey, RmrkResourceId, RmrkBaseId,
79 RmrkBasicResource, RmrkComposableResource, RmrkSlotResource, RmrkResourceId, RmrkBaseId,
80 RmrkFixedPart, RmrkSlotPart, RmrkString,
81};80};
8281
83// use pallet_contracts::weights::WeightInfo;82// use pallet_contracts::weights::WeightInfo;
192 spec_name: create_runtime_str!(RUNTIME_NAME),191 spec_name: create_runtime_str!(RUNTIME_NAME),
193 impl_name: create_runtime_str!(RUNTIME_NAME),192 impl_name: create_runtime_str!(RUNTIME_NAME),
194 authoring_version: 1,193 authoring_version: 1,
195 spec_version: 922080,194 spec_version: 923000,
196 impl_version: 0,195 impl_version: 0,
197 apis: RUNTIME_API_VERSIONS,196 apis: RUNTIME_API_VERSIONS,
198 transaction_version: 1,197 transaction_version: 1,
508507
509 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {508 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
510 smallvec!(WeightToFeeCoefficient {509 smallvec!(WeightToFeeCoefficient {
511 // Targeting 0.1 Unique per NFT transfer
512 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),510 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),
513 coeff_frac: Perbill::zero(),511 coeff_frac: Perbill::zero(),
514 negative: false,512 negative: false,
737 }735 }
738736
739 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {737 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {
740 let amount = WeightToFee::calc(&weight);738 let amount = WeightToFee::weight_to_fee(&weight);
741 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;739 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;
742740
743 // location to this parachain through relay chain741 // location to this parachain through relay chain
769767
770 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {768 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {
771 let weight = weight.min(self.0);769 let weight = weight.min(self.0);
772 let amount = WeightToFee::calc(&weight);770 let amount = WeightToFee::weight_to_fee(&weight);
773 self.0 -= weight;771 self.0 -= weight;
774 self.1 = self.1.saturating_sub(amount);772 self.1 = self.1.saturating_sub(amount);
775 let amount: u128 = amount.saturated_into();773 let amount: u128 = amount.saturated_into();
807 type Barrier = Barrier;805 type Barrier = Barrier;
808 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;806 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
809 type Trader = UsingOnlySelfCurrencyComponents<807 type Trader =
810 IdentityFee<Balance>,808 UsingOnlySelfCurrencyComponents<LinearFee<Balance>, RelayLocation, AccountId, Balances, ()>;
811 RelayLocation,
812 AccountId,
813 Balances,
814 (),
815 >;
816 type ResponseHandler = (); // Don't handle responses for now.809 type ResponseHandler = (); // Don't handle responses for now.
817 type SubscriptionService = PolkadotXcm;810 type SubscriptionService = PolkadotXcm;
884}877}
885878
886parameter_types! {879parameter_types! {
887 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();880 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
888 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;881 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
889}882}
890883
923}916}
924917
925impl pallet_proxy_rmrk_equip::Config for Runtime {918impl pallet_proxy_rmrk_equip::Config for Runtime {
919 type WeightInfo = pallet_proxy_rmrk_equip::weights::SubstrateWeight<Self>;
926 type Event = Event;920 type Event = Event;
927}921}
928922
1330 RmrkTheme1324 RmrkTheme
1331 > for Runtime {1325 > for Runtime {
1332 fn last_collection_idx() -> Result<RmrkCollectionId, DispatchError> {1326 fn last_collection_idx() -> Result<RmrkCollectionId, DispatchError> {
1333 Ok(RmrkCore::last_collection_idx())1327 pallet_proxy_rmrk_core::rpc::last_collection_idx::<Runtime>()
1334 }1328 }
13351329
1336 fn collection_by_id(collection_id: RmrkCollectionId) -> Result<Option<RmrkCollectionInfo<AccountId>>, DispatchError> {1330 fn collection_by_id(collection_id: RmrkCollectionId) -> Result<Option<RmrkCollectionInfo<AccountId>>, DispatchError> {
1337 use pallet_proxy_rmrk_core::{RmrkProperty, misc::CollectionType};1331 pallet_proxy_rmrk_core::rpc::collection_by_id::<Runtime>(collection_id)
1338 use pallet_common::CommonCollectionOperations;
1339
1340 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(collection_id, CollectionType::Regular) {
1341 Ok(c) => c,
1342 Err(_) => return Ok(None),
1343 };
1344
1345 let nfts_count = collection.total_supply();
1346
1347 Ok(Some(RmrkCollectionInfo {
1348 issuer: collection.owner.clone(),
1349 metadata: RmrkCore::get_collection_property_decoded(collection_id, RmrkProperty::Metadata)?,
1350 max: collection.limits.token_limit,
1351 symbol: RmrkCore::rebind(&collection.token_prefix)?,
1352 nfts_count
1353 }))
1354 }1332 }
13551333
1356 fn nft_by_id(collection_id: RmrkCollectionId, nft_by_id: RmrkNftId) -> Result<Option<RmrkInstanceInfo<AccountId>>, DispatchError> {1334 fn nft_by_id(collection_id: RmrkCollectionId, nft_by_id: RmrkNftId) -> Result<Option<RmrkInstanceInfo<AccountId>>, DispatchError> {
1357 use up_data_structs::mapping::TokenAddressMapping;
1358 use pallet_proxy_rmrk_core::{RmrkProperty, misc::CollectionType};1335 pallet_proxy_rmrk_core::rpc::nft_by_id::<Runtime>(collection_id, nft_by_id)
1359 use pallet_common::CommonCollectionOperations;
1360
1361 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(collection_id, CollectionType::Regular) {
1362 Ok(c) => c,
1363 Err(_) => return Ok(None),
1364 };
1365
1366 let nft_id = TokenId(nft_by_id);
1367 if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(None); }
1368
1369 let owner = match collection.token_owner(nft_id) {
1370 Some(owner) => match <Runtime as pallet_common::Config>::CrossTokenAddressMapping::address_to_token(&owner) {
1371 Some((col, tok)) => {
1372 let rmrk_collection = RmrkCore::rmrk_collection_id(col)?;
1373
1374 RmrkAccountIdOrCollectionNftTuple::CollectionAndNftTuple(rmrk_collection, tok.0)
1375 }
1376 None => RmrkAccountIdOrCollectionNftTuple::AccountId(owner.as_sub().clone())
1377 },
1378 None => return Ok(None)
1379 };
1380
1381 Ok(Some(RmrkInstanceInfo {
1382 owner: owner,
1383 royalty: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::RoyaltyInfo)?,
1384 metadata: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::Metadata)?,
1385 equipped: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::Equipped)?,
1386 pending: RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::PendingNftAccept)?,
1387 }))
1388 }1336 }
13891337
1390 fn account_tokens(account_id: AccountId, collection_id: RmrkCollectionId) -> Result<Vec<RmrkNftId>, DispatchError> {1338 fn account_tokens(account_id: AccountId, collection_id: RmrkCollectionId) -> Result<Vec<RmrkNftId>, DispatchError> {
1391 use pallet_proxy_rmrk_core::{RmrkProperty, misc::CollectionType};1339 pallet_proxy_rmrk_core::rpc::account_tokens::<Runtime>(account_id, collection_id)
1392 use pallet_common::CommonCollectionOperations;
1393
1394 let cross_account_id = CrossAccountId::from_sub(account_id);
1395
1396 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(collection_id, CollectionType::Regular) {
1397 Ok(c) => c,
1398 Err(_) => return Ok(Vec::new()),
1399 };
1400
1401 let tokens = collection.account_tokens(cross_account_id)
1402 .into_iter()
1403 .filter(|token| {
1404 let is_pending = RmrkCore::get_nft_property_decoded(
1405 collection_id,
1406 *token,
1407 RmrkProperty::PendingNftAccept
1408 ).unwrap_or(true);
1409
1410 !is_pending
1411 })
1412 .map(|token| token.0)
1413 .collect();
1414
1415 Ok(tokens)
1416 }1340 }
14171341
1418 fn nft_children(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkNftChild>, DispatchError> {1342 fn nft_children(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkNftChild>, DispatchError> {
1419 use pallet_proxy_rmrk_core::RmrkProperty;1343 pallet_proxy_rmrk_core::rpc::nft_children::<Runtime>(collection_id, nft_id)
1420
1421 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1422 Ok(id) => id,
1423 Err(_) => return Ok(Vec::new())
1424 };
1425 let nft_id = TokenId(nft_id);
1426 if !RmrkCore::nft_exists(collection_id, nft_id) { return Ok(Vec::new()); }
1427
1428 Ok(
1429 pallet_nonfungible::TokenChildren::<Runtime>::iter_prefix((collection_id, nft_id))
1430 .filter_map(|((child_collection, child_token), _)| {
1431 let is_pending = RmrkCore::get_nft_property_decoded(
1432 child_collection,
1433 child_token,
1434 RmrkProperty::PendingNftAccept
1435 ).ok()?;
1436
1437 if is_pending {
1438 return None;
1439 }
1440
1441 let rmrk_child_collection = RmrkCore::rmrk_collection_id(
1442 child_collection
1443 ).ok()?;
1444
1445 Some(RmrkNftChild {
1446 collection_id: rmrk_child_collection,
1447 nft_id: child_token.0,
1448 })
1449 }).collect()
1450 )
1451 }1344 }
14521345
1453 fn collection_properties(collection_id: RmrkCollectionId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {1346 fn collection_properties(collection_id: RmrkCollectionId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {
1454 use pallet_proxy_rmrk_core::misc::CollectionType;1347 pallet_proxy_rmrk_core::rpc::collection_properties::<Runtime>(collection_id, filter_keys)
1455
1456 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1457 Ok(id) => id,
1458 Err(_) => return Ok(Vec::new())
1459 };
1460 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() {
1461 return Ok(Vec::new());
1462 }
1463
1464 let properties = RmrkCore::filter_user_properties(
1465 collection_id,
1466 /* token_id = */ None,
1467 filter_keys,
1468 |key, value| RmrkPropertyInfo {
1469 key,
1470 value
1471 }
1472 )?;
1473
1474 Ok(properties)
1475 }1348 }
14761349
1477 fn nft_properties(collection_id: RmrkCollectionId, nft_id: RmrkNftId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {1350 fn nft_properties(collection_id: RmrkCollectionId, nft_id: RmrkNftId, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Vec<RmrkPropertyInfo>, DispatchError> {
1478 use pallet_proxy_rmrk_core::misc::NftType;1351 pallet_proxy_rmrk_core::rpc::nft_properties::<Runtime>(collection_id, nft_id, filter_keys)
1479
1480 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1481 Ok(id) => id,
1482 Err(_) => return Ok(Vec::new())
1483 };
1484 let token_id = TokenId(nft_id);
1485
1486 if RmrkCore::ensure_nft_type(collection_id, token_id, NftType::Regular).is_err() {
1487 return Ok(Vec::new());
1488 }
1489
1490 let properties = RmrkCore::filter_user_properties(
1491 collection_id,
1492 Some(token_id),
1493 filter_keys,
1494 |key, value| RmrkPropertyInfo {
1495 key,
1496 value
1497 }
1498 )?;
1499
1500 Ok(properties)
1501 }1352 }
15021353
1503 fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {1354 fn nft_resources(collection_id: RmrkCollectionId, nft_id: RmrkNftId) -> Result<Vec<RmrkResourceInfo>, DispatchError> {
1504 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType, ResourceType}};1355 pallet_proxy_rmrk_core::rpc::nft_resources::<Runtime>(collection_id, nft_id)
1505 use pallet_common::CommonCollectionOperations;
1506
1507 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1508 Ok(id) => id,
1509 Err(_) => return Ok(Vec::new())
1510 };
1511 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(Vec::new()); }
1512
1513 let nft_id = TokenId(nft_id);
1514 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(Vec::new()); }
1515
1516 let res_collection_id: Option<CollectionId> = RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::ResourceCollection)?;
1517
1518 let res_collection_id = match res_collection_id {
1519 Some(id) => id,
1520 None => return Ok(Vec::new())
1521 };
1522
1523 let resource_collection = RmrkCore::get_typed_nft_collection(res_collection_id, CollectionType::Resource)?;
1524
1525 let resources = resource_collection
1526 .collection_tokens()
1527 .iter()
1528 .filter_map(|res_id| Some(RmrkResourceInfo {
1529 id: res_id.0,
1530 pending: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::PendingResourceAccept).ok()?,
1531 pending_removal: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::PendingResourceRemoval).ok()?,
1532 resource: match RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::ResourceType).ok()? {
1533 ResourceType::Basic => RmrkResourceTypes::Basic(RmrkBasicResource {
1534 src: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Src).ok()?,
1535 metadata: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Metadata).ok()?,
1536 license: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::License).ok()?,
1537 thumb: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Thumb).ok()?,
1538 }),
1539 ResourceType::Composable => RmrkResourceTypes::Composable(RmrkComposableResource {
1540 parts: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Parts).ok()?,
1541 base: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Base).ok()?,
1542 src: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Src).ok()?,
1543 metadata: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Metadata).ok()?,
1544 license: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::License).ok()?,
1545 thumb: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Thumb).ok()?,
1546 }),
1547 ResourceType::Slot => RmrkResourceTypes::Slot(RmrkSlotResource {
1548 base: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Base).ok()?,
1549 src: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Src).ok()?,
1550 metadata: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Metadata).ok()?,
1551 slot: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Slot).ok()?,
1552 license: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::License).ok()?,
1553 thumb: RmrkCore::get_nft_property_decoded(res_collection_id, *res_id, RmrkProperty::Thumb).ok()?,
1554 }),
1555 },
1556 }))
1557 .collect();
1558
1559 Ok(resources)
1560 }1356 }
15611357
1562 fn nft_resource_priority(collection_id: RmrkCollectionId, nft_id: RmrkNftId, resource_id: RmrkResourceId) -> Result<Option<u32>, DispatchError> {1358 fn nft_resource_priority(collection_id: RmrkCollectionId, nft_id: RmrkNftId, resource_id: RmrkResourceId) -> Result<Option<u32>, DispatchError> {
1563 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType}};1359 pallet_proxy_rmrk_core::rpc::nft_resource_priority::<Runtime>(collection_id, nft_id, resource_id)
1564
1565 let collection_id = match RmrkCore::unique_collection_id(collection_id) {
1566 Ok(id) => id,
1567 Err(_) => return Ok(None)
1568 };
1569 if RmrkCore::ensure_collection_type(collection_id, CollectionType::Regular).is_err() { return Ok(None); }
1570
1571 let nft_id = TokenId(nft_id);
1572 if RmrkCore::ensure_nft_type(collection_id, nft_id, NftType::Regular).is_err() { return Ok(None); }
1573
1574 let priorities: Vec<_> = RmrkCore::get_nft_property_decoded(collection_id, nft_id, RmrkProperty::ResourcePriorities)?;
1575 Ok(
1576 priorities.into_iter()
1577 .enumerate()
1578 .find(|(_, id)| *id == resource_id)
1579 .map(|(priority, _): (usize, RmrkResourceId)| priority as u32)
1580 )
1581 }1360 }
15821361
1583 fn base(base_id: RmrkBaseId) -> Result<Option<RmrkBaseInfo<AccountId>>, DispatchError> {1362 fn base(base_id: RmrkBaseId) -> Result<Option<RmrkBaseInfo<AccountId>>, DispatchError> {
1584 use pallet_proxy_rmrk_core::{1363 pallet_proxy_rmrk_equip::rpc::base::<Runtime>(base_id)
1585 RmrkProperty, misc::{CollectionType},
1586 };
1587
1588 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1589 Ok(c) => c,
1590 Err(_) => return Ok(None),
1591 };
1592
1593 Ok(Some(RmrkBaseInfo {
1594 issuer: collection.owner.clone(),
1595 base_type: RmrkCore::get_collection_property_decoded(collection_id, RmrkProperty::BaseType)?,
1596 symbol: RmrkCore::rebind(&collection.token_prefix)?,
1597 }))
1598 }1364 }
15991365
1600 fn base_parts(base_id: RmrkBaseId) -> Result<Vec<RmrkPartType>, DispatchError> {1366 fn base_parts(base_id: RmrkBaseId) -> Result<Vec<RmrkPartType>, DispatchError> {
1601 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{CollectionType, NftType}};1367 pallet_proxy_rmrk_equip::rpc::base_parts::<Runtime>(base_id)
1602 use pallet_common::CommonCollectionOperations;
1603
1604 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1605 Ok(c) => c,
1606 Err(_) => return Ok(Vec::new()),
1607 };
1608
1609 let parts = collection.collection_tokens()
1610 .into_iter()
1611 .filter_map(|token_id| {
1612 let nft_type = RmrkCore::get_nft_type(collection_id, token_id).ok()?;
1613
1614 match nft_type {
1615 NftType::FixedPart => Some(RmrkPartType::FixedPart(RmrkFixedPart {
1616 id: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ExternalPartId).ok()?,
1617 src: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::Src).ok()?,
1618 z: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ZIndex).ok()?,
1619 })),
1620 NftType::SlotPart => Some(RmrkPartType::SlotPart(RmrkSlotPart {
1621 id: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ExternalPartId).ok()?,
1622 src: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::Src).ok()?,
1623 z: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::ZIndex).ok()?,
1624 equippable: RmrkCore::get_nft_property_decoded(collection_id, token_id, RmrkProperty::EquippableList).ok()?,
1625 })),
1626 _ => None
1627 }
1628 })
1629 .collect();
1630
1631 Ok(parts)
1632 }1368 }
16331369
1634 fn theme_names(base_id: RmrkBaseId) -> Result<Vec<RmrkThemeName>, DispatchError> {1370 fn theme_names(base_id: RmrkBaseId) -> Result<Vec<RmrkThemeName>, DispatchError> {
1635 use pallet_proxy_rmrk_core::{RmrkProperty, misc::{NftType, CollectionType}};1371 pallet_proxy_rmrk_equip::rpc::theme_names::<Runtime>(base_id)
1636 use pallet_common::CommonCollectionOperations;
1637
1638 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1639 Ok(c) => c,
1640 Err(_) => return Ok(Vec::new()),
1641 };
1642
1643 let theme_names = collection.collection_tokens()
1644 .iter()
1645 .filter_map(|token_id| {
1646 let nft_type = RmrkCore::get_nft_type(collection_id, *token_id).ok()?;
1647
1648 match nft_type {
1649 NftType::Theme => RmrkCore::get_nft_property_decoded(collection_id, *token_id, RmrkProperty::ThemeName).ok(),
1650 _ => None
1651 }
1652 })
1653 .collect();
1654
1655 Ok(theme_names)
1656 }1372 }
16571373
1658 fn theme(base_id: RmrkBaseId, theme_name: RmrkThemeName, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Option<RmrkTheme>, DispatchError> {1374 fn theme(base_id: RmrkBaseId, theme_name: RmrkThemeName, filter_keys: Option<Vec<RmrkPropertyKey>>) -> Result<Option<RmrkTheme>, DispatchError> {
1659 use pallet_proxy_rmrk_core::{1375 pallet_proxy_rmrk_equip::rpc::theme::<Runtime>(base_id, theme_name, filter_keys)
1660 RmrkProperty,
1661 misc::{CollectionType, NftType}
1662 };
1663 use pallet_common::CommonCollectionOperations;
1664
1665 let (collection, collection_id) = match RmrkCore::get_typed_nft_collection_mapped(base_id, CollectionType::Base) {
1666 Ok(c) => c,
1667 Err(_) => return Ok(None),
1668 };
1669
1670 let theme_info = collection.collection_tokens()
1671 .into_iter()
1672 .find_map(|token_id| {
1673 RmrkCore::ensure_nft_type(collection_id, token_id, NftType::Theme).ok()?;
1674
1675 let name: RmrkString = RmrkCore::get_nft_property_decoded(
1676 collection_id, token_id, RmrkProperty::ThemeName
1677 ).ok()?;
1678
1679 if name == theme_name {
1680 Some((name, token_id))
1681 } else {
1682 None
1683 }
1684 });
1685
1686 let (name, theme_id) = match theme_info {
1687 Some((name, theme_id)) => (name, theme_id),
1688 None => return Ok(None)
1689 };
1690
1691 let properties = RmrkCore::filter_user_properties(
1692 collection_id,
1693 Some(theme_id),
1694 filter_keys,
1695 |key, value| RmrkThemeProperty {
1696 key,
1697 value
1698 }
1699 )?;
1700
1701 let inherit = RmrkCore::get_nft_property_decoded(
1702 collection_id,
1703 theme_id,
1704 RmrkProperty::ThemeInherit
1705 )?;
1706
1707 let theme = RmrkTheme {
1708 name,
1709 properties,
1710 inherit,
1711 };
1712
1713 Ok(Some(theme))
1714 }1376 }
1715 }1377 }
1716}1378}
modifiedruntime/tests/Cargo.tomldiffbeforeafterboth
7unique-runtime-common = { path = '../common' }7unique-runtime-common = { path = '../common' }
8up-data-structs = { default-features = false, path = '../../primitives/data-structs' }8up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
99
10sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }10sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
11sp-std = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }11sp-std = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
12sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }12sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
13sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }13sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
1414
15fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }15fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
1616
17frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }17frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
18frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }18frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
1919
20pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }20pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
21pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }21pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
22pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }22pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
2323
24pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }24pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
25pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }25pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
2626
27pallet-common = { path = '../../pallets/common' }27pallet-common = { path = '../../pallets/common' }
28pallet-structure = { path = '../../pallets/structure' }28pallet-structure = { path = '../../pallets/structure' }
3333
34pallet-evm-coder-substrate = { path = '../../pallets/evm-coder-substrate' }34pallet-evm-coder-substrate = { path = '../../pallets/evm-coder-substrate' }
3535
36parity-scale-codec = "*"36parity-scale-codec = { version = "3.1.2", default-features = false, features = [
37 "derive",
38] }
37scale-info = "*"39scale-info = "*"
3840
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
10license = 'GPLv3'10license = 'GPLv3'
11name = 'unique-runtime'11name = 'unique-runtime'
12repository = 'https://github.com/UniqueNetwork/unique-chain'12repository = 'https://github.com/UniqueNetwork/unique-chain'
13version = '0.9.22'13version = '0.9.23'
1414
15[package.metadata.docs.rs]15[package.metadata.docs.rs]
16targets = ['x86_64-unknown-linux-gnu']16targets = ['x86_64-unknown-linux-gnu']
1717
18[features]18[features]
19default = ['std']19default = ['std', 'unique-runtime']
20runtime-benchmarks = [20runtime-benchmarks = [
21 'hex-literal',21 'hex-literal',
22 'frame-benchmarking',22 'frame-benchmarking',
119 "orml-vesting/std",119 "orml-vesting/std",
120]120]
121limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']121limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
122unique-runtime = []
122123
123################################################################################124################################################################################
124# Substrate Dependencies125# Substrate Dependencies
133default-features = false134default-features = false
134git = "https://github.com/paritytech/substrate"135git = "https://github.com/paritytech/substrate"
135optional = true136optional = true
136branch = "polkadot-v0.9.22"137branch = "polkadot-v0.9.23"
137138
138[dependencies.frame-try-runtime]139[dependencies.frame-try-runtime]
139default-features = false140default-features = false
140git = 'https://github.com/paritytech/substrate'141git = 'https://github.com/paritytech/substrate'
141optional = true142optional = true
142branch = 'polkadot-v0.9.22'143branch = 'polkadot-v0.9.23'
143144
144[dependencies.frame-executive]145[dependencies.frame-executive]
145default-features = false146default-features = false
146git = "https://github.com/paritytech/substrate"147git = "https://github.com/paritytech/substrate"
147branch = "polkadot-v0.9.22"148branch = "polkadot-v0.9.23"
148149
149[dependencies.frame-support]150[dependencies.frame-support]
150default-features = false151default-features = false
151git = "https://github.com/paritytech/substrate"152git = "https://github.com/paritytech/substrate"
152branch = "polkadot-v0.9.22"153branch = "polkadot-v0.9.23"
153154
154[dependencies.frame-system]155[dependencies.frame-system]
155default-features = false156default-features = false
156git = "https://github.com/paritytech/substrate"157git = "https://github.com/paritytech/substrate"
157branch = "polkadot-v0.9.22"158branch = "polkadot-v0.9.23"
158159
159[dependencies.frame-system-benchmarking]160[dependencies.frame-system-benchmarking]
160default-features = false161default-features = false
161git = "https://github.com/paritytech/substrate"162git = "https://github.com/paritytech/substrate"
162optional = true163optional = true
163branch = "polkadot-v0.9.22"164branch = "polkadot-v0.9.23"
164165
165[dependencies.frame-system-rpc-runtime-api]166[dependencies.frame-system-rpc-runtime-api]
166default-features = false167default-features = false
167git = "https://github.com/paritytech/substrate"168git = "https://github.com/paritytech/substrate"
168branch = "polkadot-v0.9.22"169branch = "polkadot-v0.9.23"
169170
170[dependencies.hex-literal]171[dependencies.hex-literal]
171optional = true172optional = true
180[dependencies.pallet-aura]181[dependencies.pallet-aura]
181default-features = false182default-features = false
182git = "https://github.com/paritytech/substrate"183git = "https://github.com/paritytech/substrate"
183branch = "polkadot-v0.9.22"184branch = "polkadot-v0.9.23"
184185
185[dependencies.pallet-balances]186[dependencies.pallet-balances]
186default-features = false187default-features = false
187git = "https://github.com/paritytech/substrate"188git = "https://github.com/paritytech/substrate"
188branch = "polkadot-v0.9.22"189branch = "polkadot-v0.9.23"
189190
190# Contracts specific packages191# Contracts specific packages
191# [dependencies.pallet-contracts]192# [dependencies.pallet-contracts]
209[dependencies.pallet-randomness-collective-flip]210[dependencies.pallet-randomness-collective-flip]
210default-features = false211default-features = false
211git = "https://github.com/paritytech/substrate"212git = "https://github.com/paritytech/substrate"
212branch = "polkadot-v0.9.22"213branch = "polkadot-v0.9.23"
213214
214[dependencies.pallet-sudo]215[dependencies.pallet-sudo]
215default-features = false216default-features = false
216git = "https://github.com/paritytech/substrate"217git = "https://github.com/paritytech/substrate"
217branch = "polkadot-v0.9.22"218branch = "polkadot-v0.9.23"
218219
219[dependencies.pallet-timestamp]220[dependencies.pallet-timestamp]
220default-features = false221default-features = false
221git = "https://github.com/paritytech/substrate"222git = "https://github.com/paritytech/substrate"
222branch = "polkadot-v0.9.22"223branch = "polkadot-v0.9.23"
223224
224[dependencies.pallet-transaction-payment]225[dependencies.pallet-transaction-payment]
225default-features = false226default-features = false
226git = "https://github.com/paritytech/substrate"227git = "https://github.com/paritytech/substrate"
227branch = "polkadot-v0.9.22"228branch = "polkadot-v0.9.23"
228229
229[dependencies.pallet-transaction-payment-rpc-runtime-api]230[dependencies.pallet-transaction-payment-rpc-runtime-api]
230default-features = false231default-features = false
231git = "https://github.com/paritytech/substrate"232git = "https://github.com/paritytech/substrate"
232branch = "polkadot-v0.9.22"233branch = "polkadot-v0.9.23"
233234
234[dependencies.pallet-treasury]235[dependencies.pallet-treasury]
235default-features = false236default-features = false
236git = "https://github.com/paritytech/substrate"237git = "https://github.com/paritytech/substrate"
237branch = "polkadot-v0.9.22"238branch = "polkadot-v0.9.23"
238239
239# [dependencies.pallet-vesting]240# [dependencies.pallet-vesting]
240# default-features = false241# default-features = false
244[dependencies.sp-arithmetic]245[dependencies.sp-arithmetic]
245default-features = false246default-features = false
246git = "https://github.com/paritytech/substrate"247git = "https://github.com/paritytech/substrate"
247branch = "polkadot-v0.9.22"248branch = "polkadot-v0.9.23"
248249
249[dependencies.sp-api]250[dependencies.sp-api]
250default-features = false251default-features = false
251git = "https://github.com/paritytech/substrate"252git = "https://github.com/paritytech/substrate"
252branch = "polkadot-v0.9.22"253branch = "polkadot-v0.9.23"
253254
254[dependencies.sp-block-builder]255[dependencies.sp-block-builder]
255default-features = false256default-features = false
256git = "https://github.com/paritytech/substrate"257git = "https://github.com/paritytech/substrate"
257branch = "polkadot-v0.9.22"258branch = "polkadot-v0.9.23"
258259
259[dependencies.sp-core]260[dependencies.sp-core]
260default-features = false261default-features = false
261git = "https://github.com/paritytech/substrate"262git = "https://github.com/paritytech/substrate"
262branch = "polkadot-v0.9.22"263branch = "polkadot-v0.9.23"
263264
264[dependencies.sp-consensus-aura]265[dependencies.sp-consensus-aura]
265default-features = false266default-features = false
266git = "https://github.com/paritytech/substrate"267git = "https://github.com/paritytech/substrate"
267branch = "polkadot-v0.9.22"268branch = "polkadot-v0.9.23"
268269
269[dependencies.sp-inherents]270[dependencies.sp-inherents]
270default-features = false271default-features = false
271git = "https://github.com/paritytech/substrate"272git = "https://github.com/paritytech/substrate"
272branch = "polkadot-v0.9.22"273branch = "polkadot-v0.9.23"
273274
274[dependencies.sp-io]275[dependencies.sp-io]
275default-features = false276default-features = false
276git = "https://github.com/paritytech/substrate"277git = "https://github.com/paritytech/substrate"
277branch = "polkadot-v0.9.22"278branch = "polkadot-v0.9.23"
278279
279[dependencies.sp-offchain]280[dependencies.sp-offchain]
280default-features = false281default-features = false
281git = "https://github.com/paritytech/substrate"282git = "https://github.com/paritytech/substrate"
282branch = "polkadot-v0.9.22"283branch = "polkadot-v0.9.23"
283284
284[dependencies.sp-runtime]285[dependencies.sp-runtime]
285default-features = false286default-features = false
286git = "https://github.com/paritytech/substrate"287git = "https://github.com/paritytech/substrate"
287branch = "polkadot-v0.9.22"288branch = "polkadot-v0.9.23"
288289
289[dependencies.sp-session]290[dependencies.sp-session]
290default-features = false291default-features = false
291git = "https://github.com/paritytech/substrate"292git = "https://github.com/paritytech/substrate"
292branch = "polkadot-v0.9.22"293branch = "polkadot-v0.9.23"
293294
294[dependencies.sp-std]295[dependencies.sp-std]
295default-features = false296default-features = false
296git = "https://github.com/paritytech/substrate"297git = "https://github.com/paritytech/substrate"
297branch = "polkadot-v0.9.22"298branch = "polkadot-v0.9.23"
298299
299[dependencies.sp-transaction-pool]300[dependencies.sp-transaction-pool]
300default-features = false301default-features = false
301git = "https://github.com/paritytech/substrate"302git = "https://github.com/paritytech/substrate"
302branch = "polkadot-v0.9.22"303branch = "polkadot-v0.9.23"
303304
304[dependencies.sp-version]305[dependencies.sp-version]
305default-features = false306default-features = false
306git = "https://github.com/paritytech/substrate"307git = "https://github.com/paritytech/substrate"
307branch = "polkadot-v0.9.22"308branch = "polkadot-v0.9.23"
308309
309[dependencies.smallvec]310[dependencies.smallvec]
310version = '1.6.1'311version = '1.6.1'
315[dependencies.parachain-info]316[dependencies.parachain-info]
316default-features = false317default-features = false
317git = "https://github.com/paritytech/cumulus"318git = "https://github.com/paritytech/cumulus"
318branch = "polkadot-v0.9.22"319branch = "polkadot-v0.9.23"
319320
320[dependencies.cumulus-pallet-aura-ext]321[dependencies.cumulus-pallet-aura-ext]
321git = "https://github.com/paritytech/cumulus"322git = "https://github.com/paritytech/cumulus"
322branch = "polkadot-v0.9.22"323branch = "polkadot-v0.9.23"
323default-features = false324default-features = false
324325
325[dependencies.cumulus-pallet-parachain-system]326[dependencies.cumulus-pallet-parachain-system]
326git = "https://github.com/paritytech/cumulus"327git = "https://github.com/paritytech/cumulus"
327branch = "polkadot-v0.9.22"328branch = "polkadot-v0.9.23"
328default-features = false329default-features = false
329330
330[dependencies.cumulus-primitives-core]331[dependencies.cumulus-primitives-core]
331git = "https://github.com/paritytech/cumulus"332git = "https://github.com/paritytech/cumulus"
332branch = "polkadot-v0.9.22"333branch = "polkadot-v0.9.23"
333default-features = false334default-features = false
334335
335[dependencies.cumulus-pallet-xcm]336[dependencies.cumulus-pallet-xcm]
336git = "https://github.com/paritytech/cumulus"337git = "https://github.com/paritytech/cumulus"
337branch = "polkadot-v0.9.22"338branch = "polkadot-v0.9.23"
338default-features = false339default-features = false
339340
340[dependencies.cumulus-pallet-dmp-queue]341[dependencies.cumulus-pallet-dmp-queue]
341git = "https://github.com/paritytech/cumulus"342git = "https://github.com/paritytech/cumulus"
342branch = "polkadot-v0.9.22"343branch = "polkadot-v0.9.23"
343default-features = false344default-features = false
344345
345[dependencies.cumulus-pallet-xcmp-queue]346[dependencies.cumulus-pallet-xcmp-queue]
346git = "https://github.com/paritytech/cumulus"347git = "https://github.com/paritytech/cumulus"
347branch = "polkadot-v0.9.22"348branch = "polkadot-v0.9.23"
348default-features = false349default-features = false
349350
350[dependencies.cumulus-primitives-utility]351[dependencies.cumulus-primitives-utility]
351git = "https://github.com/paritytech/cumulus"352git = "https://github.com/paritytech/cumulus"
352branch = "polkadot-v0.9.22"353branch = "polkadot-v0.9.23"
353default-features = false354default-features = false
354355
355[dependencies.cumulus-primitives-timestamp]356[dependencies.cumulus-primitives-timestamp]
356git = "https://github.com/paritytech/cumulus"357git = "https://github.com/paritytech/cumulus"
357branch = "polkadot-v0.9.22"358branch = "polkadot-v0.9.23"
358default-features = false359default-features = false
359360
360################################################################################361################################################################################
361# Polkadot dependencies362# Polkadot dependencies
362363
363[dependencies.polkadot-parachain]364[dependencies.polkadot-parachain]
364git = "https://github.com/paritytech/polkadot"365git = "https://github.com/paritytech/polkadot"
365branch = "release-v0.9.22"366branch = "release-v0.9.23"
366default-features = false367default-features = false
367368
368[dependencies.xcm]369[dependencies.xcm]
369git = "https://github.com/paritytech/polkadot"370git = "https://github.com/paritytech/polkadot"
370branch = "release-v0.9.22"371branch = "release-v0.9.23"
371default-features = false372default-features = false
372373
373[dependencies.xcm-builder]374[dependencies.xcm-builder]
374git = "https://github.com/paritytech/polkadot"375git = "https://github.com/paritytech/polkadot"
375branch = "release-v0.9.22"376branch = "release-v0.9.23"
376default-features = false377default-features = false
377378
378[dependencies.xcm-executor]379[dependencies.xcm-executor]
379git = "https://github.com/paritytech/polkadot"380git = "https://github.com/paritytech/polkadot"
380branch = "release-v0.9.22"381branch = "release-v0.9.23"
381default-features = false382default-features = false
382383
383[dependencies.pallet-xcm]384[dependencies.pallet-xcm]
384git = "https://github.com/paritytech/polkadot"385git = "https://github.com/paritytech/polkadot"
385branch = "release-v0.9.22"386branch = "release-v0.9.23"
386default-features = false387default-features = false
387388
388[dependencies.orml-vesting]389[dependencies.orml-vesting]
389git = "https://github.com/uniquenetwork/open-runtime-module-library"390git = "https://github.com/uniquenetwork/open-runtime-module-library"
390branch = "unique-polkadot-v0.9.22"391branch = "unique-polkadot-v0.9.23"
391version = "0.4.1-dev"392version = "0.4.1-dev"
392default-features = false393default-features = false
393394
415pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }416pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
416pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }417pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
417# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }418# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
418pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }419pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
419pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }420pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
420pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }421pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
421pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }422pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
422pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }423pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
423pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }424pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
424pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }425pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
425pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }426pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
426fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }427fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
427fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }428fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
428fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }429fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
429430
430################################################################################431################################################################################
431# Build Dependencies432# Build Dependencies
432433
433[build-dependencies.substrate-wasm-builder]434[build-dependencies.substrate-wasm-builder]
434git = "https://github.com/paritytech/substrate"435git = "https://github.com/paritytech/substrate"
435branch = "polkadot-v0.9.22"436branch = "polkadot-v0.9.23"
436437
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,
68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
69 WeightToFee,
69 },70 },
70};71};
71use pallet_unique_scheduler::DispatchCall;72use pallet_unique_scheduler::DispatchCall;
190 spec_name: create_runtime_str!(RUNTIME_NAME),190 spec_name: create_runtime_str!(RUNTIME_NAME),
191 impl_name: create_runtime_str!(RUNTIME_NAME),191 impl_name: create_runtime_str!(RUNTIME_NAME),
192 authoring_version: 1,192 authoring_version: 1,
193 spec_version: 922080,193 spec_version: 923000,
194 impl_version: 0,194 impl_version: 0,
195 apis: RUNTIME_API_VERSIONS,195 apis: RUNTIME_API_VERSIONS,
196 transaction_version: 1,196 transaction_version: 1,
506506
507 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {507 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
508 smallvec!(WeightToFeeCoefficient {508 smallvec!(WeightToFeeCoefficient {
509 // Targeting 0.1 Unique per NFT transfer
510 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),509 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),
511 coeff_frac: Perbill::zero(),510 coeff_frac: Perbill::zero(),
512 negative: false,511 negative: false,
735 }734 }
736735
737 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {736 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {
738 let amount = WeightToFee::calc(&weight);737 let amount = WeightToFee::weight_to_fee(&weight);
739 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;738 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;
740739
741 // location to this parachain through relay chain740 // location to this parachain through relay chain
767766
768 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {767 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {
769 let weight = weight.min(self.0);768 let weight = weight.min(self.0);
770 let amount = WeightToFee::calc(&weight);769 let amount = WeightToFee::weight_to_fee(&weight);
771 self.0 -= weight;770 self.0 -= weight;
772 self.1 = self.1.saturating_sub(amount);771 self.1 = self.1.saturating_sub(amount);
773 let amount: u128 = amount.saturated_into();772 let amount: u128 = amount.saturated_into();
805 type Barrier = Barrier;804 type Barrier = Barrier;
806 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;805 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
807 type Trader = UsingOnlySelfCurrencyComponents<806 type Trader =
808 IdentityFee<Balance>,807 UsingOnlySelfCurrencyComponents<LinearFee<Balance>, RelayLocation, AccountId, Balances, ()>;
809 RelayLocation,
810 AccountId,
811 Balances,
812 (),
813 >;
814 type ResponseHandler = (); // Don't handle responses for now.808 type ResponseHandler = (); // Don't handle responses for now.
815 type SubscriptionService = PolkadotXcm;809 type SubscriptionService = PolkadotXcm;
882}876}
883877
884parameter_types! {878parameter_types! {
885 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();879 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
886 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;880 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
887}881}
888882
modifiedtests/README.mddiffbeforeafterboth
51. Checkout polkadot in sibling folder with this project51. Checkout polkadot in sibling folder with this project
6```bash6```bash
7git clone https://github.com/paritytech/polkadot.git && cd polkadot7git clone https://github.com/paritytech/polkadot.git && cd polkadot
8git checkout release-v0.9.228git checkout release-v0.9.23
9```9```
1010
112. Build with nightly-2021-11-11112. Build with nightly-2021-11-11
modifiedtests/src/createItem.test.tsdiffbeforeafterboth
158158
159 const newCollectionID = await createCollectionWithPropsExpectSuccess();159 const newCollectionID = await createCollectionWithPropsExpectSuccess();
160 160
161 createItemWithPropsExpectFailure(alice, newCollectionID, 'NFT', prps);161 await createItemWithPropsExpectFailure(alice, newCollectionID, 'NFT', prps);
162 });162 });
163 });163 });
164164
165 it('Trying to add bigger property than allowed', async () => {165 it('Trying to add bigger property than allowed', async () => {
166 await usingApi(async () => {166 await usingApi(async () => {
167 const newCollectionID = await createCollectionWithPropsExpectSuccess();167 const newCollectionID = await createCollectionWithPropsExpectSuccess();
168 168
169 createItemWithPropsExpectFailure(alice, newCollectionID, 'NFT', [{key: 'k', value: 'vvvvvv'.repeat(5000)}, {key: 'k2', value: 'vvv'.repeat(5000)}]);169 await createItemWithPropsExpectFailure(alice, newCollectionID, 'NFT', [{key: 'k', value: 'vvvvvv'.repeat(5000)}, {key: 'k2', value: 'vvv'.repeat(5000)}]);
170 });170 });
171 });171 });
172});172});
modifiedtests/src/nesting/unnest.test.tsdiffbeforeafterboth
153153
154 // Create a nested token ouroboros154 // Create a nested token ouroboros
155 const nestedToken = await createItemExpectSuccess(alice, collection, 'NFT', {Ethereum: tokenIdToAddress(collection, targetToken)});155 const nestedToken = await createItemExpectSuccess(alice, collection, 'NFT', {Ethereum: tokenIdToAddress(collection, targetToken)});
156 expect(transferExpectSuccess(collection, targetToken, alice, {Ethereum: tokenIdToAddress(collection, nestedToken)})).to.be.rejectedWith(/^structure\.OuroborosDetected$/);156 await expect(transferExpectSuccess(collection, targetToken, alice, {Ethereum: tokenIdToAddress(collection, nestedToken)})).to.be.rejectedWith(/^structure\.OuroborosDetected$/);
157 });157 });
158});158});
159159
modifiedtests/update_apps.shdiffbeforeafterboth
1#!/usr/bin/env sh1#!/usr/bin/env sh
2
3set -eux
24
3./update_types.sh5./update_types.sh
46
modifiedtests/update_apps_start.shdiffbeforeafterboth
1#!/usr/bin/env sh1#!/usr/bin/env sh
2
3set -eux
24
3./update_apps.sh5./update_apps.sh
46
modifiedtests/update_types.shdiffbeforeafterboth
1#!/usr/bin/env sh1#!/usr/bin/env sh
2
3set -eux
24
3yarn polkadot-types5yarn polkadot-types
46