git.delta.rocks / unique-network / refs/commits / e6a56879932c

difftreelog

Merge branch 'develop' into fix/tests-bad-dependencies

Igor Kozyrev2022-03-29parents: #395a356 #3eee5dc.patch.diff
in: master

214 files changed

modified.envdiffbeforeafterboth
1RUST_TOOLCHAIN=nightly-2021-11-111RUST_TOOLCHAIN=nightly-2021-11-11
2RUST_C=1.58.0-nightly2RUST_C=1.58.0-nightly
3POLKA_VERSION=release-v0.9.163POLKA_VERSION=release-v0.9.17
4UNIQUE_BRANCH=develop4UNIQUE_BRANCH=develop
5USER=***5USER=***
6PASS=***6PASS=***
modifiedCargo.lockdiffbeforeafterboth
44dependencies = [44dependencies = [
45 "cfg-if 1.0.0",45 "cfg-if 1.0.0",
46 "cipher",46 "cipher",
47 "cpufeatures 0.2.1",47 "cpufeatures 0.2.2",
48 "opaque-debug 0.3.0",48 "opaque-debug 0.3.0",
49]49]
5050
9999
100[[package]]100[[package]]
101name = "anyhow"101name = "anyhow"
102version = "1.0.55"102version = "1.0.56"
103source = "registry+https://github.com/rust-lang/crates.io-index"103source = "registry+https://github.com/rust-lang/crates.io-index"
104checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd"104checksum = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27"
105105
106[[package]]106[[package]]
107name = "approx"107name = "approx"
188188
189[[package]]189[[package]]
190name = "async-global-executor"190name = "async-global-executor"
191version = "2.0.2"191version = "2.0.3"
192source = "registry+https://github.com/rust-lang/crates.io-index"192source = "registry+https://github.com/rust-lang/crates.io-index"
193checksum = "9586ec52317f36de58453159d48351bc244bc24ced3effc1fce22f3d48664af6"193checksum = "c026b7e44f1316b567ee750fea85103f87fcb80792b860e979f221259796ca0a"
194dependencies = [194dependencies = [
195 "async-channel",195 "async-channel",
196 "async-executor",196 "async-executor",
258258
259[[package]]259[[package]]
260name = "async-std"260name = "async-std"
261version = "1.10.0"261version = "1.11.0"
262source = "registry+https://github.com/rust-lang/crates.io-index"262source = "registry+https://github.com/rust-lang/crates.io-index"
263checksum = "f8056f1455169ab86dd47b47391e4ab0cbd25410a70e9fe675544f49bafaf952"263checksum = "52580991739c5cdb36cde8b2a516371c0a3b70dda36d916cc08b82372916808c"
264dependencies = [264dependencies = [
265 "async-attributes",265 "async-attributes",
266 "async-channel",266 "async-channel",
267 "async-global-executor",267 "async-global-executor",
268 "async-io",268 "async-io",
269 "async-lock",269 "async-lock",
270 "async-process",
271 "crossbeam-utils",270 "crossbeam-utils",
272 "futures-channel",271 "futures-channel",
273 "futures-core",272 "futures-core",
301300
302[[package]]301[[package]]
303name = "async-task"302name = "async-task"
304version = "4.1.0"303version = "4.2.0"
305source = "registry+https://github.com/rust-lang/crates.io-index"304source = "registry+https://github.com/rust-lang/crates.io-index"
306checksum = "677d306121baf53310a3fd342d88dc0824f6bbeace68347593658525565abee8"305checksum = "30696a84d817107fc028e049980e09d5e140e8da8f1caeb17e8e950658a3cea9"
307306
308[[package]]307[[package]]
309name = "async-trait"308name = "async-trait"
386source = "registry+https://github.com/rust-lang/crates.io-index"385source = "registry+https://github.com/rust-lang/crates.io-index"
387checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"386checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
387
388[[package]]
389name = "backoff"
390version = "0.4.0"
391source = "registry+https://github.com/rust-lang/crates.io-index"
392checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1"
393dependencies = [
394 "futures-core",
395 "getrandom 0.2.5",
396 "instant",
397 "pin-project-lite 0.2.8",
398 "rand 0.8.5",
399 "tokio 1.17.0",
400]
388401
389[[package]]402[[package]]
390name = "backtrace"403name = "backtrace"
407source = "registry+https://github.com/rust-lang/crates.io-index"420source = "registry+https://github.com/rust-lang/crates.io-index"
408checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b"421checksum = "a4521f3e3d031370679b3b140beb36dfe4801b09ac77e30c61941f97df3ef28b"
422
423[[package]]
424name = "base16ct"
425version = "0.1.1"
426source = "registry+https://github.com/rust-lang/crates.io-index"
427checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce"
409428
410[[package]]429[[package]]
411name = "base58"430name = "base58"
419source = "registry+https://github.com/rust-lang/crates.io-index"438source = "registry+https://github.com/rust-lang/crates.io-index"
420checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"439checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
440
441[[package]]
442name = "base64ct"
443version = "1.4.1"
444source = "registry+https://github.com/rust-lang/crates.io-index"
445checksum = "71acf5509fc522cce1b100ac0121c635129bfd4d91cdf036bcc9b9935f97ccf5"
421446
422[[package]]447[[package]]
423name = "beef"448name = "beef"
431[[package]]456[[package]]
432name = "beefy-gadget"457name = "beefy-gadget"
433version = "4.0.0-dev"458version = "4.0.0-dev"
434source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"459source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
435dependencies = [460dependencies = [
436 "beefy-primitives",461 "beefy-primitives",
437 "fnv",462 "fnv",
438 "futures 0.3.21",463 "futures 0.3.21",
464 "hex",
439 "log",465 "log",
440 "parity-scale-codec",466 "parity-scale-codec",
441 "parking_lot 0.11.2",467 "parking_lot 0.12.0",
442 "sc-chain-spec",468 "sc-chain-spec",
443 "sc-client-api",469 "sc-client-api",
444 "sc-keystore",470 "sc-keystore",
460[[package]]486[[package]]
461name = "beefy-gadget-rpc"487name = "beefy-gadget-rpc"
462version = "4.0.0-dev"488version = "4.0.0-dev"
463source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"489source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
464dependencies = [490dependencies = [
465 "beefy-gadget",491 "beefy-gadget",
466 "beefy-primitives",492 "beefy-primitives",
471 "jsonrpc-pubsub",497 "jsonrpc-pubsub",
472 "log",498 "log",
473 "parity-scale-codec",499 "parity-scale-codec",
474 "parking_lot 0.11.2",500 "parking_lot 0.12.0",
475 "sc-rpc",501 "sc-rpc",
476 "sc-utils",502 "sc-utils",
477 "serde",503 "serde",
483[[package]]509[[package]]
484name = "beefy-merkle-tree"510name = "beefy-merkle-tree"
485version = "4.0.0-dev"511version = "4.0.0-dev"
486source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"512source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
487513
488[[package]]514[[package]]
489name = "beefy-primitives"515name = "beefy-primitives"
490version = "4.0.0-dev"516version = "4.0.0-dev"
491source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"517source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
492dependencies = [518dependencies = [
493 "parity-scale-codec",519 "parity-scale-codec",
494 "scale-info",520 "scale-info",
541567
542[[package]]568[[package]]
543name = "bitvec"569name = "bitvec"
544version = "0.20.4"570version = "1.0.0"
545source = "registry+https://github.com/rust-lang/crates.io-index"571source = "registry+https://github.com/rust-lang/crates.io-index"
546checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848"572checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b"
547dependencies = [573dependencies = [
548 "funty",574 "funty 2.0.0",
549 "radium",575 "radium",
550 "tap",576 "tap",
551 "wyz",577 "wyz",
562 "opaque-debug 0.3.0",588 "opaque-debug 0.3.0",
563]589]
590
591[[package]]
592name = "blake2"
593version = "0.10.4"
594source = "registry+https://github.com/rust-lang/crates.io-index"
595checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388"
596dependencies = [
597 "digest 0.10.3",
598]
564599
565[[package]]600[[package]]
566name = "blake2-rfc"601name = "blake2-rfc"
609 "digest 0.9.0",644 "digest 0.9.0",
610]645]
646
647[[package]]
648name = "blake3"
649version = "1.3.1"
650source = "registry+https://github.com/rust-lang/crates.io-index"
651checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f"
652dependencies = [
653 "arrayref",
654 "arrayvec 0.7.2",
655 "cc",
656 "cfg-if 1.0.0",
657 "constant_time_eq",
658 "digest 0.10.3",
659]
611660
612[[package]]661[[package]]
613name = "block-buffer"662name = "block-buffer"
657706
658[[package]]707[[package]]
659name = "blocking"708name = "blocking"
660version = "1.1.0"709version = "1.2.0"
661source = "registry+https://github.com/rust-lang/crates.io-index"710source = "registry+https://github.com/rust-lang/crates.io-index"
662checksum = "046e47d4b2d391b1f6f8b407b1deb8dee56c1852ccd868becf2710f601b5f427"711checksum = "c6ccb65d468978a086b69884437ded69a90faab3bbe6e67f242173ea728acccc"
663dependencies = [712dependencies = [
664 "async-channel",713 "async-channel",
665 "async-task",714 "async-task",
681[[package]]730[[package]]
682name = "bp-header-chain"731name = "bp-header-chain"
683version = "0.1.0"732version = "0.1.0"
684source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"733source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
685dependencies = [734dependencies = [
686 "finality-grandpa",735 "finality-grandpa",
687 "frame-support",736 "frame-support",
697[[package]]746[[package]]
698name = "bp-message-dispatch"747name = "bp-message-dispatch"
699version = "0.1.0"748version = "0.1.0"
700source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"749source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
701dependencies = [750dependencies = [
702 "bp-runtime",751 "bp-runtime",
703 "frame-support",752 "frame-support",
709[[package]]758[[package]]
710name = "bp-messages"759name = "bp-messages"
711version = "0.1.0"760version = "0.1.0"
712source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"761source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
713dependencies = [762dependencies = [
714 "bitvec",763 "bitvec",
715 "bp-runtime",764 "bp-runtime",
725[[package]]774[[package]]
726name = "bp-polkadot-core"775name = "bp-polkadot-core"
727version = "0.1.0"776version = "0.1.0"
728source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"777source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
729dependencies = [778dependencies = [
730 "bp-messages",779 "bp-messages",
731 "bp-runtime",780 "bp-runtime",
743[[package]]792[[package]]
744name = "bp-rococo"793name = "bp-rococo"
745version = "0.1.0"794version = "0.1.0"
746source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"795source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
747dependencies = [796dependencies = [
748 "bp-messages",797 "bp-messages",
749 "bp-polkadot-core",798 "bp-polkadot-core",
760[[package]]809[[package]]
761name = "bp-runtime"810name = "bp-runtime"
762version = "0.1.0"811version = "0.1.0"
763source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"812source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
764dependencies = [813dependencies = [
765 "frame-support",814 "frame-support",
766 "hash-db",815 "hash-db",
778[[package]]827[[package]]
779name = "bp-test-utils"828name = "bp-test-utils"
780version = "0.1.0"829version = "0.1.0"
781source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"830source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
782dependencies = [831dependencies = [
783 "bp-header-chain",832 "bp-header-chain",
784 "ed25519-dalek",833 "ed25519-dalek",
793[[package]]842[[package]]
794name = "bp-wococo"843name = "bp-wococo"
795version = "0.1.0"844version = "0.1.0"
796source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"845source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
797dependencies = [846dependencies = [
798 "bp-messages",847 "bp-messages",
799 "bp-polkadot-core",848 "bp-polkadot-core",
808[[package]]857[[package]]
809name = "bridge-runtime-common"858name = "bridge-runtime-common"
810version = "0.1.0"859version = "0.1.0"
811source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"860source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
812dependencies = [861dependencies = [
813 "bp-message-dispatch",862 "bp-message-dispatch",
814 "bp-messages",863 "bp-messages",
860909
861[[package]]910[[package]]
862name = "byte-slice-cast"911name = "byte-slice-cast"
863version = "1.2.0"912version = "1.2.1"
864source = "registry+https://github.com/rust-lang/crates.io-index"913source = "registry+https://github.com/rust-lang/crates.io-index"
865checksum = "1d30c751592b77c499e7bce34d99d67c2c11bdc0574e9a488ddade14150a4698"914checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e"
866915
867[[package]]916[[package]]
868name = "byte-tools"917name = "byte-tools"
898source = "registry+https://github.com/rust-lang/crates.io-index"947source = "registry+https://github.com/rust-lang/crates.io-index"
899checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8"948checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8"
949
950[[package]]
951name = "bzip2-sys"
952version = "0.1.11+1.0.8"
953source = "registry+https://github.com/rust-lang/crates.io-index"
954checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
955dependencies = [
956 "cc",
957 "libc",
958 "pkg-config",
959]
900960
901[[package]]961[[package]]
902name = "cache-padded"962name = "cache-padded"
10511111
1052[[package]]1112[[package]]
1053name = "clap"1113name = "clap"
1054version = "3.1.2"1114version = "3.1.6"
1055source = "registry+https://github.com/rust-lang/crates.io-index"1115source = "registry+https://github.com/rust-lang/crates.io-index"
1056checksum = "5177fac1ab67102d8989464efd043c6ff44191b1557ec1ddd489b4f7e1447e77"1116checksum = "d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123"
1057dependencies = [1117dependencies = [
1058 "atty",1118 "atty",
1059 "bitflags",1119 "bitflags",
10681128
1069[[package]]1129[[package]]
1070name = "clap_derive"1130name = "clap_derive"
1071version = "3.1.2"1131version = "3.1.4"
1072source = "registry+https://github.com/rust-lang/crates.io-index"1132source = "registry+https://github.com/rust-lang/crates.io-index"
1073checksum = "01d42c94ce7c2252681b5fed4d3627cc807b13dfc033246bd05d5b252399000e"1133checksum = "da95d038ede1a964ce99f49cbe27a7fb538d1da595e4b4f70b8c8f338d17bf16"
1074dependencies = [1134dependencies = [
1075 "heck 0.4.0",1135 "heck 0.4.0",
1076 "proc-macro-error",1136 "proc-macro-error",
1079 "syn",1139 "syn",
1080]1140]
1081
1082[[package]]
1083name = "cloudabi"
1084version = "0.0.3"
1085source = "registry+https://github.com/rust-lang/crates.io-index"
1086checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
1087dependencies = [
1088 "bitflags",
1089]
10901141
1091[[package]]1142[[package]]
1092name = "concurrent-queue"1143name = "concurrent-queue"
1097 "cache-padded",1148 "cache-padded",
1098]1149]
1150
1151[[package]]
1152name = "const-oid"
1153version = "0.7.1"
1154source = "registry+https://github.com/rust-lang/crates.io-index"
1155checksum = "e4c78c047431fee22c1a7bb92e00ad095a02a983affe4d8a72e2a2c62c1b94f3"
10991156
1100[[package]]1157[[package]]
1101name = "constant_time_eq"1158name = "constant_time_eq"
11451202
1146[[package]]1203[[package]]
1147name = "cpufeatures"1204name = "cpufeatures"
1148version = "0.2.1"1205version = "0.2.2"
1149source = "registry+https://github.com/rust-lang/crates.io-index"1206source = "registry+https://github.com/rust-lang/crates.io-index"
1150checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469"1207checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b"
1151dependencies = [1208dependencies = [
1152 "libc",1209 "libc",
1153]1210]
12521309
1253[[package]]1310[[package]]
1254name = "crossbeam-channel"1311name = "crossbeam-channel"
1255version = "0.5.2"1312version = "0.5.4"
1256source = "registry+https://github.com/rust-lang/crates.io-index"1313source = "registry+https://github.com/rust-lang/crates.io-index"
1257checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa"1314checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53"
1258dependencies = [1315dependencies = [
1259 "cfg-if 1.0.0",1316 "cfg-if 1.0.0",
1260 "crossbeam-utils",1317 "crossbeam-utils",
12731330
1274[[package]]1331[[package]]
1275name = "crossbeam-epoch"1332name = "crossbeam-epoch"
1276version = "0.9.7"1333version = "0.9.8"
1277source = "registry+https://github.com/rust-lang/crates.io-index"1334source = "registry+https://github.com/rust-lang/crates.io-index"
1278checksum = "c00d6d2ea26e8b151d99093005cb442fb9a37aeaca582a03ec70946f49ab5ed9"1335checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c"
1279dependencies = [1336dependencies = [
1337 "autocfg",
1280 "cfg-if 1.0.0",1338 "cfg-if 1.0.0",
1281 "crossbeam-utils",1339 "crossbeam-utils",
1282 "lazy_static",1340 "lazy_static",
12861344
1287[[package]]1345[[package]]
1288name = "crossbeam-utils"1346name = "crossbeam-utils"
1289version = "0.8.7"1347version = "0.8.8"
1290source = "registry+https://github.com/rust-lang/crates.io-index"1348source = "registry+https://github.com/rust-lang/crates.io-index"
1291checksum = "b5e5bed1f1c269533fa816a0a5492b3545209a205ca1a54842be180eb63a16a6"1349checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38"
1292dependencies = [1350dependencies = [
1293 "cfg-if 1.0.0",1351 "cfg-if 1.0.0",
1294 "lazy_static",1352 "lazy_static",
1300source = "registry+https://github.com/rust-lang/crates.io-index"1358source = "registry+https://github.com/rust-lang/crates.io-index"
1301checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"1359checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
1360
1361[[package]]
1362name = "crypto-bigint"
1363version = "0.3.2"
1364source = "registry+https://github.com/rust-lang/crates.io-index"
1365checksum = "03c6a1d5fa1de37e071642dfa44ec552ca5b299adb128fab16138e24b548fd21"
1366dependencies = [
1367 "generic-array 0.14.5",
1368 "rand_core 0.6.3",
1369 "subtle 2.4.1",
1370 "zeroize",
1371]
13021372
1303[[package]]1373[[package]]
1304name = "crypto-common"1374name = "crypto-common"
13511421
1352[[package]]1422[[package]]
1353name = "ctor"1423name = "ctor"
1354version = "0.1.21"1424version = "0.1.22"
1355source = "registry+https://github.com/rust-lang/crates.io-index"1425source = "registry+https://github.com/rust-lang/crates.io-index"
1356checksum = "ccc0a48a9b826acdf4028595adc9db92caea352f7af011a3034acd172a52a0aa"1426checksum = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c"
1357dependencies = [1427dependencies = [
1358 "quote",1428 "quote",
1359 "syn",1429 "syn",
1382[[package]]1452[[package]]
1383name = "cumulus-client-cli"1453name = "cumulus-client-cli"
1384version = "0.1.0"1454version = "0.1.0"
1385source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1455source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1386dependencies = [1456dependencies = [
1387 "clap",1457 "clap",
1388 "sc-cli",1458 "sc-cli",
1389 "sc-service",1459 "sc-service",
1460 "url 2.2.2",
1390]1461]
13911462
1392[[package]]1463[[package]]
1393name = "cumulus-client-collator"1464name = "cumulus-client-collator"
1394version = "0.1.0"1465version = "0.1.0"
1395source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1466source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1396dependencies = [1467dependencies = [
1397 "cumulus-client-consensus-common",1468 "cumulus-client-consensus-common",
1398 "cumulus-client-network",1469 "cumulus-client-network",
1399 "cumulus-primitives-core",1470 "cumulus-primitives-core",
1400 "cumulus-relay-chain-interface",1471 "cumulus-relay-chain-interface",
1401 "futures 0.3.21",1472 "futures 0.3.21",
1402 "parity-scale-codec",1473 "parity-scale-codec",
1403 "parking_lot 0.10.2",1474 "parking_lot 0.12.0",
1404 "polkadot-node-primitives",1475 "polkadot-node-primitives",
1405 "polkadot-node-subsystem",1476 "polkadot-node-subsystem",
1406 "polkadot-overseer",1477 "polkadot-overseer",
1416[[package]]1487[[package]]
1417name = "cumulus-client-consensus-aura"1488name = "cumulus-client-consensus-aura"
1418version = "0.1.0"1489version = "0.1.0"
1419source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1490source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1420dependencies = [1491dependencies = [
1421 "async-trait",1492 "async-trait",
1422 "cumulus-client-consensus-common",1493 "cumulus-client-consensus-common",
1445[[package]]1516[[package]]
1446name = "cumulus-client-consensus-common"1517name = "cumulus-client-consensus-common"
1447version = "0.1.0"1518version = "0.1.0"
1448source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1519source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1449dependencies = [1520dependencies = [
1450 "async-trait",1521 "async-trait",
1451 "cumulus-relay-chain-interface",1522 "cumulus-relay-chain-interface",
1466[[package]]1537[[package]]
1467name = "cumulus-client-network"1538name = "cumulus-client-network"
1468version = "0.1.0"1539version = "0.1.0"
1469source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1540source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1470dependencies = [1541dependencies = [
1471 "async-trait",1542 "async-trait",
1472 "cumulus-relay-chain-interface",1543 "cumulus-relay-chain-interface",
1491[[package]]1562[[package]]
1492name = "cumulus-client-pov-recovery"1563name = "cumulus-client-pov-recovery"
1493version = "0.1.0"1564version = "0.1.0"
1494source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1565source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1495dependencies = [1566dependencies = [
1496 "cumulus-primitives-core",1567 "cumulus-primitives-core",
1497 "cumulus-relay-chain-interface",1568 "cumulus-relay-chain-interface",
1515[[package]]1586[[package]]
1516name = "cumulus-client-service"1587name = "cumulus-client-service"
1517version = "0.1.0"1588version = "0.1.0"
1518source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1589source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1519dependencies = [1590dependencies = [
1591 "cumulus-client-cli",
1520 "cumulus-client-collator",1592 "cumulus-client-collator",
1521 "cumulus-client-consensus-common",1593 "cumulus-client-consensus-common",
1522 "cumulus-client-pov-recovery",1594 "cumulus-client-pov-recovery",
1544[[package]]1616[[package]]
1545name = "cumulus-pallet-aura-ext"1617name = "cumulus-pallet-aura-ext"
1546version = "0.1.0"1618version = "0.1.0"
1547source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1619source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1548dependencies = [1620dependencies = [
1549 "frame-executive",1621 "frame-executive",
1550 "frame-support",1622 "frame-support",
1562[[package]]1634[[package]]
1563name = "cumulus-pallet-dmp-queue"1635name = "cumulus-pallet-dmp-queue"
1564version = "0.1.0"1636version = "0.1.0"
1565source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1637source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1566dependencies = [1638dependencies = [
1567 "cumulus-primitives-core",1639 "cumulus-primitives-core",
1568 "frame-support",1640 "frame-support",
1580[[package]]1652[[package]]
1581name = "cumulus-pallet-parachain-system"1653name = "cumulus-pallet-parachain-system"
1582version = "0.1.0"1654version = "0.1.0"
1583source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1655source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1584dependencies = [1656dependencies = [
1585 "cumulus-pallet-parachain-system-proc-macro",1657 "cumulus-pallet-parachain-system-proc-macro",
1586 "cumulus-primitives-core",1658 "cumulus-primitives-core",
1610[[package]]1682[[package]]
1611name = "cumulus-pallet-parachain-system-proc-macro"1683name = "cumulus-pallet-parachain-system-proc-macro"
1612version = "0.1.0"1684version = "0.1.0"
1613source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1685source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1614dependencies = [1686dependencies = [
1615 "proc-macro-crate 1.1.3",1687 "proc-macro-crate 1.1.3",
1616 "proc-macro2",1688 "proc-macro2",
1621[[package]]1693[[package]]
1622name = "cumulus-pallet-xcm"1694name = "cumulus-pallet-xcm"
1623version = "0.1.0"1695version = "0.1.0"
1624source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1696source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1625dependencies = [1697dependencies = [
1626 "cumulus-primitives-core",1698 "cumulus-primitives-core",
1627 "frame-support",1699 "frame-support",
1638[[package]]1710[[package]]
1639name = "cumulus-pallet-xcmp-queue"1711name = "cumulus-pallet-xcmp-queue"
1640version = "0.1.0"1712version = "0.1.0"
1641source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1713source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1642dependencies = [1714dependencies = [
1643 "cumulus-primitives-core",1715 "cumulus-primitives-core",
1644 "frame-support",1716 "frame-support",
1656[[package]]1728[[package]]
1657name = "cumulus-primitives-core"1729name = "cumulus-primitives-core"
1658version = "0.1.0"1730version = "0.1.0"
1659source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1731source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1660dependencies = [1732dependencies = [
1661 "frame-support",1733 "frame-support",
1662 "parity-scale-codec",1734 "parity-scale-codec",
1672[[package]]1744[[package]]
1673name = "cumulus-primitives-parachain-inherent"1745name = "cumulus-primitives-parachain-inherent"
1674version = "0.1.0"1746version = "0.1.0"
1675source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1747source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1676dependencies = [1748dependencies = [
1677 "async-trait",1749 "async-trait",
1678 "cumulus-primitives-core",1750 "cumulus-primitives-core",
1695[[package]]1767[[package]]
1696name = "cumulus-primitives-timestamp"1768name = "cumulus-primitives-timestamp"
1697version = "0.1.0"1769version = "0.1.0"
1698source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1770source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1699dependencies = [1771dependencies = [
1700 "cumulus-primitives-core",1772 "cumulus-primitives-core",
1773 "futures 0.3.21",
1774 "parity-scale-codec",
1701 "sp-inherents",1775 "sp-inherents",
1702 "sp-std",1776 "sp-std",
1703 "sp-timestamp",1777 "sp-timestamp",
1706[[package]]1780[[package]]
1707name = "cumulus-primitives-utility"1781name = "cumulus-primitives-utility"
1708version = "0.1.0"1782version = "0.1.0"
1709source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1783source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1710dependencies = [1784dependencies = [
1711 "cumulus-primitives-core",1785 "cumulus-primitives-core",
1712 "frame-support",1786 "frame-support",
1720 "xcm",1794 "xcm",
1721]1795]
1796
1797[[package]]
1798name = "cumulus-relay-chain-inprocess-interface"
1799version = "0.1.0"
1800source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1801dependencies = [
1802 "async-trait",
1803 "cumulus-primitives-core",
1804 "cumulus-relay-chain-interface",
1805 "futures 0.3.21",
1806 "futures-timer",
1807 "parking_lot 0.12.0",
1808 "polkadot-client",
1809 "polkadot-service",
1810 "sc-client-api",
1811 "sc-consensus-babe",
1812 "sc-network",
1813 "sc-service",
1814 "sc-telemetry",
1815 "sc-tracing",
1816 "sp-api",
1817 "sp-blockchain",
1818 "sp-consensus",
1819 "sp-core",
1820 "sp-runtime",
1821 "sp-state-machine",
1822 "tracing",
1823]
17221824
1723[[package]]1825[[package]]
1724name = "cumulus-relay-chain-interface"1826name = "cumulus-relay-chain-interface"
1725version = "0.1.0"1827version = "0.1.0"
1726source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1828source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1727dependencies = [1829dependencies = [
1728 "async-trait",1830 "async-trait",
1729 "cumulus-primitives-core",1831 "cumulus-primitives-core",
1730 "derive_more",1832 "derive_more",
1731 "futures 0.3.21",1833 "futures 0.3.21",
1834 "jsonrpsee-core 0.9.0",
1835 "parity-scale-codec",
1732 "parking_lot 0.12.0",1836 "parking_lot 0.12.0",
1733 "polkadot-overseer",1837 "polkadot-overseer",
1838 "polkadot-service",
1734 "sc-client-api",1839 "sc-client-api",
1735 "sc-service",1840 "sc-service",
1736 "sp-api",1841 "sp-api",
1742]1847]
17431848
1744[[package]]1849[[package]]
1745name = "cumulus-relay-chain-local"1850name = "cumulus-relay-chain-rpc-interface"
1746version = "0.1.0"1851version = "0.1.0"
1747source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1852source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1748dependencies = [1853dependencies = [
1749 "async-trait",1854 "async-trait",
1855 "backoff",
1750 "cumulus-primitives-core",1856 "cumulus-primitives-core",
1751 "cumulus-relay-chain-interface",1857 "cumulus-relay-chain-interface",
1752 "futures 0.3.21",1858 "futures 0.3.21",
1753 "futures-timer",1859 "futures-timer",
1860 "jsonrpsee 0.9.0",
1861 "parity-scale-codec",
1754 "parking_lot 0.12.0",1862 "parking_lot 0.12.0",
1755 "polkadot-client",
1756 "polkadot-service",1863 "polkadot-service",
1757 "sc-client-api",1864 "sc-client-api",
1758 "sc-consensus-babe",
1759 "sc-network",
1760 "sc-service",
1761 "sc-telemetry",
1762 "sc-tracing",1865 "sc-rpc-api",
1763 "sp-api",1866 "sp-api",
1764 "sp-blockchain",
1765 "sp-consensus",
1766 "sp-core",1867 "sp-core",
1767 "sp-runtime",1868 "sp-runtime",
1768 "sp-state-machine",1869 "sp-state-machine",
1870 "sp-storage",
1769 "tracing",1871 "tracing",
1872 "url 2.2.2",
1770]1873]
17711874
1772[[package]]1875[[package]]
1773name = "cumulus-test-relay-sproof-builder"1876name = "cumulus-test-relay-sproof-builder"
1774version = "0.1.0"1877version = "0.1.0"
1775source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"1878source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
1776dependencies = [1879dependencies = [
1777 "cumulus-primitives-core",1880 "cumulus-primitives-core",
1778 "parity-scale-codec",1881 "parity-scale-codec",
1869 "syn",1972 "syn",
1870]1973]
1974
1975[[package]]
1976name = "der"
1977version = "0.5.1"
1978source = "registry+https://github.com/rust-lang/crates.io-index"
1979checksum = "6919815d73839e7ad218de758883aae3a257ba6759ce7a9992501efbb53d705c"
1980dependencies = [
1981 "const-oid",
1982]
18711983
1872[[package]]1984[[package]]
1873name = "derivative"1985name = "derivative"
1919dependencies = [2031dependencies = [
1920 "block-buffer 0.10.2",2032 "block-buffer 0.10.2",
1921 "crypto-common",2033 "crypto-common",
2034 "subtle 2.4.1",
1922]2035]
19232036
1924[[package]]2037[[package]]
19422055
1943[[package]]2056[[package]]
1944name = "dirs-sys"2057name = "dirs-sys"
1945version = "0.3.6"2058version = "0.3.7"
1946source = "registry+https://github.com/rust-lang/crates.io-index"2059source = "registry+https://github.com/rust-lang/crates.io-index"
1947checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"2060checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
1948dependencies = [2061dependencies = [
1949 "libc",2062 "libc",
1950 "redox_users",2063 "redox_users",
20072120
2008[[package]]2121[[package]]
2009name = "dyn-clone"2122name = "dyn-clone"
2010version = "1.0.4"2123version = "1.0.5"
2011source = "registry+https://github.com/rust-lang/crates.io-index"2124source = "registry+https://github.com/rust-lang/crates.io-index"
2012checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"2125checksum = "21e50f3adc76d6a43f5ed73b698a87d0760ca74617f60f7c3b879003536fdd28"
2126
2127[[package]]
2128name = "ecdsa"
2129version = "0.13.4"
2130source = "registry+https://github.com/rust-lang/crates.io-index"
2131checksum = "d0d69ae62e0ce582d56380743515fefaf1a8c70cec685d9677636d7e30ae9dc9"
2132dependencies = [
2133 "der",
2134 "elliptic-curve",
2135 "signature",
2136]
20132137
2014[[package]]2138[[package]]
2015name = "ed25519"2139name = "ed25519"
2016version = "1.3.0"2140version = "1.4.1"
2017source = "registry+https://github.com/rust-lang/crates.io-index"2141source = "registry+https://github.com/rust-lang/crates.io-index"
2018checksum = "74e1069e39f1454367eb2de793ed062fac4c35c2934b76a81d90dd9abcd28816"2142checksum = "3d5c4b5e5959dc2c2b89918d8e2cc40fcdd623cef026ed09d2f0ee05199dc8e4"
2019dependencies = [2143dependencies = [
2020 "signature",2144 "signature",
2021]2145]
2040source = "registry+https://github.com/rust-lang/crates.io-index"2164source = "registry+https://github.com/rust-lang/crates.io-index"
2041checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"2165checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
2166
2167[[package]]
2168name = "elliptic-curve"
2169version = "0.11.12"
2170source = "registry+https://github.com/rust-lang/crates.io-index"
2171checksum = "25b477563c2bfed38a3b7a60964c49e058b2510ad3f12ba3483fd8f62c2306d6"
2172dependencies = [
2173 "base16ct",
2174 "crypto-bigint",
2175 "der",
2176 "ff",
2177 "generic-array 0.14.5",
2178 "group",
2179 "rand_core 0.6.3",
2180 "sec1",
2181 "subtle 2.4.1",
2182 "zeroize",
2183]
20422184
2043[[package]]2185[[package]]
2044name = "enum-as-inner"2186name = "enum-as-inner"
2045version = "0.3.3"2187version = "0.3.4"
2046source = "registry+https://github.com/rust-lang/crates.io-index"2188source = "registry+https://github.com/rust-lang/crates.io-index"
2047checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595"2189checksum = "570d109b813e904becc80d8d5da38376818a143348413f7149f1340fe04754d4"
2048dependencies = [2190dependencies = [
2049 "heck 0.3.3",2191 "heck 0.4.0",
2050 "proc-macro2",2192 "proc-macro2",
2051 "quote",2193 "quote",
2052 "syn",2194 "syn",
21252267
2126[[package]]2268[[package]]
2127name = "ethbloom"2269name = "ethbloom"
2128version = "0.11.1"2270version = "0.12.1"
2129source = "registry+https://github.com/rust-lang/crates.io-index"2271source = "registry+https://github.com/rust-lang/crates.io-index"
2130checksum = "bfb684ac8fa8f6c5759f788862bb22ec6fe3cb392f6bfd08e3c64b603661e3f8"2272checksum = "11da94e443c60508eb62cf256243a64da87304c2802ac2528847f79d750007ef"
2131dependencies = [2273dependencies = [
2132 "crunchy",2274 "crunchy",
2133 "fixed-hash",2275 "fixed-hash",
21402282
2141[[package]]2283[[package]]
2142name = "ethereum"2284name = "ethereum"
2143version = "0.11.1"2285version = "0.12.0"
2144source = "registry+https://github.com/rust-lang/crates.io-index"2286source = "registry+https://github.com/rust-lang/crates.io-index"
2145checksum = "34c90e0a755da706ce0970ec0fa8cc48aabcc8e8efa1245336acf718dab06ffe"2287checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef"
2146dependencies = [2288dependencies = [
2147 "bytes 1.1.0",2289 "bytes 1.1.0",
2148 "ethereum-types",2290 "ethereum-types",
2153 "rlp-derive",2295 "rlp-derive",
2154 "scale-info",2296 "scale-info",
2155 "serde",2297 "serde",
2156 "sha3 0.9.1",2298 "sha3 0.10.1",
2157 "triehash",2299 "triehash",
2158]2300]
21592301
2160[[package]]2302[[package]]
2161name = "ethereum-types"2303name = "ethereum-types"
2162version = "0.12.1"2304version = "0.13.1"
2163source = "registry+https://github.com/rust-lang/crates.io-index"2305source = "registry+https://github.com/rust-lang/crates.io-index"
2164checksum = "05136f7057fe789f06e6d41d07b34e6f70d8c86e5693b60f97aaa6553553bdaf"2306checksum = "b2827b94c556145446fcce834ca86b7abf0c39a805883fe20e72c5bfdb5a0dc6"
2165dependencies = [2307dependencies = [
2166 "ethbloom",2308 "ethbloom",
2167 "fixed-hash",2309 "fixed-hash",
2168 "impl-codec",2310 "impl-codec",
2169 "impl-rlp",2311 "impl-rlp",
2170 "impl-serde",2312 "impl-serde",
2171 "primitive-types 0.10.1",2313 "primitive-types",
2172 "scale-info",2314 "scale-info",
2173 "uint",2315 "uint",
2174]2316]
2182[[package]]2324[[package]]
2183name = "evm"2325name = "evm"
2184version = "0.33.1"2326version = "0.33.1"
2185source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.16#b6d849f3906eafc4f9a0aaa2d0fe5403d4e2c0a8"2327source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
2186dependencies = [2328dependencies = [
2187 "auto_impl",2329 "auto_impl",
2188 "environmental",2330 "environmental",
2192 "evm-runtime",2334 "evm-runtime",
2193 "log",2335 "log",
2194 "parity-scale-codec",2336 "parity-scale-codec",
2195 "primitive-types 0.10.1",2337 "primitive-types",
2196 "rlp",2338 "rlp",
2197 "scale-info",2339 "scale-info",
2198 "serde",2340 "serde",
2209 "hex",2351 "hex",
2210 "hex-literal",2352 "hex-literal",
2211 "impl-trait-for-tuples",2353 "impl-trait-for-tuples",
2212 "primitive-types 0.10.1",2354 "primitive-types",
2213]2355]
22142356
2215[[package]]2357[[package]]
2228[[package]]2370[[package]]
2229name = "evm-core"2371name = "evm-core"
2230version = "0.33.0"2372version = "0.33.0"
2231source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.16#b6d849f3906eafc4f9a0aaa2d0fe5403d4e2c0a8"2373source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
2232dependencies = [2374dependencies = [
2233 "funty",2375 "funty 1.1.0",
2234 "parity-scale-codec",2376 "parity-scale-codec",
2235 "primitive-types 0.10.1",2377 "primitive-types",
2236 "scale-info",2378 "scale-info",
2237 "serde",2379 "serde",
2238]2380]
22392381
2240[[package]]2382[[package]]
2241name = "evm-gasometer"2383name = "evm-gasometer"
2242version = "0.33.0"2384version = "0.33.0"
2243source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.16#b6d849f3906eafc4f9a0aaa2d0fe5403d4e2c0a8"2385source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
2244dependencies = [2386dependencies = [
2245 "environmental",2387 "environmental",
2246 "evm-core",2388 "evm-core",
2247 "evm-runtime",2389 "evm-runtime",
2248 "primitive-types 0.10.1",2390 "primitive-types",
2249]2391]
22502392
2251[[package]]2393[[package]]
2252name = "evm-runtime"2394name = "evm-runtime"
2253version = "0.33.0"2395version = "0.33.0"
2254source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.16#b6d849f3906eafc4f9a0aaa2d0fe5403d4e2c0a8"2396source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-polkadot-v0.9.18#5012fe9034f0a5cc6881d385890b11ef35d2e39a"
2255dependencies = [2397dependencies = [
2256 "auto_impl",2398 "auto_impl",
2257 "environmental",2399 "environmental",
2258 "evm-core",2400 "evm-core",
2259 "primitive-types 0.10.1",2401 "primitive-types",
2260 "sha3 0.8.2",2402 "sha3 0.8.2",
2261]2403]
22622404
2269 "futures 0.3.21",2411 "futures 0.3.21",
2270]2412]
2413
2414[[package]]
2415name = "expander"
2416version = "0.0.4"
2417source = "registry+https://github.com/rust-lang/crates.io-index"
2418checksum = "a718c0675c555c5f976fff4ea9e2c150fa06cefa201cadef87cfbf9324075881"
2419dependencies = [
2420 "blake3 1.3.1",
2421 "fs-err",
2422 "proc-macro2",
2423 "quote",
2424]
2425
2426[[package]]
2427name = "expander"
2428version = "0.0.5"
2429source = "registry+https://github.com/rust-lang/crates.io-index"
2430checksum = "309f21c39e8e38e4b6eda07e155bd7a4e5fc4d707cefd0402cc82a8b6bb65aaa"
2431dependencies = [
2432 "blake2 0.10.4",
2433 "fs-err",
2434 "proc-macro2",
2435 "quote",
2436]
22712437
2272[[package]]2438[[package]]
2273name = "fake-simd"2439name = "fake-simd"
2290 "instant",2456 "instant",
2291]2457]
2458
2459[[package]]
2460name = "fatality"
2461version = "0.0.6"
2462source = "registry+https://github.com/rust-lang/crates.io-index"
2463checksum = "2ad875162843b0d046276327afe0136e9ed3a23d5a754210fb6f1f33610d39ab"
2464dependencies = [
2465 "fatality-proc-macro",
2466 "thiserror",
2467]
2468
2469[[package]]
2470name = "fatality-proc-macro"
2471version = "0.0.6"
2472source = "registry+https://github.com/rust-lang/crates.io-index"
2473checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd"
2474dependencies = [
2475 "expander 0.0.4",
2476 "indexmap",
2477 "proc-macro-crate 1.1.3",
2478 "proc-macro2",
2479 "quote",
2480 "syn",
2481 "thiserror",
2482]
22922483
2293[[package]]2484[[package]]
2294name = "fc-consensus"2485name = "fc-consensus"
2295version = "2.0.0-dev"2486version = "2.0.0-dev"
2296source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2487source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2297dependencies = [2488dependencies = [
2298 "async-trait",2489 "async-trait",
2299 "derive_more",2490 "derive_more",
2320[[package]]2511[[package]]
2321name = "fc-db"2512name = "fc-db"
2322version = "2.0.0-dev"2513version = "2.0.0-dev"
2323source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2514source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2324dependencies = [2515dependencies = [
2325 "fp-storage",2516 "fp-storage",
2326 "kvdb",2517 "kvdb",
2336[[package]]2527[[package]]
2337name = "fc-mapping-sync"2528name = "fc-mapping-sync"
2338version = "2.0.0-dev"2529version = "2.0.0-dev"
2339source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2530source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2340dependencies = [2531dependencies = [
2341 "fc-consensus",2532 "fc-consensus",
2342 "fc-db",2533 "fc-db",
2354[[package]]2545[[package]]
2355name = "fc-rpc"2546name = "fc-rpc"
2356version = "2.0.0-dev"2547version = "2.0.0-dev"
2357source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2548source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2358dependencies = [2549dependencies = [
2359 "ethereum",2550 "ethereum",
2360 "ethereum-types",2551 "ethereum-types",
2400[[package]]2591[[package]]
2401name = "fc-rpc-core"2592name = "fc-rpc-core"
2402version = "1.1.0-dev"2593version = "1.1.0-dev"
2403source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2594source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2404dependencies = [2595dependencies = [
2405 "ethereum",2596 "ethereum",
2406 "ethereum-types",2597 "ethereum-types",
2424 "libc",2615 "libc",
2425]2616]
2617
2618[[package]]
2619name = "ff"
2620version = "0.11.0"
2621source = "registry+https://github.com/rust-lang/crates.io-index"
2622checksum = "b2958d04124b9f27f175eaeb9a9f383d026098aa837eadd8ba22c11f13a05b9e"
2623dependencies = [
2624 "rand_core 0.6.3",
2625 "subtle 2.4.1",
2626]
24262627
2427[[package]]2628[[package]]
2428name = "file-per-thread-logger"2629name = "file-per-thread-logger"
24362637
2437[[package]]2638[[package]]
2438name = "finality-grandpa"2639name = "finality-grandpa"
2439version = "0.14.4"2640version = "0.15.0"
2440source = "registry+https://github.com/rust-lang/crates.io-index"2641source = "registry+https://github.com/rust-lang/crates.io-index"
2441checksum = "e8ac3ff5224ef91f3c97e03eb1de2db82743427e91aaa5ac635f454f0b164f5a"2642checksum = "d9def033d8505edf199f6a5d07aa7e6d2d6185b164293b77f0efd108f4f3e11d"
2442dependencies = [2643dependencies = [
2443 "either",2644 "either",
2444 "futures 0.3.21",2645 "futures 0.3.21",
2506[[package]]2707[[package]]
2507name = "fork-tree"2708name = "fork-tree"
2508version = "3.0.0"2709version = "3.0.0"
2509source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2710source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2510dependencies = [2711dependencies = [
2511 "parity-scale-codec",2712 "parity-scale-codec",
2512]2713]
2524[[package]]2725[[package]]
2525name = "fp-consensus"2726name = "fp-consensus"
2526version = "2.0.0-dev"2727version = "2.0.0-dev"
2527source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2728source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2528dependencies = [2729dependencies = [
2529 "ethereum",2730 "ethereum",
2530 "parity-scale-codec",2731 "parity-scale-codec",
2538[[package]]2739[[package]]
2539name = "fp-evm"2740name = "fp-evm"
2540version = "3.0.0-dev"2741version = "3.0.0-dev"
2541source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2742source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2542dependencies = [2743dependencies = [
2543 "evm",2744 "evm",
2544 "impl-trait-for-tuples",2745 "impl-trait-for-tuples",
2552[[package]]2753[[package]]
2553name = "fp-rpc"2754name = "fp-rpc"
2554version = "3.0.0-dev"2755version = "3.0.0-dev"
2555source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2756source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2556dependencies = [2757dependencies = [
2557 "ethereum",2758 "ethereum",
2558 "ethereum-types",2759 "ethereum-types",
2569[[package]]2770[[package]]
2570name = "fp-self-contained"2771name = "fp-self-contained"
2571version = "1.0.0-dev"2772version = "1.0.0-dev"
2572source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2773source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
2573dependencies = [2774dependencies = [
2574 "ethereum",2775 "ethereum",
2575 "frame-support",2776 "frame-support",
2586[[package]]2787[[package]]
2587name = "fp-storage"2788name = "fp-storage"
2588version = "2.0.0"2789version = "2.0.0"
2589source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"2790source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
25902791
2591[[package]]2792[[package]]
2592name = "frame-benchmarking"2793name = "frame-benchmarking"
2593version = "4.0.0-dev"2794version = "4.0.0-dev"
2594source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2795source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2595dependencies = [2796dependencies = [
2596 "frame-support",2797 "frame-support",
2597 "frame-system",2798 "frame-system",
2613[[package]]2814[[package]]
2614name = "frame-benchmarking-cli"2815name = "frame-benchmarking-cli"
2615version = "4.0.0-dev"2816version = "4.0.0-dev"
2616source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2817source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2617dependencies = [2818dependencies = [
2618 "Inflector",2819 "Inflector",
2619 "chrono",2820 "chrono",
2620 "clap",2821 "clap",
2621 "frame-benchmarking",2822 "frame-benchmarking",
2622 "frame-support",2823 "frame-support",
2623 "handlebars",2824 "handlebars",
2825 "hash-db",
2826 "hex",
2827 "itertools",
2828 "kvdb",
2624 "linked-hash-map",2829 "linked-hash-map",
2625 "log",2830 "log",
2831 "memory-db",
2626 "parity-scale-codec",2832 "parity-scale-codec",
2833 "rand 0.8.5",
2627 "sc-cli",2834 "sc-cli",
2835 "sc-client-api",
2628 "sc-client-db",2836 "sc-client-db",
2629 "sc-executor",2837 "sc-executor",
2630 "sc-service",2838 "sc-service",
2631 "serde",2839 "serde",
2632 "serde_json",2840 "serde_json",
2841 "serde_nanos",
2842 "sp-api",
2843 "sp-blockchain",
2633 "sp-core",2844 "sp-core",
2845 "sp-database",
2634 "sp-externalities",2846 "sp-externalities",
2635 "sp-keystore",2847 "sp-keystore",
2636 "sp-runtime",2848 "sp-runtime",
2637 "sp-state-machine",2849 "sp-state-machine",
2850 "sp-std",
2851 "sp-storage",
2852 "sp-trie",
2638]2853]
26392854
2640[[package]]2855[[package]]
2641name = "frame-election-provider-support"2856name = "frame-election-provider-support"
2642version = "4.0.0-dev"2857version = "4.0.0-dev"
2643source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2858source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2644dependencies = [2859dependencies = [
2645 "frame-support",2860 "frame-support",
2646 "frame-system",2861 "frame-system",
2654[[package]]2869[[package]]
2655name = "frame-executive"2870name = "frame-executive"
2656version = "4.0.0-dev"2871version = "4.0.0-dev"
2657source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2872source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2658dependencies = [2873dependencies = [
2659 "frame-support",2874 "frame-support",
2660 "frame-system",2875 "frame-system",
26692884
2670[[package]]2885[[package]]
2671name = "frame-metadata"2886name = "frame-metadata"
2672version = "14.2.0"2887version = "15.0.0"
2673source = "registry+https://github.com/rust-lang/crates.io-index"2888source = "registry+https://github.com/rust-lang/crates.io-index"
2674checksum = "37ed5e5c346de62ca5c184b4325a6600d1eaca210666e4606fe4e449574978d0"2889checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d"
2675dependencies = [2890dependencies = [
2676 "cfg-if 1.0.0",2891 "cfg-if 1.0.0",
2677 "parity-scale-codec",2892 "parity-scale-codec",
2682[[package]]2897[[package]]
2683name = "frame-support"2898name = "frame-support"
2684version = "4.0.0-dev"2899version = "4.0.0-dev"
2685source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2900source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2686dependencies = [2901dependencies = [
2687 "bitflags",2902 "bitflags",
2688 "frame-metadata",2903 "frame-metadata",
2711[[package]]2926[[package]]
2712name = "frame-support-procedural"2927name = "frame-support-procedural"
2713version = "4.0.0-dev"2928version = "4.0.0-dev"
2714source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2929source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2715dependencies = [2930dependencies = [
2716 "Inflector",2931 "Inflector",
2717 "frame-support-procedural-tools",2932 "frame-support-procedural-tools",
2723[[package]]2938[[package]]
2724name = "frame-support-procedural-tools"2939name = "frame-support-procedural-tools"
2725version = "4.0.0-dev"2940version = "4.0.0-dev"
2726source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2941source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2727dependencies = [2942dependencies = [
2728 "frame-support-procedural-tools-derive",2943 "frame-support-procedural-tools-derive",
2729 "proc-macro-crate 1.1.3",2944 "proc-macro-crate 1.1.3",
2735[[package]]2950[[package]]
2736name = "frame-support-procedural-tools-derive"2951name = "frame-support-procedural-tools-derive"
2737version = "3.0.0"2952version = "3.0.0"
2738source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2953source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2739dependencies = [2954dependencies = [
2740 "proc-macro2",2955 "proc-macro2",
2741 "quote",2956 "quote",
2745[[package]]2960[[package]]
2746name = "frame-system"2961name = "frame-system"
2747version = "4.0.0-dev"2962version = "4.0.0-dev"
2748source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2963source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2749dependencies = [2964dependencies = [
2750 "frame-support",2965 "frame-support",
2751 "log",2966 "log",
2762[[package]]2977[[package]]
2763name = "frame-system-benchmarking"2978name = "frame-system-benchmarking"
2764version = "4.0.0-dev"2979version = "4.0.0-dev"
2765source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2980source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2766dependencies = [2981dependencies = [
2767 "frame-benchmarking",2982 "frame-benchmarking",
2768 "frame-support",2983 "frame-support",
2777[[package]]2992[[package]]
2778name = "frame-system-rpc-runtime-api"2993name = "frame-system-rpc-runtime-api"
2779version = "4.0.0-dev"2994version = "4.0.0-dev"
2780source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"2995source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2781dependencies = [2996dependencies = [
2782 "parity-scale-codec",2997 "parity-scale-codec",
2783 "sp-api",2998 "sp-api",
2786[[package]]3001[[package]]
2787name = "frame-try-runtime"3002name = "frame-try-runtime"
2788version = "0.10.0-dev"3003version = "0.10.0-dev"
2789source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"3004source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
2790dependencies = [3005dependencies = [
2791 "frame-support",3006 "frame-support",
2792 "sp-api",3007 "sp-api",
2822 "winapi 0.3.9",3037 "winapi 0.3.9",
2823]3038]
3039
3040[[package]]
3041name = "fs_extra"
3042version = "1.2.0"
3043source = "registry+https://github.com/rust-lang/crates.io-index"
3044checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394"
28243045
2825[[package]]3046[[package]]
2826name = "fuchsia-zircon"3047name = "fuchsia-zircon"
2844source = "registry+https://github.com/rust-lang/crates.io-index"3065source = "registry+https://github.com/rust-lang/crates.io-index"
2845checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"3066checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
3067
3068[[package]]
3069name = "funty"
3070version = "2.0.0"
3071source = "registry+https://github.com/rust-lang/crates.io-index"
3072checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
28463073
2847[[package]]3074[[package]]
2848name = "futures"3075name = "futures"
3068 "wasm-bindgen",3295 "wasm-bindgen",
3069]3296]
3297
3298[[package]]
3299name = "group"
3300version = "0.11.0"
3301source = "registry+https://github.com/rust-lang/crates.io-index"
3302checksum = "bc5ac374b108929de78460075f3dc439fa66df9d8fc77e8f12caa5165fcf0c89"
3303dependencies = [
3304 "ff",
3305 "rand_core 0.6.3",
3306 "subtle 2.4.1",
3307]
30703308
3071[[package]]3309[[package]]
3072name = "h2"3310name = "h2"
3073version = "0.3.11"3311version = "0.3.12"
3074source = "registry+https://github.com/rust-lang/crates.io-index"3312source = "registry+https://github.com/rust-lang/crates.io-index"
3075checksum = "d9f1f717ddc7b2ba36df7e871fd88db79326551d3d6f1fc406fbfd28b582ff8e"3313checksum = "62eeb471aa3e3c9197aa4bfeabfe02982f6dc96f750486c0bb0009ac58b26d2b"
3076dependencies = [3314dependencies = [
3077 "bytes 1.1.0",3315 "bytes 1.1.0",
3078 "fnv",3316 "fnv",
30893327
3090[[package]]3328[[package]]
3091name = "handlebars"3329name = "handlebars"
3092version = "4.2.1"3330version = "4.2.2"
3093source = "registry+https://github.com/rust-lang/crates.io-index"3331source = "registry+https://github.com/rust-lang/crates.io-index"
3094checksum = "25546a65e5cf1f471f3438796fc634650b31d7fcde01d444c309aeb28b92e3a8"3332checksum = "99d6a30320f094710245150395bc763ad23128d6a1ebbad7594dc4164b62c56b"
3095dependencies = [3333dependencies = [
3096 "log",3334 "log",
3097 "pest",3335 "pest",
32813519
3282[[package]]3520[[package]]
3283name = "hyper"3521name = "hyper"
3284version = "0.14.17"3522version = "0.14.18"
3285source = "registry+https://github.com/rust-lang/crates.io-index"3523source = "registry+https://github.com/rust-lang/crates.io-index"
3286checksum = "043f0e083e9901b6cc658a77d1eb86f4fc650bbb977a4337dd63192826aa85dd"3524checksum = "b26ae0a80afebe130861d90abf98e3814a4f28a4c6ffeb5ab8ebb2be311e0ef2"
3287dependencies = [3525dependencies = [
3288 "bytes 1.1.0",3526 "bytes 1.1.0",
3289 "futures-channel",3527 "futures-channel",
3320 "webpki 0.21.4",3558 "webpki 0.21.4",
3321]3559]
3560
3561[[package]]
3562name = "hyper-rustls"
3563version = "0.23.0"
3564source = "registry+https://github.com/rust-lang/crates.io-index"
3565checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac"
3566dependencies = [
3567 "http",
3568 "hyper",
3569 "log",
3570 "rustls 0.20.4",
3571 "rustls-native-certs 0.6.1",
3572 "tokio 1.17.0",
3573 "tokio-rustls 0.23.3",
3574 "webpki-roots 0.22.2",
3575]
33223576
3323[[package]]3577[[package]]
3324name = "ident_case"3578name = "ident_case"
33873641
3388[[package]]3642[[package]]
3389name = "impl-codec"3643name = "impl-codec"
3390version = "0.5.1"3644version = "0.6.0"
3391source = "registry+https://github.com/rust-lang/crates.io-index"3645source = "registry+https://github.com/rust-lang/crates.io-index"
3392checksum = "161ebdfec3c8e3b52bf61c4f3550a1eea4f9579d10dc1b936f3171ebdcd6c443"3646checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f"
3393dependencies = [3647dependencies = [
3394 "parity-scale-codec",3648 "parity-scale-codec",
3395]3649]
34963750
3497[[package]]3751[[package]]
3498name = "ipnet"3752name = "ipnet"
3499version = "2.3.1"3753version = "2.4.0"
3500source = "registry+https://github.com/rust-lang/crates.io-index"3754source = "registry+https://github.com/rust-lang/crates.io-index"
3501checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9"3755checksum = "35e70ee094dc02fd9c13fdad4940090f22dbd6ac7c9e7094a46cf0232a50bc7c"
35023756
3503[[package]]3757[[package]]
3504name = "itertools"3758name = "itertools"
3688source = "registry+https://github.com/rust-lang/crates.io-index"3942source = "registry+https://github.com/rust-lang/crates.io-index"
3689checksum = "05fd8cd6c6b1bbd06881d2cf88f1fc83cc36c98f2219090f839115fb4a956cb9"3943checksum = "05fd8cd6c6b1bbd06881d2cf88f1fc83cc36c98f2219090f839115fb4a956cb9"
3690dependencies = [3944dependencies = [
3691 "jsonrpsee-core",3945 "jsonrpsee-core 0.8.0",
3692 "jsonrpsee-proc-macros",3946 "jsonrpsee-proc-macros",
3693 "jsonrpsee-types 0.8.0",3947 "jsonrpsee-types 0.8.0",
3694 "jsonrpsee-ws-client 0.8.0",3948 "jsonrpsee-ws-client 0.8.0",
3695]3949]
3950
3951[[package]]
3952name = "jsonrpsee"
3953version = "0.9.0"
3954source = "registry+https://github.com/rust-lang/crates.io-index"
3955checksum = "f0d0b8cc1959f8c05256ace093b2317482da9127f1d9227564f47e7e6bf9bda8"
3956dependencies = [
3957 "jsonrpsee-core 0.9.0",
3958 "jsonrpsee-http-client",
3959 "jsonrpsee-types 0.9.0",
3960 "jsonrpsee-ws-client 0.9.0",
3961]
36963962
3697[[package]]3963[[package]]
3698name = "jsonrpsee-client-transport"3964name = "jsonrpsee-client-transport"
3702dependencies = [3968dependencies = [
3703 "futures 0.3.21",3969 "futures 0.3.21",
3704 "http",3970 "http",
3705 "jsonrpsee-core",3971 "jsonrpsee-core 0.8.0",
3706 "jsonrpsee-types 0.8.0",3972 "jsonrpsee-types 0.8.0",
3707 "pin-project 1.0.10",3973 "pin-project 1.0.10",
3708 "rustls-native-certs 0.6.1",3974 "rustls-native-certs 0.6.1",
3709 "soketto",3975 "soketto",
3710 "thiserror",3976 "thiserror",
3711 "tokio 1.17.0",3977 "tokio 1.17.0",
3712 "tokio-rustls 0.23.2",3978 "tokio-rustls 0.23.3",
3713 "tokio-util",3979 "tokio-util",
3714 "tracing",3980 "tracing",
3715 "webpki-roots 0.22.2",3981 "webpki-roots 0.22.2",
3716]3982]
3983
3984[[package]]
3985name = "jsonrpsee-client-transport"
3986version = "0.9.0"
3987source = "registry+https://github.com/rust-lang/crates.io-index"
3988checksum = "fa370c2c717d798c3c0a315ae3f0a707a388c6963c11f9da7dbbe1d3f7392f5f"
3989dependencies = [
3990 "futures 0.3.21",
3991 "http",
3992 "jsonrpsee-core 0.9.0",
3993 "jsonrpsee-types 0.9.0",
3994 "pin-project 1.0.10",
3995 "rustls-native-certs 0.6.1",
3996 "soketto",
3997 "thiserror",
3998 "tokio 1.17.0",
3999 "tokio-rustls 0.23.3",
4000 "tokio-util",
4001 "tracing",
4002 "webpki-roots 0.22.2",
4003]
37174004
3718[[package]]4005[[package]]
3719name = "jsonrpsee-core"4006name = "jsonrpsee-core"
3738 "tracing",4025 "tracing",
3739]4026]
4027
4028[[package]]
4029name = "jsonrpsee-core"
4030version = "0.9.0"
4031source = "registry+https://github.com/rust-lang/crates.io-index"
4032checksum = "22abc3274b265dcefe2e26c4beecf9fda4fffa48cf94930443a6c73678f020d5"
4033dependencies = [
4034 "anyhow",
4035 "arrayvec 0.7.2",
4036 "async-trait",
4037 "beef",
4038 "futures-channel",
4039 "futures-util",
4040 "hyper",
4041 "jsonrpsee-types 0.9.0",
4042 "rustc-hash",
4043 "serde",
4044 "serde_json",
4045 "soketto",
4046 "thiserror",
4047 "tokio 1.17.0",
4048 "tracing",
4049]
4050
4051[[package]]
4052name = "jsonrpsee-http-client"
4053version = "0.9.0"
4054source = "registry+https://github.com/rust-lang/crates.io-index"
4055checksum = "d31b837273d09dd80051eefa57d337769dff6c3266108c43a3544ac7ffed9d68"
4056dependencies = [
4057 "async-trait",
4058 "hyper",
4059 "hyper-rustls 0.23.0",
4060 "jsonrpsee-core 0.9.0",
4061 "jsonrpsee-types 0.9.0",
4062 "rustc-hash",
4063 "serde",
4064 "serde_json",
4065 "thiserror",
4066 "tokio 1.17.0",
4067 "tracing",
4068]
37404069
3741[[package]]4070[[package]]
3742name = "jsonrpsee-proc-macros"4071name = "jsonrpsee-proc-macros"
3783 "tracing",4112 "tracing",
3784]4113]
4114
4115[[package]]
4116name = "jsonrpsee-types"
4117version = "0.9.0"
4118source = "registry+https://github.com/rust-lang/crates.io-index"
4119checksum = "9f4c45d2e2aa1db4c7d7d7dbaabc10a5b5258d99cd9d42fbfd5260b76f80c324"
4120dependencies = [
4121 "anyhow",
4122 "beef",
4123 "serde",
4124 "serde_json",
4125 "thiserror",
4126 "tracing",
4127]
37854128
3786[[package]]4129[[package]]
3787name = "jsonrpsee-utils"4130name = "jsonrpsee-utils"
3824source = "registry+https://github.com/rust-lang/crates.io-index"4167source = "registry+https://github.com/rust-lang/crates.io-index"
3825checksum = "aff425cee7c779e33920913bc695447416078ee6d119f443f3060feffa4e86b5"4168checksum = "aff425cee7c779e33920913bc695447416078ee6d119f443f3060feffa4e86b5"
3826dependencies = [4169dependencies = [
3827 "jsonrpsee-client-transport",4170 "jsonrpsee-client-transport 0.8.0",
3828 "jsonrpsee-core",4171 "jsonrpsee-core 0.8.0",
3829 "jsonrpsee-types 0.8.0",4172 "jsonrpsee-types 0.8.0",
3830]4173]
4174
4175[[package]]
4176name = "jsonrpsee-ws-client"
4177version = "0.9.0"
4178source = "registry+https://github.com/rust-lang/crates.io-index"
4179checksum = "31b58983485b2b626c276f1eb367d62dae82132451b281072a7bfa536a33ddf3"
4180dependencies = [
4181 "jsonrpsee-client-transport 0.9.0",
4182 "jsonrpsee-core 0.9.0",
4183 "jsonrpsee-types 0.9.0",
4184]
4185
4186[[package]]
4187name = "k256"
4188version = "0.10.4"
4189source = "registry+https://github.com/rust-lang/crates.io-index"
4190checksum = "19c3a5e0a0b8450278feda242592512e09f61c72e018b8cd5c859482802daf2d"
4191dependencies = [
4192 "cfg-if 1.0.0",
4193 "ecdsa",
4194 "elliptic-curve",
4195 "sec1",
4196]
38314197
3832[[package]]4198[[package]]
3833name = "keccak"4199name = "keccak"
38474213
3848[[package]]4214[[package]]
3849name = "kusama-runtime"4215name = "kusama-runtime"
3850version = "0.9.17"4216version = "0.9.18"
3851source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"4217source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
3852dependencies = [4218dependencies = [
3853 "beefy-primitives",4219 "beefy-primitives",
3854 "bitvec",4220 "bitvec",
39354301
3936[[package]]4302[[package]]
3937name = "kusama-runtime-constants"4303name = "kusama-runtime-constants"
3938version = "0.9.17"4304version = "0.9.18"
3939source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"4305source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
3940dependencies = [4306dependencies = [
3941 "frame-support",4307 "frame-support",
3942 "polkadot-primitives",4308 "polkadot-primitives",
39564322
3957[[package]]4323[[package]]
3958name = "kvdb"4324name = "kvdb"
3959version = "0.10.0"4325version = "0.11.0"
3960source = "registry+https://github.com/rust-lang/crates.io-index"4326source = "registry+https://github.com/rust-lang/crates.io-index"
3961checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512"4327checksum = "a301d8ecb7989d4a6e2c57a49baca77d353bdbf879909debe3f375fe25d61f86"
3962dependencies = [4328dependencies = [
3963 "parity-util-mem",4329 "parity-util-mem",
3964 "smallvec",4330 "smallvec",
3965]4331]
39664332
3967[[package]]4333[[package]]
3968name = "kvdb-memorydb"4334name = "kvdb-memorydb"
3969version = "0.10.0"4335version = "0.11.0"
3970source = "registry+https://github.com/rust-lang/crates.io-index"4336source = "registry+https://github.com/rust-lang/crates.io-index"
3971checksum = "c3b6b85fc643f5acd0bffb2cc8a6d150209379267af0d41db72170021841f9f5"4337checksum = "ece7e668abd21387aeb6628130a6f4c802787f014fa46bc83221448322250357"
3972dependencies = [4338dependencies = [
3973 "kvdb",4339 "kvdb",
3974 "parity-util-mem",4340 "parity-util-mem",
3975 "parking_lot 0.11.2",4341 "parking_lot 0.12.0",
3976]4342]
39774343
3978[[package]]4344[[package]]
3979name = "kvdb-rocksdb"4345name = "kvdb-rocksdb"
3980version = "0.14.0"4346version = "0.15.2"
3981source = "registry+https://github.com/rust-lang/crates.io-index"4347source = "registry+https://github.com/rust-lang/crates.io-index"
3982checksum = "9b1b6ea8f2536f504b645ad78419c8246550e19d2c3419a167080ce08edee35a"4348checksum = "ca7fbdfd71cd663dceb0faf3367a99f8cf724514933e9867cec4995b6027cbc1"
3983dependencies = [4349dependencies = [
3984 "fs-swap",4350 "fs-swap",
3985 "kvdb",4351 "kvdb",
3986 "log",4352 "log",
3987 "num_cpus",4353 "num_cpus",
3988 "owning_ref",4354 "owning_ref",
3989 "parity-util-mem",4355 "parity-util-mem",
3990 "parking_lot 0.11.2",4356 "parking_lot 0.12.0",
3991 "regex",4357 "regex",
3992 "rocksdb",4358 "rocksdb",
3993 "smallvec",4359 "smallvec",
40074373
4008[[package]]4374[[package]]
4009name = "libc"4375name = "libc"
4010version = "0.2.119"4376version = "0.2.121"
4011source = "registry+https://github.com/rust-lang/crates.io-index"4377source = "registry+https://github.com/rust-lang/crates.io-index"
4012checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"4378checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f"
40134379
4014[[package]]4380[[package]]
4015name = "libloading"4381name = "libloading"
4403 "libp2p-core",4769 "libp2p-core",
4404 "libp2p-swarm",4770 "libp2p-swarm",
4405 "log",4771 "log",
4406 "lru 0.7.2",4772 "lru 0.7.3",
4407 "rand 0.7.3",4773 "rand 0.7.3",
4408 "smallvec",4774 "smallvec",
4409 "unsigned-varint 0.7.1",4775 "unsigned-varint 0.7.1",
45124878
4513[[package]]4879[[package]]
4514name = "librocksdb-sys"4880name = "librocksdb-sys"
4515version = "6.20.3"4881version = "0.6.1+6.28.2"
4516source = "registry+https://github.com/rust-lang/crates.io-index"4882source = "registry+https://github.com/rust-lang/crates.io-index"
4517checksum = "c309a9d2470844aceb9a4a098cf5286154d20596868b75a6b36357d2bb9ca25d"4883checksum = "81bc587013734dadb7cf23468e531aa120788b87243648be42e2d3a072186291"
4518dependencies = [4884dependencies = [
4519 "bindgen",4885 "bindgen",
4886 "bzip2-sys",
4520 "cc",4887 "cc",
4521 "glob",4888 "glob",
4522 "libc",4889 "libc",
4890 "libz-sys",
4891 "tikv-jemalloc-sys",
4523]4892]
45244893
4525[[package]]4894[[package]]
45884957
4589[[package]]4958[[package]]
4590name = "libz-sys"4959name = "libz-sys"
4591version = "1.1.3"4960version = "1.1.5"
4592source = "registry+https://github.com/rust-lang/crates.io-index"4961source = "registry+https://github.com/rust-lang/crates.io-index"
4593checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66"4962checksum = "6f35facd4a5673cb5a48822be2be1d4236c1c99cb4113cab7061ac720d5bf859"
4594dependencies = [4963dependencies = [
4595 "cc",4964 "cc",
4596 "pkg-config",4965 "pkg-config",
4628source = "registry+https://github.com/rust-lang/crates.io-index"4997source = "registry+https://github.com/rust-lang/crates.io-index"
4629checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca"4998checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca"
4630
4631[[package]]
4632name = "lock_api"
4633version = "0.3.4"
4634source = "registry+https://github.com/rust-lang/crates.io-index"
4635checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"
4636dependencies = [
4637 "scopeguard",
4638]
46394999
4640[[package]]5000[[package]]
4641name = "lock_api"5001name = "lock_api"
46485008
4649[[package]]5009[[package]]
4650name = "log"5010name = "log"
4651version = "0.4.14"5011version = "0.4.16"
4652source = "registry+https://github.com/rust-lang/crates.io-index"5012source = "registry+https://github.com/rust-lang/crates.io-index"
4653checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"5013checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8"
4654dependencies = [5014dependencies = [
4655 "cfg-if 1.0.0",5015 "cfg-if 1.0.0",
4656 "value-bag",5016 "value-bag",
46675027
4668[[package]]5028[[package]]
4669name = "lru"5029name = "lru"
4670version = "0.7.2"5030version = "0.7.3"
4671source = "registry+https://github.com/rust-lang/crates.io-index"5031source = "registry+https://github.com/rust-lang/crates.io-index"
4672checksum = "274353858935c992b13c0ca408752e2121da852d07dec7ce5f108c77dfa14d1f"5032checksum = "fcb87f3080f6d1d69e8c564c0fcfde1d7aa8cc451ce40cae89479111f03bc0eb"
4673dependencies = [5033dependencies = [
4674 "hashbrown 0.11.2",5034 "hashbrown 0.11.2",
4675]5035]
46855045
4686[[package]]5046[[package]]
4687name = "lz4"5047name = "lz4"
4688version = "1.23.2"5048version = "1.23.3"
4689source = "registry+https://github.com/rust-lang/crates.io-index"5049source = "registry+https://github.com/rust-lang/crates.io-index"
4690checksum = "aac20ed6991e01bf6a2e68cc73df2b389707403662a8ba89f68511fb340f724c"5050checksum = "4edcb94251b1c375c459e5abe9fb0168c1c826c3370172684844f8f3f8d1a885"
4691dependencies = [5051dependencies = [
4692 "libc",5052 "libc",
4693 "lz4-sys",5053 "lz4-sys",
4694]5054]
46955055
4696[[package]]5056[[package]]
4697name = "lz4-sys"5057name = "lz4-sys"
4698version = "1.9.2"5058version = "1.9.3"
4699source = "registry+https://github.com/rust-lang/crates.io-index"5059source = "registry+https://github.com/rust-lang/crates.io-index"
4700checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae"5060checksum = "d7be8908e2ed6f31c02db8a9fa962f03e36c53fbfde437363eae3306b85d7e17"
4701dependencies = [5061dependencies = [
4702 "cc",5062 "cc",
4703 "libc",5063 "libc",
47835143
4784[[package]]5144[[package]]
4785name = "memory-db"5145name = "memory-db"
4786version = "0.28.0"5146version = "0.29.0"
4787source = "registry+https://github.com/rust-lang/crates.io-index"5147source = "registry+https://github.com/rust-lang/crates.io-index"
4788checksum = "d505169b746dacf02f7d14d8c80b34edfd8212159c63d23c977739a0d960c626"5148checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a"
4789dependencies = [5149dependencies = [
4790 "hash-db",5150 "hash-db",
4791 "hashbrown 0.11.2",5151 "hashbrown 0.12.0",
4792 "parity-util-mem",5152 "parity-util-mem",
4793]5153]
47945154
48215181
4822[[package]]5182[[package]]
4823name = "metered-channel"5183name = "metered-channel"
4824version = "0.9.17"5184version = "0.9.18"
4825source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"5185source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
4826dependencies = [5186dependencies = [
4827 "derive_more",5187 "derive_more",
4828 "futures 0.3.21",5188 "futures 0.3.21",
48335193
4834[[package]]5194[[package]]
4835name = "mick-jaeger"5195name = "mick-jaeger"
4836version = "0.1.7"5196version = "0.1.8"
4837source = "registry+https://github.com/rust-lang/crates.io-index"5197source = "registry+https://github.com/rust-lang/crates.io-index"
4838checksum = "fd2c2cc134e57461f0898b0e921f0a7819b5e3f3a4335b9aa390ce81a5f36fb9"5198checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532"
4839dependencies = [5199dependencies = [
4840 "futures 0.3.21",5200 "futures 0.3.21",
4841 "rand 0.8.5",5201 "rand 0.8.5",
48795239
4880[[package]]5240[[package]]
4881name = "mio"5241name = "mio"
4882version = "0.8.0"5242version = "0.8.2"
4883source = "registry+https://github.com/rust-lang/crates.io-index"5243source = "registry+https://github.com/rust-lang/crates.io-index"
4884checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2"5244checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9"
4885dependencies = [5245dependencies = [
4886 "libc",5246 "libc",
4887 "log",5247 "log",
4888 "miow 0.3.7",5248 "miow 0.3.7",
4889 "ntapi",5249 "ntapi",
5250 "wasi 0.11.0+wasi-snapshot-preview1",
4890 "winapi 0.3.9",5251 "winapi 0.3.9",
4891]5252]
48925253
4966dependencies = [5327dependencies = [
4967 "blake2b_simd",5328 "blake2b_simd",
4968 "blake2s_simd",5329 "blake2s_simd",
4969 "blake3",5330 "blake3 0.3.8",
4970 "digest 0.9.0",5331 "digest 0.9.0",
4971 "generic-array 0.14.5",5332 "generic-array 0.14.5",
4972 "multihash-derive",5333 "multihash-derive",
50855446
5086[[package]]5447[[package]]
5087name = "nom"5448name = "nom"
5088version = "7.1.0"5449version = "7.1.1"
5089source = "registry+https://github.com/rust-lang/crates.io-index"5450source = "registry+https://github.com/rust-lang/crates.io-index"
5090checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109"5451checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
5091dependencies = [5452dependencies = [
5092 "memchr",5453 "memchr",
5093 "minimal-lexical",5454 "minimal-lexical",
5094 "version_check",
5095]5455]
50965456
5097[[package]]5457[[package]]
5123 "num-traits",5483 "num-traits",
5124]5484]
5485
5486[[package]]
5487name = "num-format"
5488version = "0.4.0"
5489source = "registry+https://github.com/rust-lang/crates.io-index"
5490checksum = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465"
5491dependencies = [
5492 "arrayvec 0.4.12",
5493 "itoa 0.4.8",
5494]
51255495
5126[[package]]5496[[package]]
5127name = "num-integer"5497name = "num-integer"
51895559
5190[[package]]5560[[package]]
5191name = "once_cell"5561name = "once_cell"
5192version = "1.9.0"5562version = "1.10.0"
5193source = "registry+https://github.com/rust-lang/crates.io-index"5563source = "registry+https://github.com/rust-lang/crates.io-index"
5194checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5"5564checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"
5565
5566[[package]]
5567name = "opal-runtime"
5568version = "0.1.0"
5569dependencies = [
5570 "cumulus-pallet-aura-ext",
5571 "cumulus-pallet-dmp-queue",
5572 "cumulus-pallet-parachain-system",
5573 "cumulus-pallet-xcm",
5574 "cumulus-pallet-xcmp-queue",
5575 "cumulus-primitives-core",
5576 "cumulus-primitives-timestamp",
5577 "cumulus-primitives-utility",
5578 "derivative",
5579 "fp-rpc",
5580 "fp-self-contained",
5581 "frame-benchmarking",
5582 "frame-executive",
5583 "frame-support",
5584 "frame-system",
5585 "frame-system-benchmarking",
5586 "frame-system-rpc-runtime-api",
5587 "hex-literal",
5588 "orml-vesting",
5589 "pallet-aura",
5590 "pallet-balances",
5591 "pallet-base-fee",
5592 "pallet-common",
5593 "pallet-ethereum",
5594 "pallet-evm",
5595 "pallet-evm-coder-substrate",
5596 "pallet-evm-contract-helpers",
5597 "pallet-evm-migration",
5598 "pallet-evm-transaction-payment",
5599 "pallet-fungible",
5600 "pallet-inflation",
5601 "pallet-nonfungible",
5602 "pallet-randomness-collective-flip",
5603 "pallet-refungible",
5604 "pallet-sudo",
5605 "pallet-template-transaction-payment",
5606 "pallet-timestamp",
5607 "pallet-transaction-payment",
5608 "pallet-transaction-payment-rpc-runtime-api",
5609 "pallet-treasury",
5610 "pallet-unique",
5611 "pallet-unq-scheduler",
5612 "pallet-xcm",
5613 "parachain-info",
5614 "parity-scale-codec",
5615 "polkadot-parachain",
5616 "scale-info",
5617 "serde",
5618 "smallvec",
5619 "sp-api",
5620 "sp-arithmetic",
5621 "sp-block-builder",
5622 "sp-consensus-aura",
5623 "sp-core",
5624 "sp-inherents",
5625 "sp-io",
5626 "sp-offchain",
5627 "sp-runtime",
5628 "sp-session",
5629 "sp-std",
5630 "sp-transaction-pool",
5631 "sp-version",
5632 "substrate-wasm-builder",
5633 "unique-runtime-common",
5634 "up-data-structs",
5635 "up-evm-mapping",
5636 "up-rpc",
5637 "xcm",
5638 "xcm-builder",
5639 "xcm-executor",
5640]
51955641
5196[[package]]5642[[package]]
5197name = "opaque-debug"5643name = "opaque-debug"
5246[[package]]5692[[package]]
5247name = "orml-vesting"5693name = "orml-vesting"
5248version = "0.4.1-dev"5694version = "0.4.1-dev"
5249source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.17#8cea7142d6ac4471e226e92c20005794e8e78063"5695source = "git+https://github.com/UniqueNetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.18#4690ac0d5e85a35351608d27c4304dfc6df4eb03"
5250dependencies = [5696dependencies = [
5251 "frame-support",5697 "frame-support",
5252 "frame-system",5698 "frame-system",
5279[[package]]5725[[package]]
5280name = "pallet-aura"5726name = "pallet-aura"
5281version = "4.0.0-dev"5727version = "4.0.0-dev"
5282source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5728source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5283dependencies = [5729dependencies = [
5284 "frame-support",5730 "frame-support",
5285 "frame-system",5731 "frame-system",
5295[[package]]5741[[package]]
5296name = "pallet-authority-discovery"5742name = "pallet-authority-discovery"
5297version = "4.0.0-dev"5743version = "4.0.0-dev"
5298source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5744source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5299dependencies = [5745dependencies = [
5300 "frame-support",5746 "frame-support",
5301 "frame-system",5747 "frame-system",
5311[[package]]5757[[package]]
5312name = "pallet-authorship"5758name = "pallet-authorship"
5313version = "4.0.0-dev"5759version = "4.0.0-dev"
5314source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5760source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5315dependencies = [5761dependencies = [
5316 "frame-support",5762 "frame-support",
5317 "frame-system",5763 "frame-system",
5326[[package]]5772[[package]]
5327name = "pallet-babe"5773name = "pallet-babe"
5328version = "4.0.0-dev"5774version = "4.0.0-dev"
5329source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5775source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5330dependencies = [5776dependencies = [
5331 "frame-benchmarking",5777 "frame-benchmarking",
5332 "frame-support",5778 "frame-support",
5350[[package]]5796[[package]]
5351name = "pallet-bags-list"5797name = "pallet-bags-list"
5352version = "4.0.0-dev"5798version = "4.0.0-dev"
5353source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5799source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5354dependencies = [5800dependencies = [
5355 "frame-benchmarking",5801 "frame-benchmarking",
5356 "frame-election-provider-support",5802 "frame-election-provider-support",
5370[[package]]5816[[package]]
5371name = "pallet-balances"5817name = "pallet-balances"
5372version = "4.0.0-dev"5818version = "4.0.0-dev"
5373source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5819source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5374dependencies = [5820dependencies = [
5375 "frame-benchmarking",5821 "frame-benchmarking",
5376 "frame-support",5822 "frame-support",
5385[[package]]5831[[package]]
5386name = "pallet-base-fee"5832name = "pallet-base-fee"
5387version = "1.0.0"5833version = "1.0.0"
5388source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"5834source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
5389dependencies = [5835dependencies = [
5390 "frame-support",5836 "frame-support",
5391 "frame-system",5837 "frame-system",
5400[[package]]5846[[package]]
5401name = "pallet-beefy"5847name = "pallet-beefy"
5402version = "4.0.0-dev"5848version = "4.0.0-dev"
5403source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5849source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5404dependencies = [5850dependencies = [
5405 "beefy-primitives",5851 "beefy-primitives",
5406 "frame-support",5852 "frame-support",
5416[[package]]5862[[package]]
5417name = "pallet-beefy-mmr"5863name = "pallet-beefy-mmr"
5418version = "4.0.0-dev"5864version = "4.0.0-dev"
5419source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5865source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5420dependencies = [5866dependencies = [
5421 "beefy-merkle-tree",5867 "beefy-merkle-tree",
5422 "beefy-primitives",5868 "beefy-primitives",
5423 "frame-support",5869 "frame-support",
5424 "frame-system",5870 "frame-system",
5425 "hex",5871 "hex",
5426 "libsecp256k1 0.7.0",5872 "k256",
5427 "log",5873 "log",
5428 "pallet-beefy",5874 "pallet-beefy",
5429 "pallet-mmr",5875 "pallet-mmr",
5441[[package]]5887[[package]]
5442name = "pallet-bounties"5888name = "pallet-bounties"
5443version = "4.0.0-dev"5889version = "4.0.0-dev"
5444source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5890source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5445dependencies = [5891dependencies = [
5446 "frame-benchmarking",5892 "frame-benchmarking",
5447 "frame-support",5893 "frame-support",
5459[[package]]5905[[package]]
5460name = "pallet-bridge-dispatch"5906name = "pallet-bridge-dispatch"
5461version = "0.1.0"5907version = "0.1.0"
5462source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"5908source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
5463dependencies = [5909dependencies = [
5464 "bp-message-dispatch",5910 "bp-message-dispatch",
5465 "bp-runtime",5911 "bp-runtime",
5476[[package]]5922[[package]]
5477name = "pallet-bridge-grandpa"5923name = "pallet-bridge-grandpa"
5478version = "0.1.0"5924version = "0.1.0"
5479source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"5925source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
5480dependencies = [5926dependencies = [
5481 "bp-header-chain",5927 "bp-header-chain",
5482 "bp-runtime",5928 "bp-runtime",
5498[[package]]5944[[package]]
5499name = "pallet-bridge-messages"5945name = "pallet-bridge-messages"
5500version = "0.1.0"5946version = "0.1.0"
5501source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"5947source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
5502dependencies = [5948dependencies = [
5503 "bitvec",5949 "bitvec",
5504 "bp-message-dispatch",5950 "bp-message-dispatch",
5519[[package]]5965[[package]]
5520name = "pallet-collective"5966name = "pallet-collective"
5521version = "4.0.0-dev"5967version = "4.0.0-dev"
5522source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"5968source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5523dependencies = [5969dependencies = [
5524 "frame-benchmarking",5970 "frame-benchmarking",
5525 "frame-support",5971 "frame-support",
5555[[package]]6001[[package]]
5556name = "pallet-democracy"6002name = "pallet-democracy"
5557version = "4.0.0-dev"6003version = "4.0.0-dev"
5558source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6004source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5559dependencies = [6005dependencies = [
5560 "frame-benchmarking",6006 "frame-benchmarking",
5561 "frame-support",6007 "frame-support",
5571[[package]]6017[[package]]
5572name = "pallet-election-provider-multi-phase"6018name = "pallet-election-provider-multi-phase"
5573version = "4.0.0-dev"6019version = "4.0.0-dev"
5574source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6020source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5575dependencies = [6021dependencies = [
5576 "frame-benchmarking",6022 "frame-benchmarking",
5577 "frame-election-provider-support",6023 "frame-election-provider-support",
5588 "sp-runtime",6034 "sp-runtime",
5589 "sp-std",6035 "sp-std",
5590 "static_assertions",6036 "static_assertions",
5591 "strum",6037 "strum 0.23.0",
5592]6038]
55936039
5594[[package]]6040[[package]]
5595name = "pallet-elections-phragmen"6041name = "pallet-elections-phragmen"
5596version = "5.0.0-dev"6042version = "5.0.0-dev"
5597source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6043source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5598dependencies = [6044dependencies = [
5599 "frame-benchmarking",6045 "frame-benchmarking",
5600 "frame-support",6046 "frame-support",
5612[[package]]6058[[package]]
5613name = "pallet-ethereum"6059name = "pallet-ethereum"
5614version = "4.0.0-dev"6060version = "4.0.0-dev"
5615source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"6061source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
5616dependencies = [6062dependencies = [
5617 "ethereum",6063 "ethereum",
5618 "ethereum-types",6064 "ethereum-types",
5642[[package]]6088[[package]]
5643name = "pallet-evm"6089name = "pallet-evm"
5644version = "6.0.0-dev"6090version = "6.0.0-dev"
5645source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.17#f08656c065b5d7ba35393cd5d57a19b1997e382c"6091source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.18#7c8ce8f83e0c8a5b57655622b721f8655b161903"
5646dependencies = [6092dependencies = [
5647 "evm",6093 "evm",
5648 "evm-gasometer",6094 "evm-gasometer",
5657 "pallet-balances",6103 "pallet-balances",
5658 "pallet-timestamp",6104 "pallet-timestamp",
5659 "parity-scale-codec",6105 "parity-scale-codec",
5660 "primitive-types 0.9.1",6106 "primitive-types",
5661 "rlp",6107 "rlp",
5662 "scale-info",6108 "scale-info",
5663 "serde",6109 "serde",
5761[[package]]6207[[package]]
5762name = "pallet-gilt"6208name = "pallet-gilt"
5763version = "4.0.0-dev"6209version = "4.0.0-dev"
5764source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6210source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5765dependencies = [6211dependencies = [
5766 "frame-benchmarking",6212 "frame-benchmarking",
5767 "frame-support",6213 "frame-support",
5776[[package]]6222[[package]]
5777name = "pallet-grandpa"6223name = "pallet-grandpa"
5778version = "4.0.0-dev"6224version = "4.0.0-dev"
5779source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6225source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5780dependencies = [6226dependencies = [
5781 "frame-benchmarking",6227 "frame-benchmarking",
5782 "frame-support",6228 "frame-support",
5799[[package]]6245[[package]]
5800name = "pallet-identity"6246name = "pallet-identity"
5801version = "4.0.0-dev"6247version = "4.0.0-dev"
5802source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6248source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5803dependencies = [6249dependencies = [
5804 "enumflags2",6250 "enumflags2",
5805 "frame-benchmarking",6251 "frame-benchmarking",
5815[[package]]6261[[package]]
5816name = "pallet-im-online"6262name = "pallet-im-online"
5817version = "4.0.0-dev"6263version = "4.0.0-dev"
5818source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6264source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5819dependencies = [6265dependencies = [
5820 "frame-benchmarking",6266 "frame-benchmarking",
5821 "frame-support",6267 "frame-support",
5835[[package]]6281[[package]]
5836name = "pallet-indices"6282name = "pallet-indices"
5837version = "4.0.0-dev"6283version = "4.0.0-dev"
5838source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6284source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5839dependencies = [6285dependencies = [
5840 "frame-benchmarking",6286 "frame-benchmarking",
5841 "frame-support",6287 "frame-support",
5871[[package]]6317[[package]]
5872name = "pallet-membership"6318name = "pallet-membership"
5873version = "4.0.0-dev"6319version = "4.0.0-dev"
5874source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6320source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5875dependencies = [6321dependencies = [
5876 "frame-benchmarking",6322 "frame-benchmarking",
5877 "frame-support",6323 "frame-support",
5888[[package]]6334[[package]]
5889name = "pallet-mmr"6335name = "pallet-mmr"
5890version = "4.0.0-dev"6336version = "4.0.0-dev"
5891source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6337source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5892dependencies = [6338dependencies = [
5893 "ckb-merkle-mountain-range",6339 "ckb-merkle-mountain-range",
5894 "frame-benchmarking",6340 "frame-benchmarking",
5906[[package]]6352[[package]]
5907name = "pallet-mmr-primitives"6353name = "pallet-mmr-primitives"
5908version = "4.0.0-dev"6354version = "4.0.0-dev"
5909source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6355source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5910dependencies = [6356dependencies = [
5911 "frame-support",6357 "frame-support",
5912 "frame-system",6358 "frame-system",
5922[[package]]6368[[package]]
5923name = "pallet-mmr-rpc"6369name = "pallet-mmr-rpc"
5924version = "3.0.0"6370version = "3.0.0"
5925source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6371source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5926dependencies = [6372dependencies = [
5927 "jsonrpc-core",6373 "jsonrpc-core",
5928 "jsonrpc-core-client",6374 "jsonrpc-core-client",
5939[[package]]6385[[package]]
5940name = "pallet-multisig"6386name = "pallet-multisig"
5941version = "4.0.0-dev"6387version = "4.0.0-dev"
5942source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6388source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5943dependencies = [6389dependencies = [
5944 "frame-benchmarking",6390 "frame-benchmarking",
5945 "frame-support",6391 "frame-support",
5954[[package]]6400[[package]]
5955name = "pallet-nicks"6401name = "pallet-nicks"
5956version = "4.0.0-dev"6402version = "4.0.0-dev"
5957source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6403source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5958dependencies = [6404dependencies = [
5959 "frame-support",6405 "frame-support",
5960 "frame-system",6406 "frame-system",
5987[[package]]6433[[package]]
5988name = "pallet-offences"6434name = "pallet-offences"
5989version = "4.0.0-dev"6435version = "4.0.0-dev"
5990source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6436source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
5991dependencies = [6437dependencies = [
5992 "frame-support",6438 "frame-support",
5993 "frame-system",6439 "frame-system",
6004[[package]]6450[[package]]
6005name = "pallet-offences-benchmarking"6451name = "pallet-offences-benchmarking"
6006version = "4.0.0-dev"6452version = "4.0.0-dev"
6007source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6453source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6008dependencies = [6454dependencies = [
6009 "frame-benchmarking",6455 "frame-benchmarking",
6010 "frame-election-provider-support",6456 "frame-election-provider-support",
6027[[package]]6473[[package]]
6028name = "pallet-preimage"6474name = "pallet-preimage"
6029version = "4.0.0-dev"6475version = "4.0.0-dev"
6030source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6476source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6031dependencies = [6477dependencies = [
6032 "frame-benchmarking",6478 "frame-benchmarking",
6033 "frame-support",6479 "frame-support",
6043[[package]]6489[[package]]
6044name = "pallet-proxy"6490name = "pallet-proxy"
6045version = "4.0.0-dev"6491version = "4.0.0-dev"
6046source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6492source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6047dependencies = [6493dependencies = [
6048 "frame-benchmarking",6494 "frame-benchmarking",
6049 "frame-support",6495 "frame-support",
6058[[package]]6504[[package]]
6059name = "pallet-randomness-collective-flip"6505name = "pallet-randomness-collective-flip"
6060version = "4.0.0-dev"6506version = "4.0.0-dev"
6061source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6507source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6062dependencies = [6508dependencies = [
6063 "frame-support",6509 "frame-support",
6064 "frame-system",6510 "frame-system",
6072[[package]]6518[[package]]
6073name = "pallet-recovery"6519name = "pallet-recovery"
6074version = "4.0.0-dev"6520version = "4.0.0-dev"
6075source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6521source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6076dependencies = [6522dependencies = [
6077 "frame-support",6523 "frame-support",
6078 "frame-system",6524 "frame-system",
6102[[package]]6548[[package]]
6103name = "pallet-scheduler"6549name = "pallet-scheduler"
6104version = "4.0.0-dev"6550version = "4.0.0-dev"
6105source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6551source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6106dependencies = [6552dependencies = [
6107 "frame-benchmarking",6553 "frame-benchmarking",
6108 "frame-support",6554 "frame-support",
6118[[package]]6564[[package]]
6119name = "pallet-session"6565name = "pallet-session"
6120version = "4.0.0-dev"6566version = "4.0.0-dev"
6121source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6567source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6122dependencies = [6568dependencies = [
6123 "frame-support",6569 "frame-support",
6124 "frame-system",6570 "frame-system",
6139[[package]]6585[[package]]
6140name = "pallet-session-benchmarking"6586name = "pallet-session-benchmarking"
6141version = "4.0.0-dev"6587version = "4.0.0-dev"
6142source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6588source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6143dependencies = [6589dependencies = [
6144 "frame-benchmarking",6590 "frame-benchmarking",
6145 "frame-support",6591 "frame-support",
6155[[package]]6601[[package]]
6156name = "pallet-society"6602name = "pallet-society"
6157version = "4.0.0-dev"6603version = "4.0.0-dev"
6158source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6604source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6159dependencies = [6605dependencies = [
6160 "frame-support",6606 "frame-support",
6161 "frame-system",6607 "frame-system",
6169[[package]]6615[[package]]
6170name = "pallet-staking"6616name = "pallet-staking"
6171version = "4.0.0-dev"6617version = "4.0.0-dev"
6172source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6618source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6173dependencies = [6619dependencies = [
6174 "frame-benchmarking",6620 "frame-benchmarking",
6175 "frame-election-provider-support",6621 "frame-election-provider-support",
6192[[package]]6638[[package]]
6193name = "pallet-staking-reward-curve"6639name = "pallet-staking-reward-curve"
6194version = "4.0.0-dev"6640version = "4.0.0-dev"
6195source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6641source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6196dependencies = [6642dependencies = [
6197 "proc-macro-crate 1.1.3",6643 "proc-macro-crate 1.1.3",
6198 "proc-macro2",6644 "proc-macro2",
6203[[package]]6649[[package]]
6204name = "pallet-staking-reward-fn"6650name = "pallet-staking-reward-fn"
6205version = "4.0.0-dev"6651version = "4.0.0-dev"
6206source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6652source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6207dependencies = [6653dependencies = [
6208 "log",6654 "log",
6209 "sp-arithmetic",6655 "sp-arithmetic",
6212[[package]]6658[[package]]
6213name = "pallet-sudo"6659name = "pallet-sudo"
6214version = "4.0.0-dev"6660version = "4.0.0-dev"
6215source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6661source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6216dependencies = [6662dependencies = [
6217 "frame-support",6663 "frame-support",
6218 "frame-system",6664 "frame-system",
6226[[package]]6672[[package]]
6227name = "pallet-template-transaction-payment"6673name = "pallet-template-transaction-payment"
6228version = "3.0.0"6674version = "3.0.0"
6229source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.17#d9553babbc1cfdd44794cb0118dbb1491670e97e"6675source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#e914a799e5ff1c18383a614ea99e87dd7f3f446e"
6230dependencies = [6676dependencies = [
6231 "frame-benchmarking",6677 "frame-benchmarking",
6232 "frame-support",6678 "frame-support",
6246[[package]]6692[[package]]
6247name = "pallet-timestamp"6693name = "pallet-timestamp"
6248version = "4.0.0-dev"6694version = "4.0.0-dev"
6249source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6695source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6250dependencies = [6696dependencies = [
6251 "frame-benchmarking",6697 "frame-benchmarking",
6252 "frame-support",6698 "frame-support",
6264[[package]]6710[[package]]
6265name = "pallet-tips"6711name = "pallet-tips"
6266version = "4.0.0-dev"6712version = "4.0.0-dev"
6267source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6713source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6268dependencies = [6714dependencies = [
6269 "frame-benchmarking",6715 "frame-benchmarking",
6270 "frame-support",6716 "frame-support",
6283[[package]]6729[[package]]
6284name = "pallet-transaction-payment"6730name = "pallet-transaction-payment"
6285version = "4.0.0-dev"6731version = "4.0.0-dev"
6286source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6732source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6287dependencies = [6733dependencies = [
6288 "frame-support",6734 "frame-support",
6289 "frame-system",6735 "frame-system",
6300[[package]]6746[[package]]
6301name = "pallet-transaction-payment-rpc"6747name = "pallet-transaction-payment-rpc"
6302version = "4.0.0-dev"6748version = "4.0.0-dev"
6303source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6749source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6304dependencies = [6750dependencies = [
6305 "jsonrpc-core",6751 "jsonrpc-core",
6306 "jsonrpc-core-client",6752 "jsonrpc-core-client",
6317[[package]]6763[[package]]
6318name = "pallet-transaction-payment-rpc-runtime-api"6764name = "pallet-transaction-payment-rpc-runtime-api"
6319version = "4.0.0-dev"6765version = "4.0.0-dev"
6320source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6766source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6321dependencies = [6767dependencies = [
6322 "pallet-transaction-payment",6768 "pallet-transaction-payment",
6323 "parity-scale-codec",6769 "parity-scale-codec",
6328[[package]]6774[[package]]
6329name = "pallet-treasury"6775name = "pallet-treasury"
6330version = "4.0.0-dev"6776version = "4.0.0-dev"
6331source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6777source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6332dependencies = [6778dependencies = [
6333 "frame-benchmarking",6779 "frame-benchmarking",
6334 "frame-support",6780 "frame-support",
6365 "pallet-timestamp",6811 "pallet-timestamp",
6366 "pallet-transaction-payment",6812 "pallet-transaction-payment",
6367 "parity-scale-codec",6813 "parity-scale-codec",
6368 "primitive-types 0.10.1",6814 "primitive-types",
6369 "rlp",6815 "rlp",
6370 "scale-info",6816 "scale-info",
6371 "serde",6817 "serde",
6401[[package]]6847[[package]]
6402name = "pallet-utility"6848name = "pallet-utility"
6403version = "4.0.0-dev"6849version = "4.0.0-dev"
6404source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6850source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6405dependencies = [6851dependencies = [
6406 "frame-benchmarking",6852 "frame-benchmarking",
6407 "frame-support",6853 "frame-support",
6417[[package]]6863[[package]]
6418name = "pallet-vesting"6864name = "pallet-vesting"
6419version = "4.0.0-dev"6865version = "4.0.0-dev"
6420source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"6866source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
6421dependencies = [6867dependencies = [
6422 "frame-benchmarking",6868 "frame-benchmarking",
6423 "frame-support",6869 "frame-support",
64316877
6432[[package]]6878[[package]]
6433name = "pallet-xcm"6879name = "pallet-xcm"
6434version = "0.9.17"6880version = "0.9.18"
6435source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"6881source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6436dependencies = [6882dependencies = [
6437 "frame-support",6883 "frame-support",
6438 "frame-system",6884 "frame-system",
64496895
6450[[package]]6896[[package]]
6451name = "pallet-xcm-benchmarks"6897name = "pallet-xcm-benchmarks"
6452version = "0.9.17"6898version = "0.9.18"
6453source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"6899source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6454dependencies = [6900dependencies = [
6455 "frame-benchmarking",6901 "frame-benchmarking",
6456 "frame-support",6902 "frame-support",
6467[[package]]6913[[package]]
6468name = "parachain-info"6914name = "parachain-info"
6469version = "0.1.0"6915version = "0.1.0"
6470source = "git+https://github.com/uniqueNetwork/cumulus.git?branch=polkadot-v0.9.17#0f5779b5e9f1e8bd851aaa94dad15870078d9528"6916source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.18#b1e91afb7421309b203d7627b736d9bcf58260eb"
6471dependencies = [6917dependencies = [
6472 "cumulus-primitives-core",6918 "cumulus-primitives-core",
6473 "frame-support",6919 "frame-support",
64796925
6480[[package]]6926[[package]]
6481name = "parity-db"6927name = "parity-db"
6482version = "0.3.7"6928version = "0.3.9"
6483source = "registry+https://github.com/rust-lang/crates.io-index"6929source = "registry+https://github.com/rust-lang/crates.io-index"
6484checksum = "09aa6c5bb8070cf0456d9fc228b3022e900aae9092c48c9c45facf97422efc1d"6930checksum = "3d121a9af17a43efd0a38c6afa508b927ba07785bd4709efb2ac03bf77efef8d"
6485dependencies = [6931dependencies = [
6486 "blake2-rfc",6932 "blake2-rfc",
6487 "crc32fast",6933 "crc32fast",
64986944
6499[[package]]6945[[package]]
6500name = "parity-scale-codec"6946name = "parity-scale-codec"
6501version = "2.3.1"6947version = "3.1.2"
6502source = "registry+https://github.com/rust-lang/crates.io-index"6948source = "registry+https://github.com/rust-lang/crates.io-index"
6503checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909"6949checksum = "e8b44461635bbb1a0300f100a841e571e7d919c81c73075ef5d152ffdb521066"
6504dependencies = [6950dependencies = [
6505 "arrayvec 0.7.2",6951 "arrayvec 0.7.2",
6506 "bitvec",6952 "bitvec",
65126958
6513[[package]]6959[[package]]
6514name = "parity-scale-codec-derive"6960name = "parity-scale-codec-derive"
6515version = "2.3.1"6961version = "3.1.2"
6516source = "registry+https://github.com/rust-lang/crates.io-index"6962source = "registry+https://github.com/rust-lang/crates.io-index"
6517checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27"6963checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8"
6518dependencies = [6964dependencies = [
6519 "proc-macro-crate 1.1.3",6965 "proc-macro-crate 1.1.3",
6520 "proc-macro2",6966 "proc-macro2",
65446990
6545[[package]]6991[[package]]
6546name = "parity-util-mem"6992name = "parity-util-mem"
6547version = "0.10.2"6993version = "0.11.0"
6548source = "registry+https://github.com/rust-lang/crates.io-index"6994source = "registry+https://github.com/rust-lang/crates.io-index"
6549checksum = "6f4cb4e169446179cbc6b8b6320cc9fca49bd2e94e8db25f25f200a8ea774770"6995checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f"
6550dependencies = [6996dependencies = [
6551 "cfg-if 1.0.0",6997 "cfg-if 1.0.0",
6552 "ethereum-types",6998 "ethereum-types",
6553 "hashbrown 0.11.2",6999 "hashbrown 0.12.0",
6554 "impl-trait-for-tuples",7000 "impl-trait-for-tuples",
6555 "lru 0.6.6",7001 "lru 0.7.3",
6556 "parity-util-mem-derive",7002 "parity-util-mem-derive",
6557 "parking_lot 0.11.2",7003 "parking_lot 0.12.0",
6558 "primitive-types 0.10.1",7004 "primitive-types",
6559 "smallvec",7005 "smallvec",
6560 "winapi 0.3.9",7006 "winapi 0.3.9",
6561]7007]
6610source = "registry+https://github.com/rust-lang/crates.io-index"7056source = "registry+https://github.com/rust-lang/crates.io-index"
6611checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"7057checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
6612
6613[[package]]
6614name = "parking_lot"
6615version = "0.10.2"
6616source = "registry+https://github.com/rust-lang/crates.io-index"
6617checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e"
6618dependencies = [
6619 "lock_api 0.3.4",
6620 "parking_lot_core 0.7.2",
6621]
66227058
6623[[package]]7059[[package]]
6624name = "parking_lot"7060name = "parking_lot"
6627checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"7063checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
6628dependencies = [7064dependencies = [
6629 "instant",7065 "instant",
6630 "lock_api 0.4.6",7066 "lock_api",
6631 "parking_lot_core 0.8.5",7067 "parking_lot_core 0.8.5",
6632]7068]
66337069
6637source = "registry+https://github.com/rust-lang/crates.io-index"7073source = "registry+https://github.com/rust-lang/crates.io-index"
6638checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58"7074checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58"
6639dependencies = [7075dependencies = [
6640 "lock_api 0.4.6",7076 "lock_api",
6641 "parking_lot_core 0.9.1",7077 "parking_lot_core 0.9.1",
6642]7078]
6643
6644[[package]]
6645name = "parking_lot_core"
6646version = "0.7.2"
6647source = "registry+https://github.com/rust-lang/crates.io-index"
6648checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3"
6649dependencies = [
6650 "cfg-if 0.1.10",
6651 "cloudabi",
6652 "libc",
6653 "redox_syscall 0.1.57",
6654 "smallvec",
6655 "winapi 0.3.9",
6656]
66577079
6658[[package]]7080[[package]]
6659name = "parking_lot_core"7081name = "parking_lot_core"
6664 "cfg-if 1.0.0",7086 "cfg-if 1.0.0",
6665 "instant",7087 "instant",
6666 "libc",7088 "libc",
6667 "redox_syscall 0.2.10",7089 "redox_syscall",
6668 "smallvec",7090 "smallvec",
6669 "winapi 0.3.9",7091 "winapi 0.3.9",
6670]7092]
6677dependencies = [7099dependencies = [
6678 "cfg-if 1.0.0",7100 "cfg-if 1.0.0",
6679 "libc",7101 "libc",
6680 "redox_syscall 0.2.10",7102 "redox_syscall",
6681 "smallvec",7103 "smallvec",
6682 "windows-sys",7104 "windows-sys",
6683]7105]
6835source = "registry+https://github.com/rust-lang/crates.io-index"7257source = "registry+https://github.com/rust-lang/crates.io-index"
6836checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"7258checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
7259
7260[[package]]
7261name = "pkcs8"
7262version = "0.8.0"
7263source = "registry+https://github.com/rust-lang/crates.io-index"
7264checksum = "7cabda3fb821068a9a4fab19a683eac3af12edf0f34b94a8be53c4972b8149d0"
7265dependencies = [
7266 "der",
7267 "spki",
7268 "zeroize",
7269]
68377270
6838[[package]]7271[[package]]
6839name = "pkg-config"7272name = "pkg-config"
68497282
6850[[package]]7283[[package]]
6851name = "polkadot-approval-distribution"7284name = "polkadot-approval-distribution"
6852version = "0.9.17"7285version = "0.9.18"
6853source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7286source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6854dependencies = [7287dependencies = [
6855 "futures 0.3.21",7288 "futures 0.3.21",
6856 "polkadot-node-network-protocol",7289 "polkadot-node-network-protocol",
68637296
6864[[package]]7297[[package]]
6865name = "polkadot-availability-bitfield-distribution"7298name = "polkadot-availability-bitfield-distribution"
6866version = "0.9.17"7299version = "0.9.18"
6867source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7300source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6868dependencies = [7301dependencies = [
6869 "futures 0.3.21",7302 "futures 0.3.21",
6870 "polkadot-node-network-protocol",7303 "polkadot-node-network-protocol",
68767309
6877[[package]]7310[[package]]
6878name = "polkadot-availability-distribution"7311name = "polkadot-availability-distribution"
6879version = "0.9.17"7312version = "0.9.18"
6880source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7313source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6881dependencies = [7314dependencies = [
6882 "derive_more",7315 "derive_more",
7316 "fatality",
6883 "futures 0.3.21",7317 "futures 0.3.21",
6884 "lru 0.7.2",7318 "lru 0.7.3",
6885 "parity-scale-codec",7319 "parity-scale-codec",
6886 "polkadot-erasure-coding",7320 "polkadot-erasure-coding",
6887 "polkadot-node-network-protocol",7321 "polkadot-node-network-protocol",
68987332
6899[[package]]7333[[package]]
6900name = "polkadot-availability-recovery"7334name = "polkadot-availability-recovery"
6901version = "0.9.17"7335version = "0.9.18"
6902source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7336source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6903dependencies = [7337dependencies = [
7338 "fatality",
6904 "futures 0.3.21",7339 "futures 0.3.21",
6905 "lru 0.7.2",7340 "lru 0.7.3",
6906 "parity-scale-codec",7341 "parity-scale-codec",
6907 "polkadot-erasure-coding",7342 "polkadot-erasure-coding",
6908 "polkadot-node-network-protocol",7343 "polkadot-node-network-protocol",
69187353
6919[[package]]7354[[package]]
6920name = "polkadot-cli"7355name = "polkadot-cli"
6921version = "0.9.17"7356version = "0.9.18"
6922source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7357source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6923dependencies = [7358dependencies = [
6924 "clap",7359 "clap",
6925 "frame-benchmarking-cli",7360 "frame-benchmarking-cli",
69417376
6942[[package]]7377[[package]]
6943name = "polkadot-client"7378name = "polkadot-client"
6944version = "0.9.17"7379version = "0.9.18"
6945source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7380source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6946dependencies = [7381dependencies = [
6947 "beefy-primitives",7382 "beefy-primitives",
6948 "frame-benchmarking",7383 "frame-benchmarking",
69717406
6972[[package]]7407[[package]]
6973name = "polkadot-collator-protocol"7408name = "polkadot-collator-protocol"
6974version = "0.9.17"7409version = "0.9.18"
6975source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7410source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6976dependencies = [7411dependencies = [
6977 "always-assert",7412 "always-assert",
6978 "derive_more",7413 "fatality",
6979 "futures 0.3.21",7414 "futures 0.3.21",
6980 "futures-timer",7415 "futures-timer",
6981 "polkadot-node-network-protocol",7416 "polkadot-node-network-protocol",
69927427
6993[[package]]7428[[package]]
6994name = "polkadot-core-primitives"7429name = "polkadot-core-primitives"
6995version = "0.9.17"7430version = "0.9.18"
6996source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7431source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
6997dependencies = [7432dependencies = [
6998 "parity-scale-codec",7433 "parity-scale-codec",
6999 "parity-util-mem",7434 "parity-util-mem",
70057440
7006[[package]]7441[[package]]
7007name = "polkadot-dispute-distribution"7442name = "polkadot-dispute-distribution"
7008version = "0.9.17"7443version = "0.9.18"
7009source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7444source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7010dependencies = [7445dependencies = [
7011 "derive_more",7446 "derive_more",
7447 "fatality",
7012 "futures 0.3.21",7448 "futures 0.3.21",
7013 "lru 0.7.2",7449 "lru 0.7.3",
7014 "parity-scale-codec",7450 "parity-scale-codec",
7015 "polkadot-erasure-coding",7451 "polkadot-erasure-coding",
7016 "polkadot-node-network-protocol",7452 "polkadot-node-network-protocol",
70277463
7028[[package]]7464[[package]]
7029name = "polkadot-erasure-coding"7465name = "polkadot-erasure-coding"
7030version = "0.9.17"7466version = "0.9.18"
7031source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7467source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7032dependencies = [7468dependencies = [
7033 "parity-scale-codec",7469 "parity-scale-codec",
7034 "polkadot-node-primitives",7470 "polkadot-node-primitives",
70417477
7042[[package]]7478[[package]]
7043name = "polkadot-gossip-support"7479name = "polkadot-gossip-support"
7044version = "0.9.17"7480version = "0.9.18"
7045source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7481source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7046dependencies = [7482dependencies = [
7047 "futures 0.3.21",7483 "futures 0.3.21",
7048 "futures-timer",7484 "futures-timer",
70617497
7062[[package]]7498[[package]]
7063name = "polkadot-network-bridge"7499name = "polkadot-network-bridge"
7064version = "0.9.17"7500version = "0.9.18"
7065source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7501source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7066dependencies = [7502dependencies = [
7067 "async-trait",7503 "async-trait",
7068 "futures 0.3.21",7504 "futures 0.3.21",
7069 "parity-scale-codec",7505 "parity-scale-codec",
7070 "parking_lot 0.11.2",7506 "parking_lot 0.12.0",
7071 "polkadot-node-network-protocol",7507 "polkadot-node-network-protocol",
7072 "polkadot-node-subsystem",7508 "polkadot-node-subsystem",
7073 "polkadot-node-subsystem-util",7509 "polkadot-node-subsystem-util",
70807516
7081[[package]]7517[[package]]
7082name = "polkadot-node-collation-generation"7518name = "polkadot-node-collation-generation"
7083version = "0.9.17"7519version = "0.9.18"
7084source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7520source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7085dependencies = [7521dependencies = [
7086 "futures 0.3.21",7522 "futures 0.3.21",
7087 "parity-scale-codec",7523 "parity-scale-codec",
70987534
7099[[package]]7535[[package]]
7100name = "polkadot-node-core-approval-voting"7536name = "polkadot-node-core-approval-voting"
7101version = "0.9.17"7537version = "0.9.18"
7102source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7538source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7103dependencies = [7539dependencies = [
7104 "bitvec",7540 "bitvec",
7105 "derive_more",7541 "derive_more",
7106 "futures 0.3.21",7542 "futures 0.3.21",
7107 "futures-timer",7543 "futures-timer",
7108 "kvdb",7544 "kvdb",
7109 "lru 0.7.2",7545 "lru 0.7.3",
7110 "merlin",7546 "merlin",
7111 "parity-scale-codec",7547 "parity-scale-codec",
7112 "polkadot-node-jaeger",7548 "polkadot-node-jaeger",
71267562
7127[[package]]7563[[package]]
7128name = "polkadot-node-core-av-store"7564name = "polkadot-node-core-av-store"
7129version = "0.9.17"7565version = "0.9.18"
7130source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7566source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7131dependencies = [7567dependencies = [
7132 "bitvec",7568 "bitvec",
7133 "futures 0.3.21",7569 "futures 0.3.21",
71467582
7147[[package]]7583[[package]]
7148name = "polkadot-node-core-backing"7584name = "polkadot-node-core-backing"
7149version = "0.9.17"7585version = "0.9.18"
7150source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7586source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7151dependencies = [7587dependencies = [
7152 "bitvec",7588 "bitvec",
7153 "futures 0.3.21",7589 "futures 0.3.21",
71647600
7165[[package]]7601[[package]]
7166name = "polkadot-node-core-bitfield-signing"7602name = "polkadot-node-core-bitfield-signing"
7167version = "0.9.17"7603version = "0.9.18"
7168source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7604source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7169dependencies = [7605dependencies = [
7170 "futures 0.3.21",7606 "futures 0.3.21",
7171 "polkadot-node-subsystem",7607 "polkadot-node-subsystem",
71797615
7180[[package]]7616[[package]]
7181name = "polkadot-node-core-candidate-validation"7617name = "polkadot-node-core-candidate-validation"
7182version = "0.9.17"7618version = "0.9.18"
7183source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7619source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7184dependencies = [7620dependencies = [
7185 "async-trait",7621 "async-trait",
7186 "futures 0.3.21",7622 "futures 0.3.21",
71977633
7198[[package]]7634[[package]]
7199name = "polkadot-node-core-chain-api"7635name = "polkadot-node-core-chain-api"
7200version = "0.9.17"7636version = "0.9.18"
7201source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7637source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7202dependencies = [7638dependencies = [
7203 "futures 0.3.21",7639 "futures 0.3.21",
7204 "polkadot-node-subsystem",7640 "polkadot-node-subsystem",
72127648
7213[[package]]7649[[package]]
7214name = "polkadot-node-core-chain-selection"7650name = "polkadot-node-core-chain-selection"
7215version = "0.9.17"7651version = "0.9.18"
7216source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7652source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7217dependencies = [7653dependencies = [
7218 "futures 0.3.21",7654 "futures 0.3.21",
7219 "futures-timer",7655 "futures-timer",
72297665
7230[[package]]7666[[package]]
7231name = "polkadot-node-core-dispute-coordinator"7667name = "polkadot-node-core-dispute-coordinator"
7232version = "0.9.17"7668version = "0.9.18"
7233source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7669source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7234dependencies = [7670dependencies = [
7671 "fatality",
7235 "futures 0.3.21",7672 "futures 0.3.21",
7236 "kvdb",7673 "kvdb",
7237 "lru 0.7.2",7674 "lru 0.7.3",
7238 "parity-scale-codec",7675 "parity-scale-codec",
7239 "polkadot-node-primitives",7676 "polkadot-node-primitives",
7240 "polkadot-node-subsystem",7677 "polkadot-node-subsystem",
72477684
7248[[package]]7685[[package]]
7249name = "polkadot-node-core-parachains-inherent"7686name = "polkadot-node-core-parachains-inherent"
7250version = "0.9.17"7687version = "0.9.18"
7251source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7688source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7252dependencies = [7689dependencies = [
7253 "async-trait",7690 "async-trait",
7254 "futures 0.3.21",7691 "futures 0.3.21",
72647701
7265[[package]]7702[[package]]
7266name = "polkadot-node-core-provisioner"7703name = "polkadot-node-core-provisioner"
7267version = "0.9.17"7704version = "0.9.18"
7268source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7705source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7269dependencies = [7706dependencies = [
7270 "bitvec",7707 "bitvec",
7271 "futures 0.3.21",7708 "futures 0.3.21",
72817718
7282[[package]]7719[[package]]
7283name = "polkadot-node-core-pvf"7720name = "polkadot-node-core-pvf"
7284version = "0.9.17"7721version = "0.9.18"
7285source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7722source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7286dependencies = [7723dependencies = [
7287 "always-assert",7724 "always-assert",
7288 "assert_matches",7725 "assert_matches",
73117748
7312[[package]]7749[[package]]
7313name = "polkadot-node-core-pvf-checker"7750name = "polkadot-node-core-pvf-checker"
7314version = "0.9.17"7751version = "0.9.18"
7315source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7752source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7316dependencies = [7753dependencies = [
7317 "futures 0.3.21",7754 "futures 0.3.21",
7318 "polkadot-node-primitives",7755 "polkadot-node-primitives",
73277764
7328[[package]]7765[[package]]
7329name = "polkadot-node-core-runtime-api"7766name = "polkadot-node-core-runtime-api"
7330version = "0.9.17"7767version = "0.9.18"
7331source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7768source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7332dependencies = [7769dependencies = [
7333 "futures 0.3.21",7770 "futures 0.3.21",
7334 "memory-lru",7771 "memory-lru",
73457782
7346[[package]]7783[[package]]
7347name = "polkadot-node-jaeger"7784name = "polkadot-node-jaeger"
7348version = "0.9.17"7785version = "0.9.18"
7349source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7786source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7350dependencies = [7787dependencies = [
7351 "async-std",7788 "async-std",
7352 "lazy_static",7789 "lazy_static",
7353 "log",7790 "log",
7354 "mick-jaeger",7791 "mick-jaeger",
7355 "parity-scale-codec",7792 "parity-scale-codec",
7356 "parking_lot 0.11.2",7793 "parking_lot 0.12.0",
7357 "polkadot-node-primitives",7794 "polkadot-node-primitives",
7358 "polkadot-primitives",7795 "polkadot-primitives",
7359 "sc-network",7796 "sc-network",
73637800
7364[[package]]7801[[package]]
7365name = "polkadot-node-metrics"7802name = "polkadot-node-metrics"
7366version = "0.9.17"7803version = "0.9.18"
7367source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7804source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7368dependencies = [7805dependencies = [
7369 "bs58",7806 "bs58",
7370 "futures 0.3.21",7807 "futures 0.3.21",
73827819
7383[[package]]7820[[package]]
7384name = "polkadot-node-network-protocol"7821name = "polkadot-node-network-protocol"
7385version = "0.9.17"7822version = "0.9.18"
7386source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7823source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7387dependencies = [7824dependencies = [
7388 "async-trait",7825 "async-trait",
7389 "derive_more",7826 "fatality",
7390 "futures 0.3.21",7827 "futures 0.3.21",
7391 "parity-scale-codec",7828 "parity-scale-codec",
7392 "polkadot-node-jaeger",7829 "polkadot-node-jaeger",
7393 "polkadot-node-primitives",7830 "polkadot-node-primitives",
7394 "polkadot-primitives",7831 "polkadot-primitives",
7395 "sc-authority-discovery",7832 "sc-authority-discovery",
7396 "sc-network",7833 "sc-network",
7397 "strum",7834 "strum 0.24.0",
7398 "thiserror",7835 "thiserror",
7399]7836]
74007837
7401[[package]]7838[[package]]
7402name = "polkadot-node-primitives"7839name = "polkadot-node-primitives"
7403version = "0.9.17"7840version = "0.9.18"
7404source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7841source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7405dependencies = [7842dependencies = [
7406 "bounded-vec",7843 "bounded-vec",
7407 "futures 0.3.21",7844 "futures 0.3.21",
74227859
7423[[package]]7860[[package]]
7424name = "polkadot-node-subsystem"7861name = "polkadot-node-subsystem"
7425version = "0.9.17"7862version = "0.9.18"
7426source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7863source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7427dependencies = [7864dependencies = [
7428 "polkadot-node-jaeger",7865 "polkadot-node-jaeger",
7429 "polkadot-node-subsystem-types",7866 "polkadot-node-subsystem-types",
74327869
7433[[package]]7870[[package]]
7434name = "polkadot-node-subsystem-types"7871name = "polkadot-node-subsystem-types"
7435version = "0.9.17"7872version = "0.9.18"
7436source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7873source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7437dependencies = [7874dependencies = [
7438 "derive_more",7875 "derive_more",
7439 "futures 0.3.21",7876 "futures 0.3.21",
74517888
7452[[package]]7889[[package]]
7453name = "polkadot-node-subsystem-util"7890name = "polkadot-node-subsystem-util"
7454version = "0.9.17"7891version = "0.9.18"
7455source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7892source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7456dependencies = [7893dependencies = [
7457 "async-trait",7894 "async-trait",
7458 "derive_more",7895 "derive_more",
7896 "fatality",
7459 "futures 0.3.21",7897 "futures 0.3.21",
7460 "itertools",7898 "itertools",
7899 "kvdb",
7461 "lru 0.7.2",7900 "lru 0.7.3",
7462 "metered-channel",7901 "metered-channel",
7902 "parity-db",
7463 "parity-scale-codec",7903 "parity-scale-codec",
7904 "parity-util-mem",
7905 "parking_lot 0.11.2",
7464 "pin-project 1.0.10",7906 "pin-project 1.0.10",
7465 "polkadot-node-jaeger",7907 "polkadot-node-jaeger",
7466 "polkadot-node-metrics",7908 "polkadot-node-metrics",
74797921
7480[[package]]7922[[package]]
7481name = "polkadot-overseer"7923name = "polkadot-overseer"
7482version = "0.9.17"7924version = "0.9.18"
7483source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7925source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7484dependencies = [7926dependencies = [
7485 "futures 0.3.21",7927 "futures 0.3.21",
7486 "futures-timer",7928 "futures-timer",
7487 "lru 0.7.2",7929 "lru 0.7.3",
7488 "parity-util-mem",7930 "parity-util-mem",
7489 "parking_lot 0.11.2",7931 "parking_lot 0.12.0",
7490 "polkadot-node-metrics",7932 "polkadot-node-metrics",
7491 "polkadot-node-network-protocol",7933 "polkadot-node-network-protocol",
7492 "polkadot-node-primitives",7934 "polkadot-node-primitives",
75007942
7501[[package]]7943[[package]]
7502name = "polkadot-overseer-gen"7944name = "polkadot-overseer-gen"
7503version = "0.9.17"7945version = "0.9.18"
7504source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7946source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7505dependencies = [7947dependencies = [
7506 "async-trait",7948 "async-trait",
7507 "futures 0.3.21",7949 "futures 0.3.21",
75177959
7518[[package]]7960[[package]]
7519name = "polkadot-overseer-gen-proc-macro"7961name = "polkadot-overseer-gen-proc-macro"
7520version = "0.9.17"7962version = "0.9.18"
7521source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7963source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7522dependencies = [7964dependencies = [
7965 "expander 0.0.5",
7523 "proc-macro-crate 1.1.3",7966 "proc-macro-crate 1.1.3",
7524 "proc-macro2",7967 "proc-macro2",
7525 "quote",7968 "quote",
75287971
7529[[package]]7972[[package]]
7530name = "polkadot-parachain"7973name = "polkadot-parachain"
7531version = "0.9.17"7974version = "0.9.18"
7532source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7975source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7533dependencies = [7976dependencies = [
7534 "derive_more",7977 "derive_more",
7535 "frame-support",7978 "frame-support",
75457988
7546[[package]]7989[[package]]
7547name = "polkadot-performance-test"7990name = "polkadot-performance-test"
7548version = "0.9.17"7991version = "0.9.18"
7549source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"7992source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7550dependencies = [7993dependencies = [
7551 "env_logger",7994 "env_logger",
7552 "kusama-runtime",7995 "kusama-runtime",
75608003
7561[[package]]8004[[package]]
7562name = "polkadot-primitives"8005name = "polkadot-primitives"
7563version = "0.9.17"8006version = "0.9.18"
7564source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8007source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7565dependencies = [8008dependencies = [
7566 "bitvec",8009 "bitvec",
7567 "frame-system",8010 "frame-system",
75908033
7591[[package]]8034[[package]]
7592name = "polkadot-rpc"8035name = "polkadot-rpc"
7593version = "0.9.17"8036version = "0.9.18"
7594source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8037source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7595dependencies = [8038dependencies = [
7596 "beefy-gadget",8039 "beefy-gadget",
7597 "beefy-gadget-rpc",8040 "beefy-gadget-rpc",
76218064
7622[[package]]8065[[package]]
7623name = "polkadot-runtime"8066name = "polkadot-runtime"
7624version = "0.9.17"8067version = "0.9.18"
7625source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8068source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7626dependencies = [8069dependencies = [
7627 "beefy-primitives",8070 "beefy-primitives",
7628 "bitvec",8071 "bitvec",
77058148
7706[[package]]8149[[package]]
7707name = "polkadot-runtime-common"8150name = "polkadot-runtime-common"
7708version = "0.9.17"8151version = "0.9.18"
7709source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8152source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7710dependencies = [8153dependencies = [
7711 "beefy-primitives",8154 "beefy-primitives",
7712 "bitvec",8155 "bitvec",
77528195
7753[[package]]8196[[package]]
7754name = "polkadot-runtime-constants"8197name = "polkadot-runtime-constants"
7755version = "0.9.17"8198version = "0.9.18"
7756source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8199source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7757dependencies = [8200dependencies = [
7758 "frame-support",8201 "frame-support",
7759 "polkadot-primitives",8202 "polkadot-primitives",
77648207
7765[[package]]8208[[package]]
7766name = "polkadot-runtime-metrics"8209name = "polkadot-runtime-metrics"
7767version = "0.9.17"8210version = "0.9.18"
7768source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8211source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7769dependencies = [8212dependencies = [
7770 "bs58",8213 "bs58",
7771 "parity-scale-codec",8214 "parity-scale-codec",
77768219
7777[[package]]8220[[package]]
7778name = "polkadot-runtime-parachains"8221name = "polkadot-runtime-parachains"
7779version = "0.9.17"8222version = "0.9.18"
7780source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8223source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7781dependencies = [8224dependencies = [
7782 "bitflags",8225 "bitflags",
7783 "bitvec",8226 "bitvec",
78188261
7819[[package]]8262[[package]]
7820name = "polkadot-service"8263name = "polkadot-service"
7821version = "0.9.17"8264version = "0.9.18"
7822source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8265source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7823dependencies = [8266dependencies = [
7824 "async-trait",8267 "async-trait",
7825 "beefy-gadget",8268 "beefy-gadget",
7830 "kusama-runtime",8273 "kusama-runtime",
7831 "kvdb",8274 "kvdb",
7832 "kvdb-rocksdb",8275 "kvdb-rocksdb",
7833 "lru 0.7.2",8276 "lru 0.7.3",
7834 "pallet-babe",8277 "pallet-babe",
7835 "pallet-im-online",8278 "pallet-im-online",
7836 "pallet-mmr-primitives",8279 "pallet-mmr-primitives",
7837 "pallet-staking",8280 "pallet-staking",
7838 "pallet-transaction-payment-rpc-runtime-api",8281 "pallet-transaction-payment-rpc-runtime-api",
8282 "parity-db",
7839 "polkadot-approval-distribution",8283 "polkadot-approval-distribution",
7840 "polkadot-availability-bitfield-distribution",8284 "polkadot-availability-bitfield-distribution",
7841 "polkadot-availability-distribution",8285 "polkadot-availability-distribution",
79188362
7919[[package]]8363[[package]]
7920name = "polkadot-statement-distribution"8364name = "polkadot-statement-distribution"
7921version = "0.9.17"8365version = "0.9.18"
7922source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8366source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7923dependencies = [8367dependencies = [
7924 "arrayvec 0.5.2",8368 "arrayvec 0.5.2",
7925 "derive_more",8369 "fatality",
7926 "futures 0.3.21",8370 "futures 0.3.21",
7927 "indexmap",8371 "indexmap",
7928 "parity-scale-codec",8372 "parity-scale-codec",
79398383
7940[[package]]8384[[package]]
7941name = "polkadot-statement-table"8385name = "polkadot-statement-table"
7942version = "0.9.17"8386version = "0.9.18"
7943source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8387source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7944dependencies = [8388dependencies = [
7945 "parity-scale-codec",8389 "parity-scale-codec",
7946 "polkadot-primitives",8390 "polkadot-primitives",
79498393
7950[[package]]8394[[package]]
7951name = "polkadot-test-runtime"8395name = "polkadot-test-runtime"
7952version = "0.9.17"8396version = "0.9.18"
7953source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8397source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
7954dependencies = [8398dependencies = [
7955 "beefy-primitives",8399 "beefy-primitives",
7956 "bitvec",8400 "bitvec",
80118455
8012[[package]]8456[[package]]
8013name = "polkadot-test-service"8457name = "polkadot-test-service"
8014version = "0.9.17"8458version = "0.9.18"
8015source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"8459source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
8016dependencies = [8460dependencies = [
8017 "frame-benchmarking",8461 "frame-benchmarking",
8018 "frame-system",8462 "frame-system",
8082source = "registry+https://github.com/rust-lang/crates.io-index"8526source = "registry+https://github.com/rust-lang/crates.io-index"
8083checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede"8527checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede"
8084dependencies = [8528dependencies = [
8085 "cpufeatures 0.2.1",8529 "cpufeatures 0.2.2",
8086 "opaque-debug 0.3.0",8530 "opaque-debug 0.3.0",
8087 "universal-hash",8531 "universal-hash",
8088]8532]
8094checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1"8538checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1"
8095dependencies = [8539dependencies = [
8096 "cfg-if 1.0.0",8540 "cfg-if 1.0.0",
8097 "cpufeatures 0.2.1",8541 "cpufeatures 0.2.2",
8098 "opaque-debug 0.3.0",8542 "opaque-debug 0.3.0",
8099 "universal-hash",8543 "universal-hash",
8100]8544]
8105source = "registry+https://github.com/rust-lang/crates.io-index"8549source = "registry+https://github.com/rust-lang/crates.io-index"
8106checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"8550checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
8107
8108[[package]]
8109name = "primitive-types"
8110version = "0.9.1"
8111source = "registry+https://github.com/rust-lang/crates.io-index"
8112checksum = "06345ee39fbccfb06ab45f3a1a5798d9dafa04cb8921a76d227040003a234b0e"
8113dependencies = [
8114 "fixed-hash",
8115 "impl-codec",
8116 "impl-rlp",
8117 "uint",
8118]
81198551
8120[[package]]8552[[package]]
8121name = "primitive-types"8553name = "primitive-types"
8122version = "0.10.1"8554version = "0.11.1"
8123source = "registry+https://github.com/rust-lang/crates.io-index"8555source = "registry+https://github.com/rust-lang/crates.io-index"
8124checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373"8556checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a"
8125dependencies = [8557dependencies = [
8126 "fixed-hash",8558 "fixed-hash",
8127 "impl-codec",8559 "impl-codec",
8259 "cc",8691 "cc",
8260]8692]
8693
8694[[package]]
8695name = "quartz-runtime"
8696version = "0.1.0"
8697dependencies = [
8698 "cumulus-pallet-aura-ext",
8699 "cumulus-pallet-dmp-queue",
8700 "cumulus-pallet-parachain-system",
8701 "cumulus-pallet-xcm",
8702 "cumulus-pallet-xcmp-queue",
8703 "cumulus-primitives-core",
8704 "cumulus-primitives-timestamp",
8705 "cumulus-primitives-utility",
8706 "derivative",
8707 "fp-rpc",
8708 "fp-self-contained",
8709 "frame-benchmarking",
8710 "frame-executive",
8711 "frame-support",
8712 "frame-system",
8713 "frame-system-benchmarking",
8714 "frame-system-rpc-runtime-api",
8715 "hex-literal",
8716 "orml-vesting",
8717 "pallet-aura",
8718 "pallet-balances",
8719 "pallet-base-fee",
8720 "pallet-common",
8721 "pallet-ethereum",
8722 "pallet-evm",
8723 "pallet-evm-coder-substrate",
8724 "pallet-evm-contract-helpers",
8725 "pallet-evm-migration",
8726 "pallet-evm-transaction-payment",
8727 "pallet-fungible",
8728 "pallet-inflation",
8729 "pallet-nonfungible",
8730 "pallet-randomness-collective-flip",
8731 "pallet-refungible",
8732 "pallet-sudo",
8733 "pallet-template-transaction-payment",
8734 "pallet-timestamp",
8735 "pallet-transaction-payment",
8736 "pallet-transaction-payment-rpc-runtime-api",
8737 "pallet-treasury",
8738 "pallet-unique",
8739 "pallet-unq-scheduler",
8740 "pallet-xcm",
8741 "parachain-info",
8742 "parity-scale-codec",
8743 "polkadot-parachain",
8744 "scale-info",
8745 "serde",
8746 "smallvec",
8747 "sp-api",
8748 "sp-arithmetic",
8749 "sp-block-builder",
8750 "sp-consensus-aura",
8751 "sp-core",
8752 "sp-inherents",
8753 "sp-io",
8754 "sp-offchain",
8755 "sp-runtime",
8756 "sp-session",
8757 "sp-std",
8758 "sp-transaction-pool",
8759 "sp-version",
8760 "substrate-wasm-builder",
8761 "unique-runtime-common",
8762 "up-data-structs",
8763 "up-evm-mapping",
8764 "up-rpc",
8765 "xcm",
8766 "xcm-builder",
8767 "xcm-executor",
8768]
82618769
8262[[package]]8770[[package]]
8263name = "quick-error"8771name = "quick-error"
82848792
8285[[package]]8793[[package]]
8286name = "quote"8794name = "quote"
8287version = "1.0.15"8795version = "1.0.16"
8288source = "registry+https://github.com/rust-lang/crates.io-index"8796source = "registry+https://github.com/rust-lang/crates.io-index"
8289checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145"8797checksum = "b4af2ec4714533fcdf07e886f17025ace8b997b9ce51204ee69b6da831c3da57"
8290dependencies = [8798dependencies = [
8291 "proc-macro2",8799 "proc-macro2",
8292]8800]
82938801
8294[[package]]8802[[package]]
8295name = "radium"8803name = "radium"
8296version = "0.6.2"8804version = "0.7.0"
8297source = "registry+https://github.com/rust-lang/crates.io-index"8805source = "registry+https://github.com/rust-lang/crates.io-index"
8298checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb"8806checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
82998807
8300[[package]]8808[[package]]
8301name = "rand"8809name = "rand"
8419 "num_cpus",8927 "num_cpus",
8420]8928]
8421
8422[[package]]
8423name = "redox_syscall"
8424version = "0.1.57"
8425source = "registry+https://github.com/rust-lang/crates.io-index"
8426checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
84278929
8428[[package]]8930[[package]]
8429name = "redox_syscall"8931name = "redox_syscall"
8430version = "0.2.10"8932version = "0.2.11"
8431source = "registry+https://github.com/rust-lang/crates.io-index"8933source = "registry+https://github.com/rust-lang/crates.io-index"
8432checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"8934checksum = "8380fe0152551244f0747b1bf41737e0f8a74f97a14ccefd1148187271634f3c"
8433dependencies = [8935dependencies = [
8434 "bitflags",8936 "bitflags",
8435]8937]
84368938
8437[[package]]8939[[package]]
8438name = "redox_users"8940name = "redox_users"
8439version = "0.4.0"8941version = "0.4.2"
8440source = "registry+https://github.com/rust-lang/crates.io-index"8942source = "registry+https://github.com/rust-lang/crates.io-index"
8441checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"8943checksum = "7776223e2696f1aa4c6b0170e83212f47296a00424305117d013dfe86fb0fe55"
8442dependencies = [8944dependencies = [
8443 "getrandom 0.2.5",8945 "getrandom 0.2.5",
8444 "redox_syscall 0.2.10",8946 "redox_syscall",
8947 "thiserror",
8445]8948]
84468949
8447[[package]]8950[[package]]
84908993
8491[[package]]8994[[package]]
8492name = "regex"8995name = "regex"
8493version = "1.5.4"8996version = "1.5.5"
8494source = "registry+https://github.com/rust-lang/crates.io-index"8997source = "registry+https://github.com/rust-lang/crates.io-index"
8495checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"8998checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
8496dependencies = [8999dependencies = [
8497 "aho-corasick",9000 "aho-corasick",
8498 "memchr",9001 "memchr",
8529[[package]]9032[[package]]
8530name = "remote-externalities"9033name = "remote-externalities"
8531version = "0.10.0-dev"9034version = "0.10.0-dev"
8532source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9035source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8533dependencies = [9036dependencies = [
8534 "env_logger",9037 "env_logger",
8535 "jsonrpsee 0.8.0",9038 "jsonrpsee 0.8.0",
85649067
8565[[package]]9068[[package]]
8566name = "retain_mut"9069name = "retain_mut"
8567version = "0.1.6"9070version = "0.1.7"
8568source = "registry+https://github.com/rust-lang/crates.io-index"9071source = "registry+https://github.com/rust-lang/crates.io-index"
8569checksum = "51dd4445360338dab5116712bee1388dc727991d51969558a8882ab552e6db30"9072checksum = "8c31b5c4033f8fdde8700e4657be2c497e7288f01515be52168c631e2e4d4086"
85709073
8571[[package]]9074[[package]]
8572name = "ring"9075name = "ring"
86069109
8607[[package]]9110[[package]]
8608name = "rocksdb"9111name = "rocksdb"
8609version = "0.17.0"9112version = "0.18.0"
8610source = "registry+https://github.com/rust-lang/crates.io-index"9113source = "registry+https://github.com/rust-lang/crates.io-index"
8611checksum = "7a62eca5cacf2c8261128631bed9f045598d40bfbe4b29f5163f0f802f8f44a7"9114checksum = "620f4129485ff1a7128d184bc687470c21c7951b64779ebc9cfdad3dcd920290"
8612dependencies = [9115dependencies = [
8613 "libc",9116 "libc",
8614 "librocksdb-sys",9117 "librocksdb-sys",
8615]9118]
86169119
8617[[package]]9120[[package]]
8618name = "rococo-runtime"9121name = "rococo-runtime"
8619version = "0.9.17"9122version = "0.9.18"
8620source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"9123source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
8621dependencies = [9124dependencies = [
8622 "beefy-primitives",9125 "beefy-primitives",
8623 "bp-messages",9126 "bp-messages",
86919194
8692[[package]]9195[[package]]
8693name = "rococo-runtime-constants"9196name = "rococo-runtime-constants"
8694version = "0.9.17"9197version = "0.9.18"
8695source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"9198source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
8696dependencies = [9199dependencies = [
8697 "frame-support",9200 "frame-support",
8698 "polkadot-primitives",9201 "polkadot-primitives",
8881[[package]]9384[[package]]
8882name = "sc-allocator"9385name = "sc-allocator"
8883version = "4.1.0-dev"9386version = "4.1.0-dev"
8884source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9387source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8885dependencies = [9388dependencies = [
8886 "log",9389 "log",
8887 "sp-core",9390 "sp-core",
8892[[package]]9395[[package]]
8893name = "sc-authority-discovery"9396name = "sc-authority-discovery"
8894version = "0.10.0-dev"9397version = "0.10.0-dev"
8895source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9398source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8896dependencies = [9399dependencies = [
8897 "async-trait",9400 "async-trait",
8898 "futures 0.3.21",9401 "futures 0.3.21",
8919[[package]]9422[[package]]
8920name = "sc-basic-authorship"9423name = "sc-basic-authorship"
8921version = "0.10.0-dev"9424version = "0.10.0-dev"
8922source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9425source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8923dependencies = [9426dependencies = [
8924 "futures 0.3.21",9427 "futures 0.3.21",
8925 "futures-timer",9428 "futures-timer",
8942[[package]]9445[[package]]
8943name = "sc-block-builder"9446name = "sc-block-builder"
8944version = "0.10.0-dev"9447version = "0.10.0-dev"
8945source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9448source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8946dependencies = [9449dependencies = [
8947 "parity-scale-codec",9450 "parity-scale-codec",
8948 "sc-client-api",9451 "sc-client-api",
8958[[package]]9461[[package]]
8959name = "sc-chain-spec"9462name = "sc-chain-spec"
8960version = "4.0.0-dev"9463version = "4.0.0-dev"
8961source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9464source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8962dependencies = [9465dependencies = [
8963 "impl-trait-for-tuples",9466 "impl-trait-for-tuples",
8964 "memmap2 0.5.3",9467 "memmap2 0.5.3",
8975[[package]]9478[[package]]
8976name = "sc-chain-spec-derive"9479name = "sc-chain-spec-derive"
8977version = "4.0.0-dev"9480version = "4.0.0-dev"
8978source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9481source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8979dependencies = [9482dependencies = [
8980 "proc-macro-crate 1.1.3",9483 "proc-macro-crate 1.1.3",
8981 "proc-macro2",9484 "proc-macro2",
8986[[package]]9489[[package]]
8987name = "sc-cli"9490name = "sc-cli"
8988version = "0.10.0-dev"9491version = "0.10.0-dev"
8989source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9492source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
8990dependencies = [9493dependencies = [
8991 "chrono",9494 "chrono",
8992 "clap",9495 "clap",
9024[[package]]9527[[package]]
9025name = "sc-client-api"9528name = "sc-client-api"
9026version = "4.0.0-dev"9529version = "4.0.0-dev"
9027source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9530source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9028dependencies = [9531dependencies = [
9029 "fnv",9532 "fnv",
9030 "futures 0.3.21",9533 "futures 0.3.21",
9031 "hash-db",9534 "hash-db",
9032 "log",9535 "log",
9033 "parity-scale-codec",9536 "parity-scale-codec",
9034 "parking_lot 0.11.2",9537 "parking_lot 0.12.0",
9035 "sc-executor",9538 "sc-executor",
9036 "sc-transaction-pool-api",9539 "sc-transaction-pool-api",
9037 "sc-utils",9540 "sc-utils",
9052[[package]]9555[[package]]
9053name = "sc-client-db"9556name = "sc-client-db"
9054version = "0.10.0-dev"9557version = "0.10.0-dev"
9055source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9558source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9056dependencies = [9559dependencies = [
9057 "hash-db",9560 "hash-db",
9058 "kvdb",9561 "kvdb",
9062 "log",9565 "log",
9063 "parity-db",9566 "parity-db",
9064 "parity-scale-codec",9567 "parity-scale-codec",
9065 "parking_lot 0.11.2",9568 "parking_lot 0.12.0",
9066 "sc-client-api",9569 "sc-client-api",
9067 "sc-state-db",9570 "sc-state-db",
9068 "sp-arithmetic",9571 "sp-arithmetic",
9077[[package]]9580[[package]]
9078name = "sc-consensus"9581name = "sc-consensus"
9079version = "0.10.0-dev"9582version = "0.10.0-dev"
9080source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9583source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9081dependencies = [9584dependencies = [
9082 "async-trait",9585 "async-trait",
9083 "futures 0.3.21",9586 "futures 0.3.21",
9084 "futures-timer",9587 "futures-timer",
9085 "libp2p",9588 "libp2p",
9086 "log",9589 "log",
9087 "parking_lot 0.11.2",9590 "parking_lot 0.12.0",
9088 "sc-client-api",9591 "sc-client-api",
9089 "sc-utils",9592 "sc-utils",
9090 "serde",9593 "serde",
9101[[package]]9604[[package]]
9102name = "sc-consensus-aura"9605name = "sc-consensus-aura"
9103version = "0.10.0-dev"9606version = "0.10.0-dev"
9104source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9607source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9105dependencies = [9608dependencies = [
9106 "async-trait",9609 "async-trait",
9107 "futures 0.3.21",9610 "futures 0.3.21",
9130[[package]]9633[[package]]
9131name = "sc-consensus-babe"9634name = "sc-consensus-babe"
9132version = "0.10.0-dev"9635version = "0.10.0-dev"
9133source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9636source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9134dependencies = [9637dependencies = [
9135 "async-trait",9638 "async-trait",
9136 "fork-tree",9639 "fork-tree",
9141 "num-rational 0.2.4",9644 "num-rational 0.2.4",
9142 "num-traits",9645 "num-traits",
9143 "parity-scale-codec",9646 "parity-scale-codec",
9144 "parking_lot 0.11.2",9647 "parking_lot 0.12.0",
9145 "rand 0.7.3",9648 "rand 0.7.3",
9146 "retain_mut",9649 "retain_mut",
9147 "sc-client-api",9650 "sc-client-api",
9173[[package]]9676[[package]]
9174name = "sc-consensus-babe-rpc"9677name = "sc-consensus-babe-rpc"
9175version = "0.10.0-dev"9678version = "0.10.0-dev"
9176source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9679source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9177dependencies = [9680dependencies = [
9178 "futures 0.3.21",9681 "futures 0.3.21",
9179 "jsonrpc-core",9682 "jsonrpc-core",
9197[[package]]9700[[package]]
9198name = "sc-consensus-epochs"9701name = "sc-consensus-epochs"
9199version = "0.10.0-dev"9702version = "0.10.0-dev"
9200source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9703source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9201dependencies = [9704dependencies = [
9202 "fork-tree",9705 "fork-tree",
9203 "parity-scale-codec",9706 "parity-scale-codec",
9207 "sp-runtime",9710 "sp-runtime",
9208]9711]
9712
9713[[package]]
9714name = "sc-consensus-manual-seal"
9715version = "0.10.0-dev"
9716source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9717dependencies = [
9718 "assert_matches",
9719 "async-trait",
9720 "futures 0.3.21",
9721 "jsonrpc-core",
9722 "jsonrpc-core-client",
9723 "jsonrpc-derive",
9724 "log",
9725 "parity-scale-codec",
9726 "sc-client-api",
9727 "sc-consensus",
9728 "sc-consensus-aura",
9729 "sc-consensus-babe",
9730 "sc-consensus-epochs",
9731 "sc-transaction-pool",
9732 "sc-transaction-pool-api",
9733 "serde",
9734 "sp-api",
9735 "sp-blockchain",
9736 "sp-consensus",
9737 "sp-consensus-aura",
9738 "sp-consensus-babe",
9739 "sp-consensus-slots",
9740 "sp-core",
9741 "sp-inherents",
9742 "sp-keystore",
9743 "sp-runtime",
9744 "sp-timestamp",
9745 "substrate-prometheus-endpoint",
9746 "thiserror",
9747]
92099748
9210[[package]]9749[[package]]
9211name = "sc-consensus-slots"9750name = "sc-consensus-slots"
9212version = "0.10.0-dev"9751version = "0.10.0-dev"
9213source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9752source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9214dependencies = [9753dependencies = [
9215 "async-trait",9754 "async-trait",
9216 "futures 0.3.21",9755 "futures 0.3.21",
9235[[package]]9774[[package]]
9236name = "sc-consensus-uncles"9775name = "sc-consensus-uncles"
9237version = "0.10.0-dev"9776version = "0.10.0-dev"
9238source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9777source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9239dependencies = [9778dependencies = [
9240 "sc-client-api",9779 "sc-client-api",
9241 "sp-authorship",9780 "sp-authorship",
9246[[package]]9785[[package]]
9247name = "sc-executor"9786name = "sc-executor"
9248version = "0.10.0-dev"9787version = "0.10.0-dev"
9249source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9788source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9250dependencies = [9789dependencies = [
9251 "lazy_static",9790 "lazy_static",
9252 "libsecp256k1 0.7.0",
9253 "log",
9254 "lru 0.6.6",9791 "lru 0.6.6",
9255 "parity-scale-codec",9792 "parity-scale-codec",
9256 "parking_lot 0.11.2",9793 "parking_lot 0.12.0",
9257 "sc-executor-common",9794 "sc-executor-common",
9258 "sc-executor-wasmi",9795 "sc-executor-wasmi",
9259 "sc-executor-wasmtime",9796 "sc-executor-wasmtime",
9268 "sp-trie",9805 "sp-trie",
9269 "sp-version",9806 "sp-version",
9270 "sp-wasm-interface",9807 "sp-wasm-interface",
9808 "tracing",
9271 "wasmi",9809 "wasmi",
9272]9810]
92739811
9274[[package]]9812[[package]]
9275name = "sc-executor-common"9813name = "sc-executor-common"
9276version = "0.10.0-dev"9814version = "0.10.0-dev"
9277source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9815source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9278dependencies = [9816dependencies = [
9279 "environmental",9817 "environmental",
9280 "parity-scale-codec",9818 "parity-scale-codec",
9291[[package]]9829[[package]]
9292name = "sc-executor-wasmi"9830name = "sc-executor-wasmi"
9293version = "0.10.0-dev"9831version = "0.10.0-dev"
9294source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9832source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9295dependencies = [9833dependencies = [
9296 "log",9834 "log",
9297 "parity-scale-codec",9835 "parity-scale-codec",
9307[[package]]9845[[package]]
9308name = "sc-executor-wasmtime"9846name = "sc-executor-wasmtime"
9309version = "0.10.0-dev"9847version = "0.10.0-dev"
9310source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9848source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9311dependencies = [9849dependencies = [
9312 "cfg-if 1.0.0",9850 "cfg-if 1.0.0",
9313 "libc",9851 "libc",
9325[[package]]9863[[package]]
9326name = "sc-finality-grandpa"9864name = "sc-finality-grandpa"
9327version = "0.10.0-dev"9865version = "0.10.0-dev"
9328source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9866source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9329dependencies = [9867dependencies = [
9868 "ahash",
9330 "async-trait",9869 "async-trait",
9331 "dyn-clone",9870 "dyn-clone",
9332 "finality-grandpa",9871 "finality-grandpa",
9333 "fork-tree",9872 "fork-tree",
9334 "futures 0.3.21",9873 "futures 0.3.21",
9335 "futures-timer",9874 "futures-timer",
9875 "hex",
9336 "log",9876 "log",
9337 "parity-scale-codec",9877 "parity-scale-codec",
9338 "parking_lot 0.11.2",9878 "parking_lot 0.12.0",
9339 "rand 0.8.5",9879 "rand 0.8.5",
9340 "sc-block-builder",9880 "sc-block-builder",
9341 "sc-chain-spec",9881 "sc-chain-spec",
9363[[package]]9903[[package]]
9364name = "sc-finality-grandpa-rpc"9904name = "sc-finality-grandpa-rpc"
9365version = "0.10.0-dev"9905version = "0.10.0-dev"
9366source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9906source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9367dependencies = [9907dependencies = [
9368 "finality-grandpa",9908 "finality-grandpa",
9369 "futures 0.3.21",9909 "futures 0.3.21",
9387[[package]]9927[[package]]
9388name = "sc-informant"9928name = "sc-informant"
9389version = "0.10.0-dev"9929version = "0.10.0-dev"
9390source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9930source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9391dependencies = [9931dependencies = [
9392 "ansi_term",9932 "ansi_term",
9393 "futures 0.3.21",9933 "futures 0.3.21",
9404[[package]]9944[[package]]
9405name = "sc-keystore"9945name = "sc-keystore"
9406version = "4.0.0-dev"9946version = "4.0.0-dev"
9407source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9947source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9408dependencies = [9948dependencies = [
9409 "async-trait",9949 "async-trait",
9410 "hex",9950 "hex",
9411 "parking_lot 0.11.2",9951 "parking_lot 0.12.0",
9412 "serde_json",9952 "serde_json",
9413 "sp-application-crypto",9953 "sp-application-crypto",
9414 "sp-core",9954 "sp-core",
9419[[package]]9959[[package]]
9420name = "sc-network"9960name = "sc-network"
9421version = "0.10.0-dev"9961version = "0.10.0-dev"
9422source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"9962source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9423dependencies = [9963dependencies = [
9424 "async-std",
9425 "async-trait",9964 "async-trait",
9426 "asynchronous-codec 0.5.0",9965 "asynchronous-codec 0.5.0",
9427 "bitflags",9966 "bitflags",
9438 "linked-hash-map",9977 "linked-hash-map",
9439 "linked_hash_set",9978 "linked_hash_set",
9440 "log",9979 "log",
9441 "lru 0.7.2",9980 "lru 0.7.3",
9442 "parity-scale-codec",9981 "parity-scale-codec",
9443 "parking_lot 0.11.2",9982 "parking_lot 0.12.0",
9444 "pin-project 1.0.10",9983 "pin-project 1.0.10",
9445 "prost",9984 "prost",
9446 "prost-build",9985 "prost-build",
9469[[package]]10008[[package]]
9470name = "sc-network-gossip"10009name = "sc-network-gossip"
9471version = "0.10.0-dev"10010version = "0.10.0-dev"
9472source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10011source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9473dependencies = [10012dependencies = [
10013 "ahash",
9474 "futures 0.3.21",10014 "futures 0.3.21",
9475 "futures-timer",10015 "futures-timer",
9476 "libp2p",10016 "libp2p",
9477 "log",10017 "log",
9478 "lru 0.7.2",10018 "lru 0.7.3",
9479 "sc-network",10019 "sc-network",
9480 "sp-runtime",10020 "sp-runtime",
9481 "substrate-prometheus-endpoint",10021 "substrate-prometheus-endpoint",
9485[[package]]10025[[package]]
9486name = "sc-offchain"10026name = "sc-offchain"
9487version = "4.0.0-dev"10027version = "4.0.0-dev"
9488source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10028source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9489dependencies = [10029dependencies = [
9490 "bytes 1.1.0",10030 "bytes 1.1.0",
9491 "fnv",10031 "fnv",
9492 "futures 0.3.21",10032 "futures 0.3.21",
9493 "futures-timer",10033 "futures-timer",
9494 "hex",10034 "hex",
9495 "hyper",10035 "hyper",
9496 "hyper-rustls",10036 "hyper-rustls 0.22.1",
9497 "num_cpus",10037 "num_cpus",
9498 "once_cell",10038 "once_cell",
9499 "parity-scale-codec",10039 "parity-scale-codec",
9500 "parking_lot 0.11.2",10040 "parking_lot 0.12.0",
9501 "rand 0.7.3",10041 "rand 0.7.3",
9502 "sc-client-api",10042 "sc-client-api",
9503 "sc-network",10043 "sc-network",
9513[[package]]10053[[package]]
9514name = "sc-peerset"10054name = "sc-peerset"
9515version = "4.0.0-dev"10055version = "4.0.0-dev"
9516source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10056source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9517dependencies = [10057dependencies = [
9518 "futures 0.3.21",10058 "futures 0.3.21",
9519 "libp2p",10059 "libp2p",
9526[[package]]10066[[package]]
9527name = "sc-proposer-metrics"10067name = "sc-proposer-metrics"
9528version = "0.10.0-dev"10068version = "0.10.0-dev"
9529source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10069source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9530dependencies = [10070dependencies = [
9531 "log",10071 "log",
9532 "substrate-prometheus-endpoint",10072 "substrate-prometheus-endpoint",
9535[[package]]10075[[package]]
9536name = "sc-rpc"10076name = "sc-rpc"
9537version = "4.0.0-dev"10077version = "4.0.0-dev"
9538source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10078source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9539dependencies = [10079dependencies = [
9540 "futures 0.3.21",10080 "futures 0.3.21",
9541 "hash-db",10081 "hash-db",
9542 "jsonrpc-core",10082 "jsonrpc-core",
9543 "jsonrpc-pubsub",10083 "jsonrpc-pubsub",
9544 "log",10084 "log",
9545 "parity-scale-codec",10085 "parity-scale-codec",
9546 "parking_lot 0.11.2",10086 "parking_lot 0.12.0",
9547 "sc-block-builder",10087 "sc-block-builder",
9548 "sc-chain-spec",10088 "sc-chain-spec",
9549 "sc-client-api",10089 "sc-client-api",
9566[[package]]10106[[package]]
9567name = "sc-rpc-api"10107name = "sc-rpc-api"
9568version = "0.10.0-dev"10108version = "0.10.0-dev"
9569source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10109source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9570dependencies = [10110dependencies = [
9571 "futures 0.3.21",10111 "futures 0.3.21",
9572 "jsonrpc-core",10112 "jsonrpc-core",
9575 "jsonrpc-pubsub",10115 "jsonrpc-pubsub",
9576 "log",10116 "log",
9577 "parity-scale-codec",10117 "parity-scale-codec",
9578 "parking_lot 0.11.2",10118 "parking_lot 0.12.0",
9579 "sc-chain-spec",10119 "sc-chain-spec",
9580 "sc-transaction-pool-api",10120 "sc-transaction-pool-api",
9581 "serde",10121 "serde",
9591[[package]]10131[[package]]
9592name = "sc-rpc-server"10132name = "sc-rpc-server"
9593version = "4.0.0-dev"10133version = "4.0.0-dev"
9594source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10134source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9595dependencies = [10135dependencies = [
9596 "futures 0.3.21",10136 "futures 0.3.21",
9597 "jsonrpc-core",10137 "jsonrpc-core",
9608[[package]]10148[[package]]
9609name = "sc-service"10149name = "sc-service"
9610version = "0.10.0-dev"10150version = "0.10.0-dev"
9611source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10151source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9612dependencies = [10152dependencies = [
9613 "async-trait",10153 "async-trait",
9614 "directories",10154 "directories",
9621 "log",10161 "log",
9622 "parity-scale-codec",10162 "parity-scale-codec",
9623 "parity-util-mem",10163 "parity-util-mem",
9624 "parking_lot 0.11.2",10164 "parking_lot 0.12.0",
9625 "pin-project 1.0.10",10165 "pin-project 1.0.10",
9626 "rand 0.7.3",10166 "rand 0.7.3",
9627 "sc-block-builder",10167 "sc-block-builder",
9672[[package]]10212[[package]]
9673name = "sc-state-db"10213name = "sc-state-db"
9674version = "0.10.0-dev"10214version = "0.10.0-dev"
9675source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10215source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9676dependencies = [10216dependencies = [
9677 "log",10217 "log",
9678 "parity-scale-codec",10218 "parity-scale-codec",
9679 "parity-util-mem",10219 "parity-util-mem",
9680 "parity-util-mem-derive",10220 "parity-util-mem-derive",
9681 "parking_lot 0.11.2",10221 "parking_lot 0.12.0",
9682 "sc-client-api",10222 "sc-client-api",
9683 "sp-core",10223 "sp-core",
9684]10224]
968510225
9686[[package]]10226[[package]]
9687name = "sc-sync-state-rpc"10227name = "sc-sync-state-rpc"
9688version = "0.10.0-dev"10228version = "0.10.0-dev"
9689source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10229source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9690dependencies = [10230dependencies = [
9691 "jsonrpc-core",10231 "jsonrpc-core",
9692 "jsonrpc-core-client",10232 "jsonrpc-core-client",
9697 "sc-consensus-babe",10237 "sc-consensus-babe",
9698 "sc-consensus-epochs",10238 "sc-consensus-epochs",
9699 "sc-finality-grandpa",10239 "sc-finality-grandpa",
9700 "sc-rpc-api",
9701 "serde",10240 "serde",
9702 "serde_json",10241 "serde_json",
9703 "sp-blockchain",10242 "sp-blockchain",
9708[[package]]10247[[package]]
9709name = "sc-telemetry"10248name = "sc-telemetry"
9710version = "4.0.0-dev"10249version = "4.0.0-dev"
9711source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10250source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9712dependencies = [10251dependencies = [
9713 "chrono",10252 "chrono",
9714 "futures 0.3.21",10253 "futures 0.3.21",
9715 "libp2p",10254 "libp2p",
9716 "log",10255 "log",
9717 "parking_lot 0.11.2",10256 "parking_lot 0.12.0",
9718 "pin-project 1.0.10",10257 "pin-project 1.0.10",
9719 "rand 0.7.3",10258 "rand 0.7.3",
9720 "serde",10259 "serde",
9726[[package]]10265[[package]]
9727name = "sc-tracing"10266name = "sc-tracing"
9728version = "4.0.0-dev"10267version = "4.0.0-dev"
9729source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10268source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9730dependencies = [10269dependencies = [
9731 "ansi_term",10270 "ansi_term",
9732 "atty",10271 "atty",
9735 "libc",10274 "libc",
9736 "log",10275 "log",
9737 "once_cell",10276 "once_cell",
9738 "parking_lot 0.11.2",10277 "parking_lot 0.12.0",
9739 "regex",10278 "regex",
9740 "rustc-hash",10279 "rustc-hash",
9741 "sc-client-api",10280 "sc-client-api",
9757[[package]]10296[[package]]
9758name = "sc-tracing-proc-macro"10297name = "sc-tracing-proc-macro"
9759version = "4.0.0-dev"10298version = "4.0.0-dev"
9760source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10299source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9761dependencies = [10300dependencies = [
9762 "proc-macro-crate 1.1.3",10301 "proc-macro-crate 1.1.3",
9763 "proc-macro2",10302 "proc-macro2",
9768[[package]]10307[[package]]
9769name = "sc-transaction-pool"10308name = "sc-transaction-pool"
9770version = "4.0.0-dev"10309version = "4.0.0-dev"
9771source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10310source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9772dependencies = [10311dependencies = [
9773 "futures 0.3.21",10312 "futures 0.3.21",
9774 "futures-timer",10313 "futures-timer",
9775 "linked-hash-map",10314 "linked-hash-map",
9776 "log",10315 "log",
9777 "parity-scale-codec",10316 "parity-scale-codec",
9778 "parity-util-mem",10317 "parity-util-mem",
9779 "parking_lot 0.11.2",10318 "parking_lot 0.12.0",
9780 "retain_mut",10319 "retain_mut",
9781 "sc-client-api",10320 "sc-client-api",
9782 "sc-transaction-pool-api",10321 "sc-transaction-pool-api",
9795[[package]]10334[[package]]
9796name = "sc-transaction-pool-api"10335name = "sc-transaction-pool-api"
9797version = "4.0.0-dev"10336version = "4.0.0-dev"
9798source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10337source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9799dependencies = [10338dependencies = [
9800 "futures 0.3.21",10339 "futures 0.3.21",
9801 "log",10340 "log",
9808[[package]]10347[[package]]
9809name = "sc-utils"10348name = "sc-utils"
9810version = "4.0.0-dev"10349version = "4.0.0-dev"
9811source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10350source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
9812dependencies = [10351dependencies = [
9813 "futures 0.3.21",10352 "futures 0.3.21",
9814 "futures-timer",10353 "futures-timer",
9815 "lazy_static",10354 "lazy_static",
10355 "log",
9816 "parking_lot 0.11.2",10356 "parking_lot 0.12.0",
9817 "prometheus",10357 "prometheus",
9818]10358]
981910359
9820[[package]]10360[[package]]
9821name = "scale-info"10361name = "scale-info"
9822version = "1.0.0"10362version = "2.0.1"
9823source = "registry+https://github.com/rust-lang/crates.io-index"10363source = "registry+https://github.com/rust-lang/crates.io-index"
9824checksum = "5c55b744399c25532d63a0d2789b109df8d46fc93752d46b0782991a931a782f"10364checksum = "0563970d79bcbf3c537ce3ad36d859b30d36fc5b190efd227f1f7a84d7cf0d42"
9825dependencies = [10365dependencies = [
9826 "bitvec",10366 "bitvec",
9827 "cfg-if 1.0.0",10367 "cfg-if 1.0.0",
983310373
9834[[package]]10374[[package]]
9835name = "scale-info-derive"10375name = "scale-info-derive"
9836version = "1.0.0"10376version = "2.0.0"
9837source = "registry+https://github.com/rust-lang/crates.io-index"10377source = "registry+https://github.com/rust-lang/crates.io-index"
9838checksum = "baeb2780690380592f86205aa4ee49815feb2acad8c2f59e6dd207148c3f1fcd"10378checksum = "b7805950c36512db9e3251c970bb7ac425f326716941862205d612ab3b5e46e2"
9839dependencies = [10379dependencies = [
9840 "proc-macro-crate 1.1.3",10380 "proc-macro-crate 1.1.3",
9841 "proc-macro2",10381 "proc-macro2",
9903 "untrusted",10443 "untrusted",
9904]10444]
10445
10446[[package]]
10447name = "sec1"
10448version = "0.2.1"
10449source = "registry+https://github.com/rust-lang/crates.io-index"
10450checksum = "08da66b8b0965a5555b6bd6639e68ccba85e1e2506f5fbb089e93f8a04e1a2d1"
10451dependencies = [
10452 "der",
10453 "generic-array 0.14.5",
10454 "pkcs8",
10455 "subtle 2.4.1",
10456 "zeroize",
10457]
10458
10459[[package]]
10460name = "secp256k1"
10461version = "0.21.3"
10462source = "registry+https://github.com/rust-lang/crates.io-index"
10463checksum = "9c42e6f1735c5f00f51e43e28d6634141f2bcad10931b2609ddd74a86d751260"
10464dependencies = [
10465 "secp256k1-sys",
10466]
10467
10468[[package]]
10469name = "secp256k1-sys"
10470version = "0.4.2"
10471source = "registry+https://github.com/rust-lang/crates.io-index"
10472checksum = "957da2573cde917463ece3570eab4a0b3f19de6f1646cde62e6fd3868f566036"
10473dependencies = [
10474 "cc",
10475]
990510476
9906[[package]]10477[[package]]
9907name = "secrecy"10478name = "secrecy"
10017 "serde",10588 "serde",
10018]10589]
10590
10591[[package]]
10592name = "serde_nanos"
10593version = "0.1.2"
10594source = "registry+https://github.com/rust-lang/crates.io-index"
10595checksum = "e44969a61f5d316be20a42ff97816efb3b407a924d06824c3d8a49fa8450de0e"
10596dependencies = [
10597 "serde",
10598]
1001910599
10020[[package]]10600[[package]]
10021name = "sha-1"10601name = "sha-1"
10037dependencies = [10617dependencies = [
10038 "block-buffer 0.9.0",10618 "block-buffer 0.9.0",
10039 "cfg-if 1.0.0",10619 "cfg-if 1.0.0",
10040 "cpufeatures 0.2.1",10620 "cpufeatures 0.2.2",
10041 "digest 0.9.0",10621 "digest 0.9.0",
10042 "opaque-debug 0.3.0",10622 "opaque-debug 0.3.0",
10043]10623]
10062dependencies = [10642dependencies = [
10063 "block-buffer 0.9.0",10643 "block-buffer 0.9.0",
10064 "cfg-if 1.0.0",10644 "cfg-if 1.0.0",
10065 "cpufeatures 0.2.1",10645 "cpufeatures 0.2.2",
10066 "digest 0.9.0",10646 "digest 0.9.0",
10067 "opaque-debug 0.3.0",10647 "opaque-debug 0.3.0",
10068]10648]
10074checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676"10654checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676"
10075dependencies = [10655dependencies = [
10076 "cfg-if 1.0.0",10656 "cfg-if 1.0.0",
10077 "cpufeatures 0.2.1",10657 "cpufeatures 0.2.2",
10078 "digest 0.10.3",10658 "digest 0.10.3",
10079]10659]
1008010660
10103 "opaque-debug 0.3.0",10683 "opaque-debug 0.3.0",
10104]10684]
10685
10686[[package]]
10687name = "sha3"
10688version = "0.10.1"
10689source = "registry+https://github.com/rust-lang/crates.io-index"
10690checksum = "881bf8156c87b6301fc5ca6b27f11eeb2761224c7081e69b409d5a1951a70c86"
10691dependencies = [
10692 "digest 0.10.3",
10693 "keccak",
10694]
1010510695
10106[[package]]10696[[package]]
10107name = "sharded-slab"10697name = "sharded-slab"
1013910729
10140[[package]]10730[[package]]
10141name = "signature"10731name = "signature"
10142version = "1.5.0"10732version = "1.4.0"
10143source = "registry+https://github.com/rust-lang/crates.io-index"10733source = "registry+https://github.com/rust-lang/crates.io-index"
10144checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4"10734checksum = "02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788"
10735dependencies = [
10736 "rand_core 0.6.3",
10737]
1014510738
10146[[package]]10739[[package]]
10147name = "simba"10740name = "simba"
1016310756
10164[[package]]10757[[package]]
10165name = "slot-range-helper"10758name = "slot-range-helper"
10166version = "0.9.17"10759version = "0.9.18"
10167source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"10760source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
10168dependencies = [10761dependencies = [
10169 "enumn",10762 "enumn",
10170 "parity-scale-codec",10763 "parity-scale-codec",
10201checksum = "6142f7c25e94f6fd25a32c3348ec230df9109b463f59c8c7acc4bd34936babb7"10794checksum = "6142f7c25e94f6fd25a32c3348ec230df9109b463f59c8c7acc4bd34936babb7"
10202dependencies = [10795dependencies = [
10203 "aes-gcm",10796 "aes-gcm",
10204 "blake2",10797 "blake2 0.9.2",
10205 "chacha20poly1305",10798 "chacha20poly1305",
10206 "rand 0.8.5",10799 "rand 0.8.5",
10207 "rand_core 0.6.3",10800 "rand_core 0.6.3",
10252[[package]]10845[[package]]
10253name = "sp-api"10846name = "sp-api"
10254version = "4.0.0-dev"10847version = "4.0.0-dev"
10255source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10848source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10256dependencies = [10849dependencies = [
10257 "hash-db",10850 "hash-db",
10258 "log",10851 "log",
10269[[package]]10862[[package]]
10270name = "sp-api-proc-macro"10863name = "sp-api-proc-macro"
10271version = "4.0.0-dev"10864version = "4.0.0-dev"
10272source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10865source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10273dependencies = [10866dependencies = [
10274 "blake2-rfc",10867 "blake2 0.10.4",
10275 "proc-macro-crate 1.1.3",10868 "proc-macro-crate 1.1.3",
10276 "proc-macro2",10869 "proc-macro2",
10277 "quote",10870 "quote",
1028010873
10281[[package]]10874[[package]]
10282name = "sp-application-crypto"10875name = "sp-application-crypto"
10283version = "5.0.0"10876version = "6.0.0"
10284source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10877source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10285dependencies = [10878dependencies = [
10286 "parity-scale-codec",10879 "parity-scale-codec",
10287 "scale-info",10880 "scale-info",
1029310886
10294[[package]]10887[[package]]
10295name = "sp-arithmetic"10888name = "sp-arithmetic"
10296version = "4.0.0"10889version = "5.0.0"
10297source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10890source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10298dependencies = [10891dependencies = [
10299 "integer-sqrt",10892 "integer-sqrt",
10300 "num-traits",10893 "num-traits",
10309[[package]]10902[[package]]
10310name = "sp-authority-discovery"10903name = "sp-authority-discovery"
10311version = "4.0.0-dev"10904version = "4.0.0-dev"
10312source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10905source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10313dependencies = [10906dependencies = [
10314 "parity-scale-codec",10907 "parity-scale-codec",
10315 "scale-info",10908 "scale-info",
10322[[package]]10915[[package]]
10323name = "sp-authorship"10916name = "sp-authorship"
10324version = "4.0.0-dev"10917version = "4.0.0-dev"
10325source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10918source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10326dependencies = [10919dependencies = [
10327 "async-trait",10920 "async-trait",
10328 "parity-scale-codec",10921 "parity-scale-codec",
10334[[package]]10927[[package]]
10335name = "sp-block-builder"10928name = "sp-block-builder"
10336version = "4.0.0-dev"10929version = "4.0.0-dev"
10337source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10930source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10338dependencies = [10931dependencies = [
10339 "parity-scale-codec",10932 "parity-scale-codec",
10340 "sp-api",10933 "sp-api",
10346[[package]]10939[[package]]
10347name = "sp-blockchain"10940name = "sp-blockchain"
10348version = "4.0.0-dev"10941version = "4.0.0-dev"
10349source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10942source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10350dependencies = [10943dependencies = [
10351 "futures 0.3.21",10944 "futures 0.3.21",
10352 "log",10945 "log",
10353 "lru 0.7.2",10946 "lru 0.7.3",
10354 "parity-scale-codec",10947 "parity-scale-codec",
10355 "parking_lot 0.11.2",10948 "parking_lot 0.12.0",
10356 "sp-api",10949 "sp-api",
10357 "sp-consensus",10950 "sp-consensus",
10358 "sp-database",10951 "sp-database",
10364[[package]]10957[[package]]
10365name = "sp-consensus"10958name = "sp-consensus"
10366version = "0.10.0-dev"10959version = "0.10.0-dev"
10367source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10960source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10368dependencies = [10961dependencies = [
10369 "async-trait",10962 "async-trait",
10370 "futures 0.3.21",10963 "futures 0.3.21",
10383[[package]]10976[[package]]
10384name = "sp-consensus-aura"10977name = "sp-consensus-aura"
10385version = "0.10.0-dev"10978version = "0.10.0-dev"
10386source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10979source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10387dependencies = [10980dependencies = [
10388 "async-trait",10981 "async-trait",
10389 "parity-scale-codec",10982 "parity-scale-codec",
10401[[package]]10994[[package]]
10402name = "sp-consensus-babe"10995name = "sp-consensus-babe"
10403version = "0.10.0-dev"10996version = "0.10.0-dev"
10404source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"10997source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10405dependencies = [10998dependencies = [
10406 "async-trait",10999 "async-trait",
10407 "merlin",11000 "merlin",
10424[[package]]11017[[package]]
10425name = "sp-consensus-slots"11018name = "sp-consensus-slots"
10426version = "0.10.0-dev"11019version = "0.10.0-dev"
10427source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11020source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10428dependencies = [11021dependencies = [
10429 "parity-scale-codec",11022 "parity-scale-codec",
10430 "scale-info",11023 "scale-info",
10431 "serde",11024 "serde",
10432 "sp-arithmetic",11025 "sp-arithmetic",
10433 "sp-runtime",11026 "sp-runtime",
11027 "sp-std",
11028 "sp-timestamp",
10434]11029]
1043511030
10436[[package]]11031[[package]]
10437name = "sp-consensus-vrf"11032name = "sp-consensus-vrf"
10438version = "0.10.0-dev"11033version = "0.10.0-dev"
10439source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11034source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10440dependencies = [11035dependencies = [
10441 "parity-scale-codec",11036 "parity-scale-codec",
10442 "schnorrkel",11037 "schnorrkel",
1044711042
10448[[package]]11043[[package]]
10449name = "sp-core"11044name = "sp-core"
10450version = "5.0.0"11045version = "6.0.0"
10451source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11046source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10452dependencies = [11047dependencies = [
10453 "base58",11048 "base58",
10454 "bitflags",11049 "bitflags",
10468 "num-traits",11063 "num-traits",
10469 "parity-scale-codec",11064 "parity-scale-codec",
10470 "parity-util-mem",11065 "parity-util-mem",
10471 "parking_lot 0.11.2",11066 "parking_lot 0.12.0",
10472 "primitive-types 0.10.1",11067 "primitive-types",
10473 "rand 0.7.3",11068 "rand 0.7.3",
10474 "regex",11069 "regex",
10475 "scale-info",11070 "scale-info",
10476 "schnorrkel",11071 "schnorrkel",
11072 "secp256k1",
10477 "secrecy",11073 "secrecy",
10478 "serde",11074 "serde",
10479 "sha2 0.10.2",
10480 "sp-core-hashing",11075 "sp-core-hashing",
10481 "sp-debug-derive",11076 "sp-debug-derive",
10482 "sp-externalities",11077 "sp-externalities",
10487 "substrate-bip39",11082 "substrate-bip39",
10488 "thiserror",11083 "thiserror",
10489 "tiny-bip39",11084 "tiny-bip39",
10490 "tiny-keccak",
10491 "twox-hash",
10492 "wasmi",11085 "wasmi",
10493 "zeroize",11086 "zeroize",
10494]11087]
1049511088
10496[[package]]11089[[package]]
10497name = "sp-core-hashing"11090name = "sp-core-hashing"
10498version = "4.0.0"11091version = "4.0.0"
10499source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11092source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10500dependencies = [11093dependencies = [
10501 "blake2-rfc",11094 "blake2 0.10.4",
10502 "byteorder",11095 "byteorder",
11096 "digest 0.10.3",
10503 "sha2 0.10.2",11097 "sha2 0.10.2",
11098 "sha3 0.10.1",
10504 "sp-std",11099 "sp-std",
10505 "tiny-keccak",
10506 "twox-hash",11100 "twox-hash",
10507]11101]
1050811102
10509[[package]]11103[[package]]
10510name = "sp-core-hashing-proc-macro"11104name = "sp-core-hashing-proc-macro"
10511version = "4.0.0-dev"11105version = "5.0.0"
10512source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11106source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10513dependencies = [11107dependencies = [
10514 "proc-macro2",11108 "proc-macro2",
10515 "quote",11109 "quote",
10520[[package]]11114[[package]]
10521name = "sp-database"11115name = "sp-database"
10522version = "4.0.0-dev"11116version = "4.0.0-dev"
10523source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11117source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10524dependencies = [11118dependencies = [
10525 "kvdb",11119 "kvdb",
10526 "parking_lot 0.11.2",11120 "parking_lot 0.12.0",
10527]11121]
1052811122
10529[[package]]11123[[package]]
10530name = "sp-debug-derive"11124name = "sp-debug-derive"
10531version = "4.0.0"11125version = "4.0.0"
10532source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11126source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10533dependencies = [11127dependencies = [
10534 "proc-macro2",11128 "proc-macro2",
10535 "quote",11129 "quote",
1053811132
10539[[package]]11133[[package]]
10540name = "sp-externalities"11134name = "sp-externalities"
10541version = "0.11.0"11135version = "0.12.0"
10542source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11136source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10543dependencies = [11137dependencies = [
10544 "environmental",11138 "environmental",
10545 "parity-scale-codec",11139 "parity-scale-codec",
10550[[package]]11144[[package]]
10551name = "sp-finality-grandpa"11145name = "sp-finality-grandpa"
10552version = "4.0.0-dev"11146version = "4.0.0-dev"
10553source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11147source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10554dependencies = [11148dependencies = [
10555 "finality-grandpa",11149 "finality-grandpa",
10556 "log",11150 "log",
10568[[package]]11162[[package]]
10569name = "sp-inherents"11163name = "sp-inherents"
10570version = "4.0.0-dev"11164version = "4.0.0-dev"
10571source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11165source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10572dependencies = [11166dependencies = [
10573 "async-trait",11167 "async-trait",
10574 "impl-trait-for-tuples",11168 "impl-trait-for-tuples",
1058111175
10582[[package]]11176[[package]]
10583name = "sp-io"11177name = "sp-io"
10584version = "5.0.0"11178version = "6.0.0"
10585source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11179source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10586dependencies = [11180dependencies = [
10587 "futures 0.3.21",11181 "futures 0.3.21",
10588 "hash-db",11182 "hash-db",
10589 "libsecp256k1 0.7.0",11183 "libsecp256k1 0.7.0",
10590 "log",11184 "log",
10591 "parity-scale-codec",11185 "parity-scale-codec",
10592 "parking_lot 0.11.2",11186 "parking_lot 0.12.0",
11187 "secp256k1",
10593 "sp-core",11188 "sp-core",
10594 "sp-externalities",11189 "sp-externalities",
10595 "sp-keystore",11190 "sp-keystore",
1060511200
10606[[package]]11201[[package]]
10607name = "sp-keyring"11202name = "sp-keyring"
10608version = "5.0.0"11203version = "6.0.0"
10609source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11204source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10610dependencies = [11205dependencies = [
10611 "lazy_static",11206 "lazy_static",
10612 "sp-core",11207 "sp-core",
10613 "sp-runtime",11208 "sp-runtime",
10614 "strum",11209 "strum 0.23.0",
10615]11210]
1061611211
10617[[package]]11212[[package]]
10618name = "sp-keystore"11213name = "sp-keystore"
10619version = "0.11.0"11214version = "0.12.0"
10620source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11215source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10621dependencies = [11216dependencies = [
10622 "async-trait",11217 "async-trait",
10623 "futures 0.3.21",11218 "futures 0.3.21",
10624 "merlin",11219 "merlin",
10625 "parity-scale-codec",11220 "parity-scale-codec",
10626 "parking_lot 0.11.2",11221 "parking_lot 0.12.0",
10627 "schnorrkel",11222 "schnorrkel",
10628 "serde",11223 "serde",
10629 "sp-core",11224 "sp-core",
10634[[package]]11229[[package]]
10635name = "sp-maybe-compressed-blob"11230name = "sp-maybe-compressed-blob"
10636version = "4.1.0-dev"11231version = "4.1.0-dev"
10637source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11232source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10638dependencies = [11233dependencies = [
10639 "thiserror",11234 "thiserror",
10640 "zstd",11235 "zstd",
10643[[package]]11238[[package]]
10644name = "sp-npos-elections"11239name = "sp-npos-elections"
10645version = "4.0.0-dev"11240version = "4.0.0-dev"
10646source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11241source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10647dependencies = [11242dependencies = [
10648 "parity-scale-codec",11243 "parity-scale-codec",
10649 "scale-info",11244 "scale-info",
10658[[package]]11253[[package]]
10659name = "sp-npos-elections-solution-type"11254name = "sp-npos-elections-solution-type"
10660version = "4.0.0-dev"11255version = "4.0.0-dev"
10661source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11256source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10662dependencies = [11257dependencies = [
10663 "proc-macro-crate 1.1.3",11258 "proc-macro-crate 1.1.3",
10664 "proc-macro2",11259 "proc-macro2",
10669[[package]]11264[[package]]
10670name = "sp-offchain"11265name = "sp-offchain"
10671version = "4.0.0-dev"11266version = "4.0.0-dev"
10672source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11267source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10673dependencies = [11268dependencies = [
10674 "sp-api",11269 "sp-api",
10675 "sp-core",11270 "sp-core",
10679[[package]]11274[[package]]
10680name = "sp-panic-handler"11275name = "sp-panic-handler"
10681version = "4.0.0"11276version = "4.0.0"
10682source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11277source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10683dependencies = [11278dependencies = [
10684 "backtrace",11279 "backtrace",
10685 "lazy_static",11280 "lazy_static",
1068811283
10689[[package]]11284[[package]]
10690name = "sp-rpc"11285name = "sp-rpc"
10691version = "5.0.0"11286version = "6.0.0"
10692source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11287source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10693dependencies = [11288dependencies = [
10694 "rustc-hash",11289 "rustc-hash",
10695 "serde",11290 "serde",
1069811293
10699[[package]]11294[[package]]
10700name = "sp-runtime"11295name = "sp-runtime"
10701version = "5.0.0"11296version = "6.0.0"
10702source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11297source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10703dependencies = [11298dependencies = [
10704 "either",11299 "either",
10705 "hash256-std-hasher",11300 "hash256-std-hasher",
1072011315
10721[[package]]11316[[package]]
10722name = "sp-runtime-interface"11317name = "sp-runtime-interface"
10723version = "5.0.0"11318version = "6.0.0"
10724source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11319source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10725dependencies = [11320dependencies = [
10726 "impl-trait-for-tuples",11321 "impl-trait-for-tuples",
10727 "parity-scale-codec",11322 "parity-scale-codec",
10728 "primitive-types 0.10.1",11323 "primitive-types",
10729 "sp-externalities",11324 "sp-externalities",
10730 "sp-runtime-interface-proc-macro",11325 "sp-runtime-interface-proc-macro",
10731 "sp-std",11326 "sp-std",
1073711332
10738[[package]]11333[[package]]
10739name = "sp-runtime-interface-proc-macro"11334name = "sp-runtime-interface-proc-macro"
10740version = "4.0.0"11335version = "5.0.0"
10741source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11336source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10742dependencies = [11337dependencies = [
10743 "Inflector",11338 "Inflector",
10744 "proc-macro-crate 1.1.3",11339 "proc-macro-crate 1.1.3",
10750[[package]]11345[[package]]
10751name = "sp-serializer"11346name = "sp-serializer"
10752version = "4.0.0-dev"11347version = "4.0.0-dev"
10753source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11348source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10754dependencies = [11349dependencies = [
10755 "serde",11350 "serde",
10756 "serde_json",11351 "serde_json",
10759[[package]]11354[[package]]
10760name = "sp-session"11355name = "sp-session"
10761version = "4.0.0-dev"11356version = "4.0.0-dev"
10762source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11357source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10763dependencies = [11358dependencies = [
10764 "parity-scale-codec",11359 "parity-scale-codec",
10765 "scale-info",11360 "scale-info",
10773[[package]]11368[[package]]
10774name = "sp-staking"11369name = "sp-staking"
10775version = "4.0.0-dev"11370version = "4.0.0-dev"
10776source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11371source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10777dependencies = [11372dependencies = [
10778 "parity-scale-codec",11373 "parity-scale-codec",
10779 "scale-info",11374 "scale-info",
1078311378
10784[[package]]11379[[package]]
10785name = "sp-state-machine"11380name = "sp-state-machine"
10786version = "0.11.0"11381version = "0.12.0"
10787source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11382source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10788dependencies = [11383dependencies = [
10789 "hash-db",11384 "hash-db",
10790 "log",11385 "log",
10791 "num-traits",11386 "num-traits",
10792 "parity-scale-codec",11387 "parity-scale-codec",
10793 "parking_lot 0.11.2",11388 "parking_lot 0.12.0",
10794 "rand 0.7.3",11389 "rand 0.7.3",
10795 "smallvec",11390 "smallvec",
10796 "sp-core",11391 "sp-core",
10807[[package]]11402[[package]]
10808name = "sp-std"11403name = "sp-std"
10809version = "4.0.0"11404version = "4.0.0"
10810source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11405source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
1081111406
10812[[package]]11407[[package]]
10813name = "sp-storage"11408name = "sp-storage"
10814version = "5.0.0"11409version = "6.0.0"
10815source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11410source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10816dependencies = [11411dependencies = [
10817 "impl-serde",11412 "impl-serde",
10818 "parity-scale-codec",11413 "parity-scale-codec",
10825[[package]]11420[[package]]
10826name = "sp-tasks"11421name = "sp-tasks"
10827version = "4.0.0-dev"11422version = "4.0.0-dev"
10828source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11423source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10829dependencies = [11424dependencies = [
10830 "log",11425 "log",
10831 "sp-core",11426 "sp-core",
10838[[package]]11433[[package]]
10839name = "sp-timestamp"11434name = "sp-timestamp"
10840version = "4.0.0-dev"11435version = "4.0.0-dev"
10841source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11436source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10842dependencies = [11437dependencies = [
10843 "async-trait",11438 "async-trait",
10844 "futures-timer",11439 "futures-timer",
1085311448
10854[[package]]11449[[package]]
10855name = "sp-tracing"11450name = "sp-tracing"
10856version = "4.0.0"11451version = "5.0.0"
10857source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11452source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10858dependencies = [11453dependencies = [
10859 "parity-scale-codec",11454 "parity-scale-codec",
10860 "sp-std",11455 "sp-std",
10866[[package]]11461[[package]]
10867name = "sp-transaction-pool"11462name = "sp-transaction-pool"
10868version = "4.0.0-dev"11463version = "4.0.0-dev"
10869source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11464source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10870dependencies = [11465dependencies = [
10871 "sp-api",11466 "sp-api",
10872 "sp-runtime",11467 "sp-runtime",
10875[[package]]11470[[package]]
10876name = "sp-transaction-storage-proof"11471name = "sp-transaction-storage-proof"
10877version = "4.0.0-dev"11472version = "4.0.0-dev"
10878source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11473source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10879dependencies = [11474dependencies = [
10880 "async-trait",11475 "async-trait",
10881 "log",11476 "log",
1089011485
10891[[package]]11486[[package]]
10892name = "sp-trie"11487name = "sp-trie"
10893version = "5.0.0"11488version = "6.0.0"
10894source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11489source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10895dependencies = [11490dependencies = [
10896 "hash-db",11491 "hash-db",
10897 "memory-db",11492 "memory-db",
10898 "parity-scale-codec",11493 "parity-scale-codec",
10899 "scale-info",11494 "scale-info",
10900 "sp-core",11495 "sp-core",
10901 "sp-std",11496 "sp-std",
11497 "thiserror",
10902 "trie-db",11498 "trie-db",
10903 "trie-root",11499 "trie-root",
10904]11500]
1090511501
10906[[package]]11502[[package]]
10907name = "sp-version"11503name = "sp-version"
10908version = "4.0.0-dev"11504version = "5.0.0"
10909source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11505source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10910dependencies = [11506dependencies = [
10911 "impl-serde",11507 "impl-serde",
10912 "parity-scale-codec",11508 "parity-scale-codec",
10923[[package]]11519[[package]]
10924name = "sp-version-proc-macro"11520name = "sp-version-proc-macro"
10925version = "4.0.0-dev"11521version = "4.0.0-dev"
10926source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11522source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10927dependencies = [11523dependencies = [
10928 "parity-scale-codec",11524 "parity-scale-codec",
10929 "proc-macro2",11525 "proc-macro2",
1093311529
10934[[package]]11530[[package]]
10935name = "sp-wasm-interface"11531name = "sp-wasm-interface"
10936version = "5.0.0"11532version = "6.0.0"
10937source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11533source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
10938dependencies = [11534dependencies = [
10939 "impl-trait-for-tuples",11535 "impl-trait-for-tuples",
10940 "log",11536 "log",
10950source = "registry+https://github.com/rust-lang/crates.io-index"11546source = "registry+https://github.com/rust-lang/crates.io-index"
10951checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"11547checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
11548
11549[[package]]
11550name = "spki"
11551version = "0.5.4"
11552source = "registry+https://github.com/rust-lang/crates.io-index"
11553checksum = "44d01ac02a6ccf3e07db148d2be087da624fea0221a16152ed01f0496a6b0a27"
11554dependencies = [
11555 "base64ct",
11556 "der",
11557]
1095211558
10953[[package]]11559[[package]]
10954name = "ss58-registry"11560name = "ss58-registry"
10955version = "1.15.0"11561version = "1.17.0"
10956source = "registry+https://github.com/rust-lang/crates.io-index"11562source = "registry+https://github.com/rust-lang/crates.io-index"
10957checksum = "2f9799e6d412271cb2414597581128b03f3285f260ea49f5363d07df6a332b3e"11563checksum = "7b84a70894df7a73666e0694f44b41a9571625e9546fb58a0818a565d2c7e084"
10958dependencies = [11564dependencies = [
10959 "Inflector",11565 "Inflector",
11566 "num-format",
10960 "proc-macro2",11567 "proc-macro2",
10961 "quote",11568 "quote",
10962 "serde",11569 "serde",
11026source = "registry+https://github.com/rust-lang/crates.io-index"11633source = "registry+https://github.com/rust-lang/crates.io-index"
11027checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb"11634checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb"
11028dependencies = [11635dependencies = [
11029 "strum_macros",11636 "strum_macros 0.23.1",
11030]11637]
11638
11639[[package]]
11640name = "strum"
11641version = "0.24.0"
11642source = "registry+https://github.com/rust-lang/crates.io-index"
11643checksum = "e96acfc1b70604b8b2f1ffa4c57e59176c7dbb05d556c71ecd2f5498a1dee7f8"
11644dependencies = [
11645 "strum_macros 0.24.0",
11646]
1103111647
11032[[package]]11648[[package]]
11033name = "strum_macros"11649name = "strum_macros"
11042 "syn",11658 "syn",
11043]11659]
11660
11661[[package]]
11662name = "strum_macros"
11663version = "0.24.0"
11664source = "registry+https://github.com/rust-lang/crates.io-index"
11665checksum = "6878079b17446e4d3eba6192bb0a2950d5b14f0ed8424b852310e5a94345d0ef"
11666dependencies = [
11667 "heck 0.4.0",
11668 "proc-macro2",
11669 "quote",
11670 "rustversion",
11671 "syn",
11672]
1104411673
11045[[package]]11674[[package]]
11046name = "substrate-bip39"11675name = "substrate-bip39"
11058[[package]]11687[[package]]
11059name = "substrate-build-script-utils"11688name = "substrate-build-script-utils"
11060version = "3.0.0"11689version = "3.0.0"
11061source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11690source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11062dependencies = [11691dependencies = [
11063 "platforms",11692 "platforms",
11064]11693]
1106511694
11066[[package]]11695[[package]]
11067name = "substrate-frame-rpc-system"11696name = "substrate-frame-rpc-system"
11068version = "4.0.0-dev"11697version = "4.0.0-dev"
11069source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11698source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11070dependencies = [11699dependencies = [
11071 "frame-system-rpc-runtime-api",11700 "frame-system-rpc-runtime-api",
11072 "futures 0.3.21",11701 "futures 0.3.21",
11088[[package]]11717[[package]]
11089name = "substrate-prometheus-endpoint"11718name = "substrate-prometheus-endpoint"
11090version = "0.10.0-dev"11719version = "0.10.0-dev"
11091source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11720source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11092dependencies = [11721dependencies = [
11093 "async-std",
11094 "futures-util",11722 "futures-util",
11095 "hyper",11723 "hyper",
11096 "log",11724 "log",
11102[[package]]11730[[package]]
11103name = "substrate-test-client"11731name = "substrate-test-client"
11104version = "2.0.1"11732version = "2.0.1"
11105source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11733source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11106dependencies = [11734dependencies = [
11107 "async-trait",11735 "async-trait",
11108 "futures 0.3.21",11736 "futures 0.3.21",
11128[[package]]11756[[package]]
11129name = "substrate-test-utils"11757name = "substrate-test-utils"
11130version = "4.0.0-dev"11758version = "4.0.0-dev"
11131source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11759source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11132dependencies = [11760dependencies = [
11133 "futures 0.3.21",11761 "futures 0.3.21",
11134 "substrate-test-utils-derive",11762 "substrate-test-utils-derive",
11138[[package]]11766[[package]]
11139name = "substrate-test-utils-derive"11767name = "substrate-test-utils-derive"
11140version = "0.10.0-dev"11768version = "0.10.0-dev"
11141source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11769source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11142dependencies = [11770dependencies = [
11143 "proc-macro-crate 1.1.3",11771 "proc-macro-crate 1.1.3",
11144 "proc-macro2",11772 "proc-macro2",
11149[[package]]11777[[package]]
11150name = "substrate-wasm-builder"11778name = "substrate-wasm-builder"
11151version = "5.0.0-dev"11779version = "5.0.0-dev"
11152source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"11780source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11153dependencies = [11781dependencies = [
11154 "ansi_term",11782 "ansi_term",
11155 "build-helper",11783 "build-helper",
11156 "cargo_metadata",11784 "cargo_metadata",
11157 "sp-maybe-compressed-blob",11785 "sp-maybe-compressed-blob",
11158 "strum",11786 "strum 0.23.0",
11159 "tempfile",11787 "tempfile",
11160 "toml",11788 "toml",
11161 "walkdir",11789 "walkdir",
1117611804
11177[[package]]11805[[package]]
11178name = "syn"11806name = "syn"
11179version = "1.0.86"11807version = "1.0.89"
11180source = "registry+https://github.com/rust-lang/crates.io-index"11808source = "registry+https://github.com/rust-lang/crates.io-index"
11181checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b"11809checksum = "ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54"
11182dependencies = [11810dependencies = [
11183 "proc-macro2",11811 "proc-macro2",
11184 "quote",11812 "quote",
11218 "cfg-if 1.0.0",11846 "cfg-if 1.0.0",
11219 "fastrand",11847 "fastrand",
11220 "libc",11848 "libc",
11221 "redox_syscall 0.2.10",11849 "redox_syscall",
11222 "remove_dir_all",11850 "remove_dir_all",
11223 "winapi 0.3.9",11851 "winapi 0.3.9",
11224]11852]
1122511853
11226[[package]]11854[[package]]
11227name = "termcolor"11855name = "termcolor"
11228version = "1.1.2"11856version = "1.1.3"
11229source = "registry+https://github.com/rust-lang/crates.io-index"11857source = "registry+https://github.com/rust-lang/crates.io-index"
11230checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"11858checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
11231dependencies = [11859dependencies = [
11232 "winapi-util",11860 "winapi-util",
11233]11861]
1123411862
11235[[package]]11863[[package]]
11236name = "test-runtime-constants"11864name = "test-runtime-constants"
11237version = "0.9.17"11865version = "0.9.18"
11238source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"11866source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
11239dependencies = [11867dependencies = [
11240 "frame-support",11868 "frame-support",
11241 "polkadot-primitives",11869 "polkadot-primitives",
1124611874
11247[[package]]11875[[package]]
11248name = "textwrap"11876name = "textwrap"
11249version = "0.14.2"11877version = "0.15.0"
11250source = "registry+https://github.com/rust-lang/crates.io-index"11878source = "registry+https://github.com/rust-lang/crates.io-index"
11251checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"11879checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
1125211880
11253[[package]]11881[[package]]
11254name = "thiserror"11882name = "thiserror"
11301 "threadpool",11929 "threadpool",
11302]11930]
11931
11932[[package]]
11933name = "tikv-jemalloc-sys"
11934version = "0.4.3+5.2.1-patched.2"
11935source = "registry+https://github.com/rust-lang/crates.io-index"
11936checksum = "a1792ccb507d955b46af42c123ea8863668fae24d03721e40cad6a41773dbb49"
11937dependencies = [
11938 "cc",
11939 "fs_extra",
11940 "libc",
11941]
1130311942
11304[[package]]11943[[package]]
11305name = "time"11944name = "time"
11376 "bytes 1.1.0",12015 "bytes 1.1.0",
11377 "libc",12016 "libc",
11378 "memchr",12017 "memchr",
11379 "mio 0.8.0",12018 "mio 0.8.2",
11380 "num_cpus",12019 "num_cpus",
11381 "once_cell",12020 "once_cell",
12021 "parking_lot 0.12.0",
11382 "pin-project-lite 0.2.8",12022 "pin-project-lite 0.2.8",
11383 "signal-hook-registry",12023 "signal-hook-registry",
11384 "socket2 0.4.4",12024 "socket2 0.4.4",
1142112061
11422[[package]]12062[[package]]
11423name = "tokio-rustls"12063name = "tokio-rustls"
11424version = "0.23.2"12064version = "0.23.3"
11425source = "registry+https://github.com/rust-lang/crates.io-index"12065source = "registry+https://github.com/rust-lang/crates.io-index"
11426checksum = "a27d5f2b839802bd8267fa19b0530f5a08b9c08cd417976be2a65d130fe1c11b"12066checksum = "4151fda0cf2798550ad0b34bcfc9b9dcc2a9d2471c895c68f3a8818e54f2389e"
11427dependencies = [12067dependencies = [
11428 "rustls 0.20.4",12068 "rustls 0.20.4",
11429 "tokio 1.17.0",12069 "tokio 1.17.0",
1147312113
11474[[package]]12114[[package]]
11475name = "tracing"12115name = "tracing"
11476version = "0.1.31"12116version = "0.1.32"
11477source = "registry+https://github.com/rust-lang/crates.io-index"12117source = "registry+https://github.com/rust-lang/crates.io-index"
11478checksum = "f6c650a8ef0cd2dd93736f033d21cbd1224c5a967aa0c258d00fcf7dafef9b9f"12118checksum = "4a1bdf54a7c28a2bbf701e1d2233f6c77f473486b94bee4f9678da5a148dca7f"
11479dependencies = [12119dependencies = [
11480 "cfg-if 1.0.0",12120 "cfg-if 1.0.0",
11481 "pin-project-lite 0.2.8",12121 "pin-project-lite 0.2.8",
1148512125
11486[[package]]12126[[package]]
11487name = "tracing-attributes"12127name = "tracing-attributes"
11488version = "0.1.19"12128version = "0.1.20"
11489source = "registry+https://github.com/rust-lang/crates.io-index"12129source = "registry+https://github.com/rust-lang/crates.io-index"
11490checksum = "8276d9a4a3a558d7b7ad5303ad50b53d58264641b82914b7ada36bd762e7a716"12130checksum = "2e65ce065b4b5c53e73bb28912318cb8c9e9ad3921f1d669eb0e68b4c8143a2b"
11491dependencies = [12131dependencies = [
11492 "proc-macro2",12132 "proc-macro2",
11493 "quote",12133 "quote",
1149612136
11497[[package]]12137[[package]]
11498name = "tracing-core"12138name = "tracing-core"
11499version = "0.1.22"12139version = "0.1.23"
11500source = "registry+https://github.com/rust-lang/crates.io-index"12140source = "registry+https://github.com/rust-lang/crates.io-index"
11501checksum = "03cfcb51380632a72d3111cb8d3447a8d908e577d31beeac006f836383d29a23"12141checksum = "aa31669fa42c09c34d94d8165dd2012e8ff3c66aca50f3bb226b68f216f2706c"
11502dependencies = [12142dependencies = [
11503 "lazy_static",12143 "lazy_static",
11504 "valuable",12144 "valuable",
11642[[package]]12282[[package]]
11643name = "try-runtime-cli"12283name = "try-runtime-cli"
11644version = "0.10.0-dev"12284version = "0.10.0-dev"
11645source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"12285source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.18#fc3fd073d3a0acf9933c3994b660ebd7b5833f65"
11646dependencies = [12286dependencies = [
11647 "clap",12287 "clap",
11648 "jsonrpsee 0.4.1",12288 "jsonrpsee 0.4.1",
11677checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0"12317checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0"
11678dependencies = [12318dependencies = [
11679 "cfg-if 1.0.0",12319 "cfg-if 1.0.0",
12320 "digest 0.10.3",
11680 "rand 0.8.5",12321 "rand 0.8.5",
11681 "static_assertions",12322 "static_assertions",
11682]12323]
1176112402
11762[[package]]12403[[package]]
11763name = "unique-node"12404name = "unique-node"
11764version = "0.9.16"12405version = "0.9.17"
11765dependencies = [12406dependencies = [
11766 "clap",12407 "clap",
11767 "cumulus-client-cli",12408 "cumulus-client-cli",
11772 "cumulus-client-service",12413 "cumulus-client-service",
11773 "cumulus-primitives-core",12414 "cumulus-primitives-core",
11774 "cumulus-primitives-parachain-inherent",12415 "cumulus-primitives-parachain-inherent",
12416 "cumulus-relay-chain-inprocess-interface",
11775 "cumulus-relay-chain-interface",12417 "cumulus-relay-chain-interface",
11776 "cumulus-relay-chain-local",12418 "cumulus-relay-chain-rpc-interface",
11777 "fc-consensus",12419 "fc-consensus",
11778 "fc-db",12420 "fc-db",
11779 "fc-mapping-sync",12421 "fc-mapping-sync",
11787 "jsonrpc-core",12429 "jsonrpc-core",
11788 "jsonrpc-pubsub",12430 "jsonrpc-pubsub",
11789 "log",12431 "log",
12432 "opal-runtime",
11790 "pallet-ethereum",12433 "pallet-ethereum",
11791 "pallet-transaction-payment-rpc",12434 "pallet-transaction-payment-rpc",
12435 "pallet-transaction-payment-rpc-runtime-api",
11792 "parity-scale-codec",12436 "parity-scale-codec",
11793 "parking_lot 0.11.2",12437 "parking_lot 0.11.2",
11794 "polkadot-cli",12438 "polkadot-cli",
11795 "polkadot-parachain",12439 "polkadot-parachain",
11796 "polkadot-primitives",12440 "polkadot-primitives",
11797 "polkadot-service",12441 "polkadot-service",
11798 "polkadot-test-service",12442 "polkadot-test-service",
12443 "quartz-runtime",
11799 "sc-basic-authorship",12444 "sc-basic-authorship",
11800 "sc-chain-spec",12445 "sc-chain-spec",
11801 "sc-cli",12446 "sc-cli",
11802 "sc-client-api",12447 "sc-client-api",
11803 "sc-consensus",12448 "sc-consensus",
11804 "sc-consensus-aura",12449 "sc-consensus-aura",
12450 "sc-consensus-manual-seal",
11805 "sc-executor",12451 "sc-executor",
11806 "sc-finality-grandpa",12452 "sc-finality-grandpa",
11807 "sc-keystore",12453 "sc-keystore",
11834 "substrate-prometheus-endpoint",12480 "substrate-prometheus-endpoint",
11835 "unique-rpc",12481 "unique-rpc",
11836 "unique-runtime",12482 "unique-runtime",
12483 "unique-runtime-common",
11837 "up-data-structs",12484 "up-data-structs",
12485 "up-rpc",
11838]12486]
1183912487
11840[[package]]12488[[package]]
11849 "futures 0.3.21",12497 "futures 0.3.21",
11850 "jsonrpc-core",12498 "jsonrpc-core",
11851 "jsonrpc-pubsub",12499 "jsonrpc-pubsub",
12500 "pallet-common",
11852 "pallet-ethereum",12501 "pallet-ethereum",
11853 "pallet-transaction-payment-rpc",12502 "pallet-transaction-payment-rpc",
11854 "pallet-transaction-payment-rpc-runtime-api",12503 "pallet-transaction-payment-rpc-runtime-api",
11864 "sc-rpc-api",12513 "sc-rpc-api",
11865 "sc-service",12514 "sc-service",
11866 "sc-transaction-pool",12515 "sc-transaction-pool",
12516 "serde",
11867 "sp-api",12517 "sp-api",
11868 "sp-block-builder",12518 "sp-block-builder",
11869 "sp-blockchain",12519 "sp-blockchain",
11878 "substrate-frame-rpc-system",12528 "substrate-frame-rpc-system",
11879 "tokio 0.2.25",12529 "tokio 0.2.25",
11880 "uc-rpc",12530 "uc-rpc",
11881 "unique-runtime",12531 "unique-runtime-common",
11882 "up-rpc",12532 "up-rpc",
11883]12533]
1188412534
11885[[package]]12535[[package]]
11886name = "unique-runtime"12536name = "unique-runtime"
11887version = "0.9.16"12537version = "0.9.17"
11888dependencies = [12538dependencies = [
11889 "cumulus-pallet-aura-ext",12539 "cumulus-pallet-aura-ext",
11890 "cumulus-pallet-dmp-queue",12540 "cumulus-pallet-dmp-queue",
11949 "sp-transaction-pool",12599 "sp-transaction-pool",
11950 "sp-version",12600 "sp-version",
11951 "substrate-wasm-builder",12601 "substrate-wasm-builder",
12602 "unique-runtime-common",
11952 "up-data-structs",12603 "up-data-structs",
11953 "up-evm-mapping",12604 "up-evm-mapping",
11954 "up-rpc",12605 "up-rpc",
11957 "xcm-executor",12608 "xcm-executor",
11958]12609]
12610
12611[[package]]
12612name = "unique-runtime-common"
12613version = "0.1.0"
12614dependencies = [
12615 "fp-rpc",
12616 "frame-support",
12617 "frame-system",
12618 "pallet-common",
12619 "parity-scale-codec",
12620 "scale-info",
12621 "sp-consensus-aura",
12622 "sp-core",
12623 "sp-runtime",
12624]
1195912625
11960[[package]]12626[[package]]
11961name = "universal-hash"12627name = "universal-hash"
12042[[package]]12708[[package]]
12043name = "up-sponsorship"12709name = "up-sponsorship"
12044version = "0.1.0"12710version = "0.1.0"
12045source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.17#d9553babbc1cfdd44794cb0118dbb1491670e97e"12711source = "git+https://github.com/UniqueNetwork/pallet-sponsoring?branch=polkadot-v0.9.18#e914a799e5ff1c18383a614ea99e87dd7f3f446e"
12046dependencies = [12712dependencies = [
12047 "impl-trait-for-tuples",12713 "impl-trait-for-tuples",
12048]12714]
12143source = "registry+https://github.com/rust-lang/crates.io-index"12809source = "registry+https://github.com/rust-lang/crates.io-index"
12144checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"12810checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
12811
12812[[package]]
12813name = "wasi"
12814version = "0.11.0+wasi-snapshot-preview1"
12815source = "registry+https://github.com/rust-lang/crates.io-index"
12816checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1214512817
12146[[package]]12818[[package]]
12147name = "wasm-bindgen"12819name = "wasm-bindgen"
1248613158
12487[[package]]13159[[package]]
12488name = "westend-runtime"13160name = "westend-runtime"
12489version = "0.9.17"13161version = "0.9.18"
12490source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"13162source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
12491dependencies = [13163dependencies = [
12492 "beefy-primitives",13164 "beefy-primitives",
12493 "bitvec",13165 "bitvec",
1257213244
12573[[package]]13245[[package]]
12574name = "westend-runtime-constants"13246name = "westend-runtime-constants"
12575version = "0.9.17"13247version = "0.9.18"
12576source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"13248source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
12577dependencies = [13249dependencies = [
12578 "frame-support",13250 "frame-support",
12579 "polkadot-primitives",13251 "polkadot-primitives",
1258413256
12585[[package]]13257[[package]]
12586name = "which"13258name = "which"
12587version = "4.2.4"13259version = "4.2.5"
12588source = "registry+https://github.com/rust-lang/crates.io-index"13260source = "registry+https://github.com/rust-lang/crates.io-index"
12589checksum = "2a5a7e487e921cf220206864a94a89b6c6905bfc19f1057fa26a4cb360e5c1d2"13261checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
12590dependencies = [13262dependencies = [
12591 "either",13263 "either",
12592 "lazy_static",13264 "lazy_static",
1270613378
12707[[package]]13379[[package]]
12708name = "wyz"13380name = "wyz"
12709version = "0.2.0"13381version = "0.5.0"
12710source = "registry+https://github.com/rust-lang/crates.io-index"13382source = "registry+https://github.com/rust-lang/crates.io-index"
12711checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"13383checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e"
13384dependencies = [
13385 "tap",
13386]
1271213387
12713[[package]]13388[[package]]
12714name = "x25519-dalek"13389name = "x25519-dalek"
1272313398
12724[[package]]13399[[package]]
12725name = "xcm"13400name = "xcm"
12726version = "0.9.17"13401version = "0.9.18"
12727source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"13402source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
12728dependencies = [13403dependencies = [
12729 "derivative",13404 "derivative",
12730 "impl-trait-for-tuples",13405 "impl-trait-for-tuples",
1273613411
12737[[package]]13412[[package]]
12738name = "xcm-builder"13413name = "xcm-builder"
12739version = "0.9.17"13414version = "0.9.18"
12740source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"13415source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
12741dependencies = [13416dependencies = [
12742 "frame-support",13417 "frame-support",
12743 "frame-system",13418 "frame-system",
1275613431
12757[[package]]13432[[package]]
12758name = "xcm-executor"13433name = "xcm-executor"
12759version = "0.9.17"13434version = "0.9.18"
12760source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"13435source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
12761dependencies = [13436dependencies = [
12762 "frame-benchmarking",13437 "frame-benchmarking",
12763 "frame-support",13438 "frame-support",
12775[[package]]13450[[package]]
12776name = "xcm-procedural"13451name = "xcm-procedural"
12777version = "0.1.0"13452version = "0.1.0"
12778source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.17#de0ecd4760b146ecf33f5e867d707d789e21e060"13453source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.18#9ed0c98204d25eaad8a6b40248daee8e6a40d111"
12779dependencies = [13454dependencies = [
12780 "Inflector",13455 "Inflector",
12781 "proc-macro2",13456 "proc-macro2",
1279913474
12800[[package]]13475[[package]]
12801name = "yansi"13476name = "yansi"
12802version = "0.5.0"13477version = "0.5.1"
12803source = "registry+https://github.com/rust-lang/crates.io-index"13478source = "registry+https://github.com/rust-lang/crates.io-index"
12804checksum = "9fc79f4a1e39857fc00c3f662cbf2651c771f00e9c15fe2abc341806bd46bd71"13479checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
1280513480
12806[[package]]13481[[package]]
12807name = "zeroize"13482name = "zeroize"
12808version = "1.5.2"13483version = "1.5.4"
12809source = "registry+https://github.com/rust-lang/crates.io-index"13484source = "registry+https://github.com/rust-lang/crates.io-index"
12810checksum = "7c88870063c39ee00ec285a2f8d6a966e5b6fb2becc4e8dac77ed0d370ed6006"13485checksum = "7eb5728b8afd3f280a869ce1d4c554ffaed35f45c231fc41bfbd0381bef50317"
12811dependencies = [13486dependencies = [
12812 "zeroize_derive",13487 "zeroize_derive",
12813]13488]
modifiedCargo.tomldiffbeforeafterboth
5 'pallets/*',5 'pallets/*',
6 'client/*',6 'client/*',
7 'primitives/*',7 'primitives/*',
8 'runtime',8 'runtime/*',
9 'crates/*',9 'crates/*',
10]10]
11[profile.release]11[profile.release]
modifiedDockerfile-parachaindiffbeforeafterboth
44
5ARG RUST_TOOLCHAIN=nightly-2021-11-115ARG RUST_TOOLCHAIN=nightly-2021-11-11
6#ARG RUST_C=1.58.0-nightly6#ARG RUST_C=1.58.0-nightly
7ARG POLKA_VERSION=release-v0.9.177ARG POLKA_VERSION=release-v0.9.18
8ARG UNIQUE_BRANCH=develop8ARG UNIQUE_BRANCH=develop
99
10#ARG USER=***10#ARG USER=***
modifiedLICENSEdiffbeforeafterboth
1USETECH PROFESSIONAL CONFIDENTIAL1 GNU GENERAL PUBLIC LICENSE
2__________________2 Version 3, 29 June 2007
33
4 [2019] - [2021] UseTech Professional LTD. 4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
5 All Rights Reserved.6 of this license document, but changing it is not allowed.
67
7NOTICE: All information contained herein is, and remains8 Preamble
8the property of UseTech Professional LTD. and its suppliers,9
9if any. The intellectual and technical concepts contained10 The GNU General Public License is a free, copyleft license for
10herein are proprietary to UseTech Professional LTD.11software and other kinds of works.
11and its suppliers and may be covered by U.S. and Foreign Patents,12
12patents in process, and are protected by trade secret or copyright law.13 The licenses for most software and other practical works are designed
13Dissemination of this information or reproduction of this material14to take away your freedom to share and change the works. By contrast,
14is strictly forbidden unless prior written permission is obtained15the GNU General Public License is intended to guarantee your freedom to
15from UseTech Professional LTD..16share and change all versions of a program--to make sure it remains free
1617software for all its users. We, the Free Software Foundation, use the
18GNU General Public License for most of our software; it applies also to
19any other work released this way by its authors. You can apply it to
20your programs, too.
21
22 When we speak of free software, we are referring to freedom, not
23price. Our General Public Licenses are designed to make sure that you
24have the freedom to distribute copies of free software (and charge for
25them if you wish), that you receive source code or can get it if you
26want it, that you can change the software or use pieces of it in new
27free programs, and that you know you can do these things.
28
29 To protect your rights, we need to prevent others from denying you
30these rights or asking you to surrender the rights. Therefore, you have
31certain responsibilities if you distribute copies of the software, or if
32you modify it: responsibilities to respect the freedom of others.
33
34 For example, if you distribute copies of such a program, whether
35gratis or for a fee, you must pass on to the recipients the same
36freedoms that you received. You must make sure that they, too, receive
37or can get the source code. And you must show them these terms so they
38know their rights.
39
40 Developers that use the GNU GPL protect your rights with two steps:
41(1) assert copyright on the software, and (2) offer you this License
42giving you legal permission to copy, distribute and/or modify it.
43
44 For the developers' and authors' protection, the GPL clearly explains
45that there is no warranty for this free software. For both users' and
46authors' sake, the GPL requires that modified versions be marked as
47changed, so that their problems will not be attributed erroneously to
48authors of previous versions.
49
50 Some devices are designed to deny users access to install or run
51modified versions of the software inside them, although the manufacturer
52can do so. This is fundamentally incompatible with the aim of
53protecting users' freedom to change the software. The systematic
54pattern of such abuse occurs in the area of products for individuals to
55use, which is precisely where it is most unacceptable. Therefore, we
56have designed this version of the GPL to prohibit the practice for those
57products. If such problems arise substantially in other domains, we
58stand ready to extend this provision to those domains in future versions
59of the GPL, as needed to protect the freedom of users.
60
61 Finally, every program is threatened constantly by software patents.
62States should not allow patents to restrict development and use of
63software on general-purpose computers, but in those that do, we wish to
64avoid the special danger that patents applied to a free program could
65make it effectively proprietary. To prevent this, the GPL assures that
66patents cannot be used to render the program non-free.
67
68 The precise terms and conditions for copying, distribution and
69modification follow.
70
71 TERMS AND CONDITIONS
72
73 0. Definitions.
74
75 "This License" refers to version 3 of the GNU General Public License.
76
77 "Copyright" also means copyright-like laws that apply to other kinds of
78works, such as semiconductor masks.
79
80 "The Program" refers to any copyrightable work licensed under this
81License. Each licensee is addressed as "you". "Licensees" and
82"recipients" may be individuals or organizations.
83
84 To "modify" a work means to copy from or adapt all or part of the work
85in a fashion requiring copyright permission, other than the making of an
86exact copy. The resulting work is called a "modified version" of the
87earlier work or a work "based on" the earlier work.
88
89 A "covered work" means either the unmodified Program or a work based
90on the Program.
91
92 To "propagate" a work means to do anything with it that, without
93permission, would make you directly or secondarily liable for
94infringement under applicable copyright law, except executing it on a
95computer or modifying a private copy. Propagation includes copying,
96distribution (with or without modification), making available to the
97public, and in some countries other activities as well.
98
99 To "convey" a work means any kind of propagation that enables other
100parties to make or receive copies. Mere interaction with a user through
101a computer network, with no transfer of a copy, is not conveying.
102
103 An interactive user interface displays "Appropriate Legal Notices"
104to the extent that it includes a convenient and prominently visible
105feature that (1) displays an appropriate copyright notice, and (2)
106tells the user that there is no warranty for the work (except to the
107extent that warranties are provided), that licensees may convey the
108work under this License, and how to view a copy of this License. If
109the interface presents a list of user commands or options, such as a
110menu, a prominent item in the list meets this criterion.
111
112 1. Source Code.
113
114 The "source code" for a work means the preferred form of the work
115for making modifications to it. "Object code" means any non-source
116form of a work.
117
118 A "Standard Interface" means an interface that either is an official
119standard defined by a recognized standards body, or, in the case of
120interfaces specified for a particular programming language, one that
121is widely used among developers working in that language.
122
123 The "System Libraries" of an executable work include anything, other
124than the work as a whole, that (a) is included in the normal form of
125packaging a Major Component, but which is not part of that Major
126Component, and (b) serves only to enable use of the work with that
127Major Component, or to implement a Standard Interface for which an
128implementation is available to the public in source code form. A
129"Major Component", in this context, means a major essential component
130(kernel, window system, and so on) of the specific operating system
131(if any) on which the executable work runs, or a compiler used to
132produce the work, or an object code interpreter used to run it.
133
134 The "Corresponding Source" for a work in object code form means all
135the source code needed to generate, install, and (for an executable
136work) run the object code and to modify the work, including scripts to
137control those activities. However, it does not include the work's
138System Libraries, or general-purpose tools or generally available free
139programs which are used unmodified in performing those activities but
140which are not part of the work. For example, Corresponding Source
141includes interface definition files associated with source files for
142the work, and the source code for shared libraries and dynamically
143linked subprograms that the work is specifically designed to require,
144such as by intimate data communication or control flow between those
145subprograms and other parts of the work.
146
147 The Corresponding Source need not include anything that users
148can regenerate automatically from other parts of the Corresponding
149Source.
150
151 The Corresponding Source for a work in source code form is that
152same work.
153
154 2. Basic Permissions.
155
156 All rights granted under this License are granted for the term of
157copyright on the Program, and are irrevocable provided the stated
158conditions are met. This License explicitly affirms your unlimited
159permission to run the unmodified Program. The output from running a
160covered work is covered by this License only if the output, given its
161content, constitutes a covered work. This License acknowledges your
162rights of fair use or other equivalent, as provided by copyright law.
163
164 You may make, run and propagate covered works that you do not
165convey, without conditions so long as your license otherwise remains
166in force. You may convey covered works to others for the sole purpose
167of having them make modifications exclusively for you, or provide you
168with facilities for running those works, provided that you comply with
169the terms of this License in conveying all material for which you do
170not control copyright. Those thus making or running the covered works
171for you must do so exclusively on your behalf, under your direction
172and control, on terms that prohibit them from making any copies of
173your copyrighted material outside their relationship with you.
174
175 Conveying under any other circumstances is permitted solely under
176the conditions stated below. Sublicensing is not allowed; section 10
177makes it unnecessary.
178
179 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
181 No covered work shall be deemed part of an effective technological
182measure under any applicable law fulfilling obligations under article
18311 of the WIPO copyright treaty adopted on 20 December 1996, or
184similar laws prohibiting or restricting circumvention of such
185measures.
186
187 When you convey a covered work, you waive any legal power to forbid
188circumvention of technological measures to the extent such circumvention
189is effected by exercising rights under this License with respect to
190the covered work, and you disclaim any intention to limit operation or
191modification of the work as a means of enforcing, against the work's
192users, your or third parties' legal rights to forbid circumvention of
193technological measures.
194
195 4. Conveying Verbatim Copies.
196
197 You may convey verbatim copies of the Program's source code as you
198receive it, in any medium, provided that you conspicuously and
199appropriately publish on each copy an appropriate copyright notice;
200keep intact all notices stating that this License and any
201non-permissive terms added in accord with section 7 apply to the code;
202keep intact all notices of the absence of any warranty; and give all
203recipients a copy of this License along with the Program.
204
205 You may charge any price or no price for each copy that you convey,
206and you may offer support or warranty protection for a fee.
207
208 5. Conveying Modified Source Versions.
209
210 You may convey a work based on the Program, or the modifications to
211produce it from the Program, in the form of source code under the
212terms of section 4, provided that you also meet all of these conditions:
213
214 a) The work must carry prominent notices stating that you modified
215 it, and giving a relevant date.
216
217 b) The work must carry prominent notices stating that it is
218 released under this License and any conditions added under section
219 7. This requirement modifies the requirement in section 4 to
220 "keep intact all notices".
221
222 c) You must license the entire work, as a whole, under this
223 License to anyone who comes into possession of a copy. This
224 License will therefore apply, along with any applicable section 7
225 additional terms, to the whole of the work, and all its parts,
226 regardless of how they are packaged. This License gives no
227 permission to license the work in any other way, but it does not
228 invalidate such permission if you have separately received it.
229
230 d) If the work has interactive user interfaces, each must display
231 Appropriate Legal Notices; however, if the Program has interactive
232 interfaces that do not display Appropriate Legal Notices, your
233 work need not make them do so.
234
235 A compilation of a covered work with other separate and independent
236works, which are not by their nature extensions of the covered work,
237and which are not combined with it such as to form a larger program,
238in or on a volume of a storage or distribution medium, is called an
239"aggregate" if the compilation and its resulting copyright are not
240used to limit the access or legal rights of the compilation's users
241beyond what the individual works permit. Inclusion of a covered work
242in an aggregate does not cause this License to apply to the other
243parts of the aggregate.
244
245 6. Conveying Non-Source Forms.
246
247 You may convey a covered work in object code form under the terms
248of sections 4 and 5, provided that you also convey the
249machine-readable Corresponding Source under the terms of this License,
250in one of these ways:
251
252 a) Convey the object code in, or embodied in, a physical product
253 (including a physical distribution medium), accompanied by the
254 Corresponding Source fixed on a durable physical medium
255 customarily used for software interchange.
256
257 b) Convey the object code in, or embodied in, a physical product
258 (including a physical distribution medium), accompanied by a
259 written offer, valid for at least three years and valid for as
260 long as you offer spare parts or customer support for that product
261 model, to give anyone who possesses the object code either (1) a
262 copy of the Corresponding Source for all the software in the
263 product that is covered by this License, on a durable physical
264 medium customarily used for software interchange, for a price no
265 more than your reasonable cost of physically performing this
266 conveying of source, or (2) access to copy the
267 Corresponding Source from a network server at no charge.
268
269 c) Convey individual copies of the object code with a copy of the
270 written offer to provide the Corresponding Source. This
271 alternative is allowed only occasionally and noncommercially, and
272 only if you received the object code with such an offer, in accord
273 with subsection 6b.
274
275 d) Convey the object code by offering access from a designated
276 place (gratis or for a charge), and offer equivalent access to the
277 Corresponding Source in the same way through the same place at no
278 further charge. You need not require recipients to copy the
279 Corresponding Source along with the object code. If the place to
280 copy the object code is a network server, the Corresponding Source
281 may be on a different server (operated by you or a third party)
282 that supports equivalent copying facilities, provided you maintain
283 clear directions next to the object code saying where to find the
284 Corresponding Source. Regardless of what server hosts the
285 Corresponding Source, you remain obligated to ensure that it is
286 available for as long as needed to satisfy these requirements.
287
288 e) Convey the object code using peer-to-peer transmission, provided
289 you inform other peers where the object code and Corresponding
290 Source of the work are being offered to the general public at no
291 charge under subsection 6d.
292
293 A separable portion of the object code, whose source code is excluded
294from the Corresponding Source as a System Library, need not be
295included in conveying the object code work.
296
297 A "User Product" is either (1) a "consumer product", which means any
298tangible personal property which is normally used for personal, family,
299or household purposes, or (2) anything designed or sold for incorporation
300into a dwelling. In determining whether a product is a consumer product,
301doubtful cases shall be resolved in favor of coverage. For a particular
302product received by a particular user, "normally used" refers to a
303typical or common use of that class of product, regardless of the status
304of the particular user or of the way in which the particular user
305actually uses, or expects or is expected to use, the product. A product
306is a consumer product regardless of whether the product has substantial
307commercial, industrial or non-consumer uses, unless such uses represent
308the only significant mode of use of the product.
309
310 "Installation Information" for a User Product means any methods,
311procedures, authorization keys, or other information required to install
312and execute modified versions of a covered work in that User Product from
313a modified version of its Corresponding Source. The information must
314suffice to ensure that the continued functioning of the modified object
315code is in no case prevented or interfered with solely because
316modification has been made.
317
318 If you convey an object code work under this section in, or with, or
319specifically for use in, a User Product, and the conveying occurs as
320part of a transaction in which the right of possession and use of the
321User Product is transferred to the recipient in perpetuity or for a
322fixed term (regardless of how the transaction is characterized), the
323Corresponding Source conveyed under this section must be accompanied
324by the Installation Information. But this requirement does not apply
325if neither you nor any third party retains the ability to install
326modified object code on the User Product (for example, the work has
327been installed in ROM).
328
329 The requirement to provide Installation Information does not include a
330requirement to continue to provide support service, warranty, or updates
331for a work that has been modified or installed by the recipient, or for
332the User Product in which it has been modified or installed. Access to a
333network may be denied when the modification itself materially and
334adversely affects the operation of the network or violates the rules and
335protocols for communication across the network.
336
337 Corresponding Source conveyed, and Installation Information provided,
338in accord with this section must be in a format that is publicly
339documented (and with an implementation available to the public in
340source code form), and must require no special password or key for
341unpacking, reading or copying.
342
343 7. Additional Terms.
344
345 "Additional permissions" are terms that supplement the terms of this
346License by making exceptions from one or more of its conditions.
347Additional permissions that are applicable to the entire Program shall
348be treated as though they were included in this License, to the extent
349that they are valid under applicable law. If additional permissions
350apply only to part of the Program, that part may be used separately
351under those permissions, but the entire Program remains governed by
352this License without regard to the additional permissions.
353
354 When you convey a copy of a covered work, you may at your option
355remove any additional permissions from that copy, or from any part of
356it. (Additional permissions may be written to require their own
357removal in certain cases when you modify the work.) You may place
358additional permissions on material, added by you to a covered work,
359for which you have or can give appropriate copyright permission.
360
361 Notwithstanding any other provision of this License, for material you
362add to a covered work, you may (if authorized by the copyright holders of
363that material) supplement the terms of this License with terms:
364
365 a) Disclaiming warranty or limiting liability differently from the
366 terms of sections 15 and 16 of this License; or
367
368 b) Requiring preservation of specified reasonable legal notices or
369 author attributions in that material or in the Appropriate Legal
370 Notices displayed by works containing it; or
371
372 c) Prohibiting misrepresentation of the origin of that material, or
373 requiring that modified versions of such material be marked in
374 reasonable ways as different from the original version; or
375
376 d) Limiting the use for publicity purposes of names of licensors or
377 authors of the material; or
378
379 e) Declining to grant rights under trademark law for use of some
380 trade names, trademarks, or service marks; or
381
382 f) Requiring indemnification of licensors and authors of that
383 material by anyone who conveys the material (or modified versions of
384 it) with contractual assumptions of liability to the recipient, for
385 any liability that these contractual assumptions directly impose on
386 those licensors and authors.
387
388 All other non-permissive additional terms are considered "further
389restrictions" within the meaning of section 10. If the Program as you
390received it, or any part of it, contains a notice stating that it is
391governed by this License along with a term that is a further
392restriction, you may remove that term. If a license document contains
393a further restriction but permits relicensing or conveying under this
394License, you may add to a covered work material governed by the terms
395of that license document, provided that the further restriction does
396not survive such relicensing or conveying.
397
398 If you add terms to a covered work in accord with this section, you
399must place, in the relevant source files, a statement of the
400additional terms that apply to those files, or a notice indicating
401where to find the applicable terms.
402
403 Additional terms, permissive or non-permissive, may be stated in the
404form of a separately written license, or stated as exceptions;
405the above requirements apply either way.
406
407 8. Termination.
408
409 You may not propagate or modify a covered work except as expressly
410provided under this License. Any attempt otherwise to propagate or
411modify it is void, and will automatically terminate your rights under
412this License (including any patent licenses granted under the third
413paragraph of section 11).
414
415 However, if you cease all violation of this License, then your
416license from a particular copyright holder is reinstated (a)
417provisionally, unless and until the copyright holder explicitly and
418finally terminates your license, and (b) permanently, if the copyright
419holder fails to notify you of the violation by some reasonable means
420prior to 60 days after the cessation.
421
422 Moreover, your license from a particular copyright holder is
423reinstated permanently if the copyright holder notifies you of the
424violation by some reasonable means, this is the first time you have
425received notice of violation of this License (for any work) from that
426copyright holder, and you cure the violation prior to 30 days after
427your receipt of the notice.
428
429 Termination of your rights under this section does not terminate the
430licenses of parties who have received copies or rights from you under
431this License. If your rights have been terminated and not permanently
432reinstated, you do not qualify to receive new licenses for the same
433material under section 10.
434
435 9. Acceptance Not Required for Having Copies.
436
437 You are not required to accept this License in order to receive or
438run a copy of the Program. Ancillary propagation of a covered work
439occurring solely as a consequence of using peer-to-peer transmission
440to receive a copy likewise does not require acceptance. However,
441nothing other than this License grants you permission to propagate or
442modify any covered work. These actions infringe copyright if you do
443not accept this License. Therefore, by modifying or propagating a
444covered work, you indicate your acceptance of this License to do so.
445
446 10. Automatic Licensing of Downstream Recipients.
447
448 Each time you convey a covered work, the recipient automatically
449receives a license from the original licensors, to run, modify and
450propagate that work, subject to this License. You are not responsible
451for enforcing compliance by third parties with this License.
452
453 An "entity transaction" is a transaction transferring control of an
454organization, or substantially all assets of one, or subdividing an
455organization, or merging organizations. If propagation of a covered
456work results from an entity transaction, each party to that
457transaction who receives a copy of the work also receives whatever
458licenses to the work the party's predecessor in interest had or could
459give under the previous paragraph, plus a right to possession of the
460Corresponding Source of the work from the predecessor in interest, if
461the predecessor has it or can get it with reasonable efforts.
462
463 You may not impose any further restrictions on the exercise of the
464rights granted or affirmed under this License. For example, you may
465not impose a license fee, royalty, or other charge for exercise of
466rights granted under this License, and you may not initiate litigation
467(including a cross-claim or counterclaim in a lawsuit) alleging that
468any patent claim is infringed by making, using, selling, offering for
469sale, or importing the Program or any portion of it.
470
471 11. Patents.
472
473 A "contributor" is a copyright holder who authorizes use under this
474License of the Program or a work on which the Program is based. The
475work thus licensed is called the contributor's "contributor version".
476
477 A contributor's "essential patent claims" are all patent claims
478owned or controlled by the contributor, whether already acquired or
479hereafter acquired, that would be infringed by some manner, permitted
480by this License, of making, using, or selling its contributor version,
481but do not include claims that would be infringed only as a
482consequence of further modification of the contributor version. For
483purposes of this definition, "control" includes the right to grant
484patent sublicenses in a manner consistent with the requirements of
485this License.
486
487 Each contributor grants you a non-exclusive, worldwide, royalty-free
488patent license under the contributor's essential patent claims, to
489make, use, sell, offer for sale, import and otherwise run, modify and
490propagate the contents of its contributor version.
491
492 In the following three paragraphs, a "patent license" is any express
493agreement or commitment, however denominated, not to enforce a patent
494(such as an express permission to practice a patent or covenant not to
495sue for patent infringement). To "grant" such a patent license to a
496party means to make such an agreement or commitment not to enforce a
497patent against the party.
498
499 If you convey a covered work, knowingly relying on a patent license,
500and the Corresponding Source of the work is not available for anyone
501to copy, free of charge and under the terms of this License, through a
502publicly available network server or other readily accessible means,
503then you must either (1) cause the Corresponding Source to be so
504available, or (2) arrange to deprive yourself of the benefit of the
505patent license for this particular work, or (3) arrange, in a manner
506consistent with the requirements of this License, to extend the patent
507license to downstream recipients. "Knowingly relying" means you have
508actual knowledge that, but for the patent license, your conveying the
509covered work in a country, or your recipient's use of the covered work
510in a country, would infringe one or more identifiable patents in that
511country that you have reason to believe are valid.
512
513 If, pursuant to or in connection with a single transaction or
514arrangement, you convey, or propagate by procuring conveyance of, a
515covered work, and grant a patent license to some of the parties
516receiving the covered work authorizing them to use, propagate, modify
517or convey a specific copy of the covered work, then the patent license
518you grant is automatically extended to all recipients of the covered
519work and works based on it.
520
521 A patent license is "discriminatory" if it does not include within
522the scope of its coverage, prohibits the exercise of, or is
523conditioned on the non-exercise of one or more of the rights that are
524specifically granted under this License. You may not convey a covered
525work if you are a party to an arrangement with a third party that is
526in the business of distributing software, under which you make payment
527to the third party based on the extent of your activity of conveying
528the work, and under which the third party grants, to any of the
529parties who would receive the covered work from you, a discriminatory
530patent license (a) in connection with copies of the covered work
531conveyed by you (or copies made from those copies), or (b) primarily
532for and in connection with specific products or compilations that
533contain the covered work, unless you entered into that arrangement,
534or that patent license was granted, prior to 28 March 2007.
535
536 Nothing in this License shall be construed as excluding or limiting
537any implied license or other defenses to infringement that may
538otherwise be available to you under applicable patent law.
539
540 12. No Surrender of Others' Freedom.
541
542 If conditions are imposed on you (whether by court order, agreement or
543otherwise) that contradict the conditions of this License, they do not
544excuse you from the conditions of this License. If you cannot convey a
545covered work so as to satisfy simultaneously your obligations under this
546License and any other pertinent obligations, then as a consequence you may
547not convey it at all. For example, if you agree to terms that obligate you
548to collect a royalty for further conveying from those to whom you convey
549the Program, the only way you could satisfy both those terms and this
550License would be to refrain entirely from conveying the Program.
551
552 13. Use with the GNU Affero General Public License.
553
554 Notwithstanding any other provision of this License, you have
555permission to link or combine any covered work with a work licensed
556under version 3 of the GNU Affero General Public License into a single
557combined work, and to convey the resulting work. The terms of this
558License will continue to apply to the part which is the covered work,
559but the special requirements of the GNU Affero General Public License,
560section 13, concerning interaction through a network will apply to the
561combination as such.
562
563 14. Revised Versions of this License.
564
565 The Free Software Foundation may publish revised and/or new versions of
566the GNU General Public License from time to time. Such new versions will
567be similar in spirit to the present version, but may differ in detail to
568address new problems or concerns.
569
570 Each version is given a distinguishing version number. If the
571Program specifies that a certain numbered version of the GNU General
572Public License "or any later version" applies to it, you have the
573option of following the terms and conditions either of that numbered
574version or of any later version published by the Free Software
575Foundation. If the Program does not specify a version number of the
576GNU General Public License, you may choose any version ever published
577by the Free Software Foundation.
578
579 If the Program specifies that a proxy can decide which future
580versions of the GNU General Public License can be used, that proxy's
581public statement of acceptance of a version permanently authorizes you
582to choose that version for the Program.
583
584 Later license versions may give you additional or different
585permissions. However, no additional obligations are imposed on any
586author or copyright holder as a result of your choosing to follow a
587later version.
588
589 15. Disclaimer of Warranty.
590
591 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
600 16. Limitation of Liability.
601
602 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610SUCH DAMAGES.
611
612 17. Interpretation of Sections 15 and 16.
613
614 If the disclaimer of warranty and limitation of liability provided
615above cannot be given local legal effect according to their terms,
616reviewing courts shall apply local law that most closely approximates
617an absolute waiver of all civil liability in connection with the
618Program, unless a warranty or assumption of liability accompanies a
619copy of the Program in return for a fee.
620
621 END OF TERMS AND CONDITIONS
622
623 How to Apply These Terms to Your New Programs
624
625 If you develop a new program, and you want it to be of the greatest
626possible use to the public, the best way to achieve this is to make it
627free software which everyone can redistribute and change under these terms.
628
629 To do so, attach the following notices to the program. It is safest
630to attach them to the start of each source file to most effectively
631state the exclusion of warranty; and each file should have at least
632the "copyright" line and a pointer to where the full notice is found.
633
634 {one line to give the program's name and a brief idea of what it does.}
635 Copyright (C) {year} {name of author}
636
637 This program is free software: you can redistribute it and/or modify
638 it under the terms of the GNU General Public License as published by
639 the Free Software Foundation, either version 3 of the License, or
640 (at your option) any later version.
641
642 This program is distributed in the hope that it will be useful,
643 but WITHOUT ANY WARRANTY; without even the implied warranty of
644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 GNU General Public License for more details.
646
647 You should have received a copy of the GNU General Public License
648 along with this program. If not, see <http://www.gnu.org/licenses/>.
649
650Also add information on how to contact you by electronic and paper mail.
651
652 If the program does terminal interaction, make it output a short
653notice like this when it starts in an interactive mode:
654
655 {project} Copyright (C) {year} {fullname}
656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 This is free software, and you are welcome to redistribute it
658 under certain conditions; type `show c' for details.
659
660The hypothetical commands `show w' and `show c' should show the appropriate
661parts of the General Public License. Of course, your program's commands
662might be different; for a GUI interface, you would use an "about box".
663
664 You should also get your employer (if you work as a programmer) or school,
665if any, to sign a "copyright disclaimer" for the program, if necessary.
666For more information on this, and how to apply and follow the GNU GPL, see
667<http://www.gnu.org/licenses/>.
668
669 The GNU General Public License does not permit incorporating your program
670into proprietary programs. If your program is a subroutine library, you
671may consider it more useful to permit linking proprietary applications with
672the library. If this is what you want to do, use the GNU Lesser General
673Public License instead of this License. But first, please read
674<http://www.gnu.org/philosophy/why-not-lgpl.html>.
modifiedMakefilediffbeforeafterboth
34 cargo run --release --features runtime-benchmarks -- \34 cargo run --release --features runtime-benchmarks -- \
35 benchmark --pallet pallet-$(PALLET) \35 benchmark --pallet pallet-$(PALLET) \
36 --wasm-execution compiled --extrinsic '*' \36 --wasm-execution compiled --extrinsic '*' \
37 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=20 \37 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
38 --output=./pallets/$(PALLET)/src/weights.rs38 --output=./pallets/$(PALLET)/src/weights.rs
3939
40.PHONY: bench-evm-migration40.PHONY: bench-evm-migration
modifiedREADME.mddiffbeforeafterboth
27- [Unique Wallet and UI](https://uniqueapps.usetech.com/#/nft)27- [Unique Wallet and UI](https://uniqueapps.usetech.com/#/nft)
28- [NFT Asset for Unity Framework](https://github.com/usetech-llc/nft_unity)28- [NFT Asset for Unity Framework](https://github.com/usetech-llc/nft_unity)
2929
30Please see our [walk-thorugh instructions](doc/hackusama_walk_through.md) to try everything out!30Please see our [walk-through instructions](doc/hackusama_walk_through.md) to try everything out!
3131
32## Application Development32## Application Development
3333
86```86```
87git clone https://github.com/paritytech/polkadot.git87git clone https://github.com/paritytech/polkadot.git
88cd polkadot88cd polkadot
89git checkout release-v0.9.1789git checkout release-v0.9.18
90cargo build --release90cargo build --release
91```91```
9292
158```158```
159assetRegistry -> registerForeignAsset(location, metadata)159assetRegistry -> registerForeignAsset(location, metadata)
160location:160location:
161 V0(X2(Parent, Parachain(PARA_ID))) 161 V0(X2(Parent, Parachain(PARA_ID)))
162metadata:162metadata:
163 name OPL163 name OPL
164 symbol OPL164 symbol OPL
170```170```
171polkadotXcm -> reserveTransferAssets171polkadotXcm -> reserveTransferAssets
172dest:172dest:
173 V0(X2(Parent, Parachain(<KARURA_PARA_ID>))) 173 V0(X2(Parent, Parachain(<KARURA_PARA_ID>)))
174beneficiary:174beneficiary:
175 X1(AccountId(Any, <ACCOUNT>))175 X1(AccountId(Any, <ACCOUNT>))
176assets:176assets:
177 V1(Concrete(0,Here), Fungible(<AMOUNT>))177 V1(Concrete(0,Here), Fungible(<AMOUNT>))
178feeAssetItem: 178feeAssetItem:
179 0 179 0
180weightLimit:180weightLimit:
181 <LIMIT>181 <LIMIT>
182``` 182```
183183
184The result will be displayed in ChainState 184The result will be displayed in ChainState
185tokens -> accounts 185tokens -> accounts
186186
187### To send tokens from Karura to Opal:187### To send tokens from Karura to Opal:
188```188```
197dest:197dest:
198 V1198 V1
199 (199 (
200 Parents:1, 200 Parents:1,
201 X2(Parachain(<KARURA_PARA_ID>), AccountId(Any, <ACCOUNT>)201 X2(Parachain(<KARURA_PARA_ID>), AccountId(Any, <ACCOUNT>)
202 )202 )
203destWeight:203destWeight:
modifiedclient/rpc/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "uc-rpc"2name = "uc-rpc"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7pallet-common = { default-features = false, path = '../../pallets/common' }8pallet-common = { default-features = false, path = '../../pallets/common' }
8up-data-structs = { default-features = false, path = '../../primitives/data-structs' }9up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
9up-rpc = { path = "../../primitives/rpc" }10up-rpc = { path = "../../primitives/rpc" }
10codec = { package = "parity-scale-codec", version = "2.0.0" }11codec = { package = "parity-scale-codec", version = "3.1.2" }
11jsonrpc-core = "18.0.0"12jsonrpc-core = "18.0.0"
12jsonrpc-core-client = "18.0.0"13jsonrpc-core-client = "18.0.0"
13jsonrpc-derive = "18.0.0"14jsonrpc-derive = "18.0.0"
1415
15sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }16sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
16sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }17sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
17sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }18sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
18sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }19sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
19sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }20sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
2021
modifiedclient/rpc/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use std::sync::Arc;17use std::sync::Arc;
218
modifiedcrates/evm-coder-macros/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "evm-coder-macros"2name = "evm-coder-macros"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[lib]7[lib]
modifiedcrates/evm-coder-macros/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![allow(dead_code)]17#![allow(dead_code)]
218
modifiedcrates/evm-coder-macros/src/solidity_interface.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![allow(dead_code)]17#![allow(dead_code)]
218
modifiedcrates/evm-coder-macros/src/to_log.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use inflector::cases;17use inflector::cases;
2use syn::{Data, DeriveInput, Field, Fields, Ident, Variant, spanned::Spanned};18use syn::{Data, DeriveInput, Field, Fields, Ident, Variant, spanned::Spanned};
modifiedcrates/evm-coder/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "evm-coder"2name = "evm-coder"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7evm-coder-macros = { path = "../evm-coder-macros" }8evm-coder-macros = { path = "../evm-coder-macros" }
8primitive-types = { version = "0.10.1", default-features = false }9primitive-types = { version = "0.11.1", default-features = false }
9hex-literal = "0.3.3"10hex-literal = "0.3.3"
10ethereum = { version = "0.11.1", default-features = false }11ethereum = { version = "0.12.0", default-features = false }
11evm-core = { default-features = false, git = "https://github.com/uniquenetwork/evm.git", branch = "unique-polkadot-v0.9.16" }12evm-core = { default-features = false, git = "https://github.com/uniquenetwork/evm.git", branch = "unique-polkadot-v0.9.18" }
12impl-trait-for-tuples = "0.2.1"13impl-trait-for-tuples = "0.2.1"
1314
14[dev-dependencies]15[dev-dependencies]
modifiedcrates/evm-coder/src/abi.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1//! TODO: I misunterstood therminology, abi IS rlp encoded, so17//! TODO: I misunterstood therminology, abi IS rlp encoded, so
2//! this module should be replaced with rlp crate18//! this module should be replaced with rlp crate
modifiedcrates/evm-coder/src/events.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use ethereum::Log;17use ethereum::Log;
2use primitive_types::{H160, H256};18use primitive_types::{H160, H256};
modifiedcrates/evm-coder/src/execution.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#[cfg(not(feature = "std"))]17#[cfg(not(feature = "std"))]
2use alloc::string::{String, ToString};18use alloc::string::{String, ToString};
modifiedcrates/evm-coder/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
2#[cfg(not(feature = "std"))]18#[cfg(not(feature = "std"))]
modifiedcrates/evm-coder/src/solidity.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#[cfg(not(feature = "std"))]17#[cfg(not(feature = "std"))]
2use alloc::{18use alloc::{
modifiedcrates/evm-coder/tests/generics.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use std::marker::PhantomData;17use std::marker::PhantomData;
2use evm_coder::{execution::Result, generate_stubgen, solidity_interface, types::*};18use evm_coder::{execution::Result, generate_stubgen, solidity_interface, types::*};
modifiedcrates/evm-coder/tests/log.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![allow(dead_code)]17#![allow(dead_code)]
218
modifiedcrates/evm-coder/tests/random.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![allow(dead_code)] // This test only checks that macros is not panicking17#![allow(dead_code)] // This test only checks that macros is not panicking
218
modifiedcrates/evm-coder/tests/solidity_generation.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use evm_coder::{execution::Result, generate_stubgen, solidity_interface, types::*};17use evm_coder::{execution::Result, generate_stubgen, solidity_interface, types::*};
218
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.git'5git = 'https://github.com/paritytech/substrate.git'
6branch = 'polkadot-v0.9.17'6branch = 'polkadot-v0.9.18'
77
8################################################################################8################################################################################
9# Substrate Dependecies9# Substrate Dependecies
12default-features = false12default-features = false
13features = ['derive']13features = ['derive']
14package = 'parity-scale-codec'14package = 'parity-scale-codec'
15version = '2.3.0'15version = '3.1.2'
1616
17[dependencies.frame-benchmarking]17[dependencies.frame-benchmarking]
18git = 'https://github.com/paritytech/substrate.git'18git = 'https://github.com/paritytech/substrate.git'
19branch = 'polkadot-v0.9.17'19branch = 'polkadot-v0.9.18'
2020
21[dependencies.frame-benchmarking-cli]21[dependencies.frame-benchmarking-cli]
22git = 'https://github.com/paritytech/substrate.git'22git = 'https://github.com/paritytech/substrate.git'
23branch = 'polkadot-v0.9.17'23branch = 'polkadot-v0.9.18'
2424
25[dependencies.pallet-transaction-payment-rpc]25[dependencies.pallet-transaction-payment-rpc]
26git = 'https://github.com/paritytech/substrate.git'26git = 'https://github.com/paritytech/substrate.git'
27branch = 'polkadot-v0.9.17'27branch = 'polkadot-v0.9.18'
2828
29[dependencies.substrate-prometheus-endpoint]29[dependencies.substrate-prometheus-endpoint]
30git = 'https://github.com/paritytech/substrate.git'30git = 'https://github.com/paritytech/substrate.git'
31branch = 'polkadot-v0.9.17'31branch = 'polkadot-v0.9.18'
3232
33[dependencies.sc-basic-authorship]33[dependencies.sc-basic-authorship]
34git = 'https://github.com/paritytech/substrate.git'34git = 'https://github.com/paritytech/substrate.git'
35branch = 'polkadot-v0.9.17'35branch = 'polkadot-v0.9.18'
3636
37[dependencies.sc-chain-spec]37[dependencies.sc-chain-spec]
38git = 'https://github.com/paritytech/substrate.git'38git = 'https://github.com/paritytech/substrate.git'
39branch = 'polkadot-v0.9.17'39branch = 'polkadot-v0.9.18'
4040
41[dependencies.sc-cli]41[dependencies.sc-cli]
42features = ['wasmtime']42features = ['wasmtime']
43git = 'https://github.com/paritytech/substrate.git'43git = 'https://github.com/paritytech/substrate.git'
44branch = 'polkadot-v0.9.17'44branch = 'polkadot-v0.9.18'
4545
46[dependencies.sc-client-api]46[dependencies.sc-client-api]
47git = 'https://github.com/paritytech/substrate.git'47git = 'https://github.com/paritytech/substrate.git'
48branch = 'polkadot-v0.9.17'48branch = 'polkadot-v0.9.18'
4949
50[dependencies.sc-consensus]50[dependencies.sc-consensus]
51git = 'https://github.com/paritytech/substrate.git'51git = 'https://github.com/paritytech/substrate.git'
52branch = 'polkadot-v0.9.17'52branch = 'polkadot-v0.9.18'
5353
54[dependencies.sc-consensus-aura]54[dependencies.sc-consensus-aura]
55git = 'https://github.com/paritytech/substrate.git'55git = 'https://github.com/paritytech/substrate.git'
56branch = 'polkadot-v0.9.17'56branch = 'polkadot-v0.9.18'
5757
58[dependencies.sc-executor]58[dependencies.sc-executor]
59features = ['wasmtime']59features = ['wasmtime']
60git = 'https://github.com/paritytech/substrate.git'60git = 'https://github.com/paritytech/substrate.git'
61branch = 'polkadot-v0.9.17'61branch = 'polkadot-v0.9.18'
6262
63[dependencies.sc-finality-grandpa]63[dependencies.sc-finality-grandpa]
64git = 'https://github.com/paritytech/substrate.git'64git = 'https://github.com/paritytech/substrate.git'
65branch = 'polkadot-v0.9.17'65branch = 'polkadot-v0.9.18'
6666
67[dependencies.sc-keystore]67[dependencies.sc-keystore]
68git = 'https://github.com/paritytech/substrate.git'68git = 'https://github.com/paritytech/substrate.git'
69branch = 'polkadot-v0.9.17'69branch = 'polkadot-v0.9.18'
7070
71[dependencies.sc-rpc]71[dependencies.sc-rpc]
72git = 'https://github.com/paritytech/substrate.git'72git = 'https://github.com/paritytech/substrate.git'
73branch = 'polkadot-v0.9.17'73branch = 'polkadot-v0.9.18'
7474
75[dependencies.sc-rpc-api]75[dependencies.sc-rpc-api]
76git = 'https://github.com/paritytech/substrate.git'76git = 'https://github.com/paritytech/substrate.git'
77branch = 'polkadot-v0.9.17'77branch = 'polkadot-v0.9.18'
7878
79[dependencies.sc-service]79[dependencies.sc-service]
80features = ['wasmtime']80features = ['wasmtime']
81git = 'https://github.com/paritytech/substrate.git'81git = 'https://github.com/paritytech/substrate.git'
82branch = 'polkadot-v0.9.17'82branch = 'polkadot-v0.9.18'
8383
84[dependencies.sc-telemetry]84[dependencies.sc-telemetry]
85git = 'https://github.com/paritytech/substrate.git'85git = 'https://github.com/paritytech/substrate.git'
86branch = 'polkadot-v0.9.17'86branch = 'polkadot-v0.9.18'
8787
88[dependencies.sc-transaction-pool]88[dependencies.sc-transaction-pool]
89git = 'https://github.com/paritytech/substrate.git'89git = 'https://github.com/paritytech/substrate.git'
90branch = 'polkadot-v0.9.17'90branch = 'polkadot-v0.9.18'
9191
92[dependencies.sc-tracing]92[dependencies.sc-tracing]
93git = 'https://github.com/paritytech/substrate.git'93git = 'https://github.com/paritytech/substrate.git'
94branch = 'polkadot-v0.9.17'94branch = 'polkadot-v0.9.18'
9595
96[dependencies.sp-block-builder]96[dependencies.sp-block-builder]
97git = 'https://github.com/paritytech/substrate.git'97git = 'https://github.com/paritytech/substrate.git'
98branch = 'polkadot-v0.9.17'98branch = 'polkadot-v0.9.18'
9999
100[dependencies.sp-api]100[dependencies.sp-api]
101git = 'https://github.com/paritytech/substrate.git'101git = 'https://github.com/paritytech/substrate.git'
102branch = 'polkadot-v0.9.17'102branch = 'polkadot-v0.9.18'
103103
104[dependencies.sp-blockchain]104[dependencies.sp-blockchain]
105git = 'https://github.com/paritytech/substrate.git'105git = 'https://github.com/paritytech/substrate.git'
106branch = 'polkadot-v0.9.17'106branch = 'polkadot-v0.9.18'
107107
108[dependencies.sp-consensus]108[dependencies.sp-consensus]
109git = 'https://github.com/paritytech/substrate.git'109git = 'https://github.com/paritytech/substrate.git'
110branch = 'polkadot-v0.9.17'110branch = 'polkadot-v0.9.18'
111111
112[dependencies.sp-consensus-aura]112[dependencies.sp-consensus-aura]
113git = 'https://github.com/paritytech/substrate.git'113git = 'https://github.com/paritytech/substrate.git'
114branch = 'polkadot-v0.9.17'114branch = 'polkadot-v0.9.18'
115115
116[dependencies.sp-core]116[dependencies.sp-core]
117git = 'https://github.com/paritytech/substrate.git'117git = 'https://github.com/paritytech/substrate.git'
118branch = 'polkadot-v0.9.17'118branch = 'polkadot-v0.9.18'
119119
120[dependencies.sp-finality-grandpa]120[dependencies.sp-finality-grandpa]
121git = 'https://github.com/paritytech/substrate.git'121git = 'https://github.com/paritytech/substrate.git'
122branch = 'polkadot-v0.9.17'122branch = 'polkadot-v0.9.18'
123123
124[dependencies.sp-inherents]124[dependencies.sp-inherents]
125git = 'https://github.com/paritytech/substrate.git'125git = 'https://github.com/paritytech/substrate.git'
126branch = 'polkadot-v0.9.17'126branch = 'polkadot-v0.9.18'
127127
128[dependencies.sp-keystore]128[dependencies.sp-keystore]
129git = 'https://github.com/paritytech/substrate.git'129git = 'https://github.com/paritytech/substrate.git'
130branch = 'polkadot-v0.9.17'130branch = 'polkadot-v0.9.18'
131131
132[dependencies.sp-offchain]132[dependencies.sp-offchain]
133git = 'https://github.com/paritytech/substrate.git'133git = 'https://github.com/paritytech/substrate.git'
134branch = 'polkadot-v0.9.17'134branch = 'polkadot-v0.9.18'
135135
136[dependencies.sp-runtime]136[dependencies.sp-runtime]
137git = 'https://github.com/paritytech/substrate.git'137git = 'https://github.com/paritytech/substrate.git'
138branch = 'polkadot-v0.9.17'138branch = 'polkadot-v0.9.18'
139139
140[dependencies.sp-session]140[dependencies.sp-session]
141git = 'https://github.com/paritytech/substrate.git'141git = 'https://github.com/paritytech/substrate.git'
142branch = 'polkadot-v0.9.17'142branch = 'polkadot-v0.9.18'
143143
144[dependencies.sp-timestamp]144[dependencies.sp-timestamp]
145git = 'https://github.com/paritytech/substrate.git'145git = 'https://github.com/paritytech/substrate.git'
146branch = 'polkadot-v0.9.17'146branch = 'polkadot-v0.9.18'
147147
148[dependencies.sp-transaction-pool]148[dependencies.sp-transaction-pool]
149git = 'https://github.com/paritytech/substrate.git'149git = 'https://github.com/paritytech/substrate.git'
150branch = 'polkadot-v0.9.17'150branch = 'polkadot-v0.9.18'
151151
152[dependencies.sp-trie]152[dependencies.sp-trie]
153git = 'https://github.com/paritytech/substrate.git'153git = 'https://github.com/paritytech/substrate.git'
154branch = 'polkadot-v0.9.17'154branch = 'polkadot-v0.9.18'
155155
156[dependencies.substrate-frame-rpc-system]156[dependencies.substrate-frame-rpc-system]
157git = 'https://github.com/paritytech/substrate.git'157git = 'https://github.com/paritytech/substrate.git'
158branch = 'polkadot-v0.9.17'158branch = 'polkadot-v0.9.18'
159159
160[dependencies.sc-network]160[dependencies.sc-network]
161git = 'https://github.com/paritytech/substrate.git'161git = 'https://github.com/paritytech/substrate.git'
162branch = 'polkadot-v0.9.17'162branch = 'polkadot-v0.9.18'
163163
164[dependencies.serde]164[dependencies.serde]
165features = ['derive']165features = ['derive']
168[dependencies.serde_json]168[dependencies.serde_json]
169version = '1.0.68'169version = '1.0.68'
170170
171[dependencies.sc-consensus-manual-seal]
172git = 'https://github.com/paritytech/substrate.git'
173branch = 'polkadot-v0.9.18'
171174
172################################################################################175################################################################################
173# Cumulus dependencies176# Cumulus dependencies
174177
175[dependencies.cumulus-client-consensus-aura]178[dependencies.cumulus-client-consensus-aura]
176git = 'https://github.com/uniqueNetwork/cumulus.git'179git = 'https://github.com/paritytech/cumulus.git'
177branch = 'polkadot-v0.9.17'180branch = 'polkadot-v0.9.18'
178181
179[dependencies.cumulus-client-consensus-common]182[dependencies.cumulus-client-consensus-common]
180git = 'https://github.com/uniqueNetwork/cumulus.git'183git = 'https://github.com/paritytech/cumulus.git'
181branch = 'polkadot-v0.9.17'184branch = 'polkadot-v0.9.18'
182185
183[dependencies.cumulus-client-collator]186[dependencies.cumulus-client-collator]
184git = 'https://github.com/uniqueNetwork/cumulus.git'187git = 'https://github.com/paritytech/cumulus.git'
185branch = 'polkadot-v0.9.17'188branch = 'polkadot-v0.9.18'
186189
187[dependencies.cumulus-client-cli]190[dependencies.cumulus-client-cli]
188git = 'https://github.com/uniqueNetwork/cumulus.git'191git = 'https://github.com/paritytech/cumulus.git'
189branch = 'polkadot-v0.9.17'192branch = 'polkadot-v0.9.18'
190193
191[dependencies.cumulus-client-network]194[dependencies.cumulus-client-network]
192git = 'https://github.com/uniqueNetwork/cumulus.git'195git = 'https://github.com/paritytech/cumulus.git'
193branch = 'polkadot-v0.9.17'196branch = 'polkadot-v0.9.18'
194197
195[dependencies.cumulus-primitives-core]198[dependencies.cumulus-primitives-core]
196git = 'https://github.com/uniqueNetwork/cumulus.git'199git = 'https://github.com/paritytech/cumulus.git'
197branch = 'polkadot-v0.9.17'200branch = 'polkadot-v0.9.18'
198201
199[dependencies.cumulus-primitives-parachain-inherent]202[dependencies.cumulus-primitives-parachain-inherent]
200git = 'https://github.com/uniqueNetwork/cumulus.git'203git = 'https://github.com/paritytech/cumulus.git'
201branch = 'polkadot-v0.9.17'204branch = 'polkadot-v0.9.18'
202205
203[dependencies.cumulus-client-service]206[dependencies.cumulus-client-service]
204git = 'https://github.com/uniqueNetwork/cumulus.git'207git = 'https://github.com/paritytech/cumulus.git'
205branch = 'polkadot-v0.9.17'208branch = 'polkadot-v0.9.18'
206209
207[dependencies.cumulus-relay-chain-interface]210[dependencies.cumulus-relay-chain-interface]
208git = 'https://github.com/uniqueNetwork/cumulus.git'211git = 'https://github.com/paritytech/cumulus.git'
209branch = 'polkadot-v0.9.17'212branch = 'polkadot-v0.9.18'
213
214[dependencies.cumulus-relay-chain-inprocess-interface]
215git = 'https://github.com/paritytech/cumulus.git'
216branch = 'polkadot-v0.9.18'
210217
211[dependencies.cumulus-relay-chain-local]218[dependencies.cumulus-relay-chain-rpc-interface]
212git = 'https://github.com/uniqueNetwork/cumulus.git'219git = 'https://github.com/paritytech/cumulus.git'
213branch = 'polkadot-v0.9.17'220branch = 'polkadot-v0.9.18'
214221
215################################################################################222################################################################################
216# Polkadot dependencies223# Polkadot dependencies
217[dependencies.polkadot-primitives]224[dependencies.polkadot-primitives]
218git = "https://github.com/paritytech/polkadot"225git = "https://github.com/paritytech/polkadot"
219branch = 'release-v0.9.17'226branch = 'release-v0.9.18'
220227
221[dependencies.polkadot-service]228[dependencies.polkadot-service]
222git = "https://github.com/paritytech/polkadot"229git = "https://github.com/paritytech/polkadot"
223branch = 'release-v0.9.17'230branch = 'release-v0.9.18'
224231
225[dependencies.polkadot-cli]232[dependencies.polkadot-cli]
226git = "https://github.com/paritytech/polkadot"233git = "https://github.com/paritytech/polkadot"
227branch = 'release-v0.9.17'234branch = 'release-v0.9.18'
228235
229[dependencies.polkadot-test-service]236[dependencies.polkadot-test-service]
230git = "https://github.com/paritytech/polkadot"237git = "https://github.com/paritytech/polkadot"
231branch = 'release-v0.9.17'238branch = 'release-v0.9.18'
232239
233[dependencies.polkadot-parachain]240[dependencies.polkadot-parachain]
234git = "https://github.com/paritytech/polkadot"241git = "https://github.com/paritytech/polkadot"
235branch = 'release-v0.9.17'242branch = 'release-v0.9.18'
236243
237244
238################################################################################245################################################################################
239# Local dependencies246# Local dependencies
247
248[dependencies.unique-runtime-common]
249default-features = false
250path = "../../runtime/common"
240251
241[dependencies.unique-runtime]252[dependencies.unique-runtime]
242path = '../../runtime'253path = '../../runtime/unique'
254optional = true
255
256[dependencies.quartz-runtime]
257path = '../../runtime/quartz'
258optional = true
259
260[dependencies.opal-runtime]
261path = '../../runtime/opal'
243262
244[dependencies.up-data-structs]263[dependencies.up-data-structs]
245path = "../../primitives/data-structs"264path = "../../primitives/data-structs"
246default-features = false265default-features = false
266
267[dependencies.up-rpc]
268path = "../../primitives/rpc"
269
270[dependencies.pallet-transaction-payment-rpc-runtime-api]
271git = 'https://github.com/paritytech/substrate.git'
272branch = 'polkadot-v0.9.18'
247273
248################################################################################274################################################################################
249# Package275# Package
254description = 'Unique Node'280description = 'Unique Node'
255edition = '2021'281edition = '2021'
256homepage = 'https://unique.network'282homepage = 'https://unique.network'
257license = 'All Rights Reserved'283license = 'GPLv3'
258name = 'unique-node'284name = 'unique-node'
259repository = 'https://github.com/UniqueNetwork/unique-chain'285repository = 'https://github.com/UniqueNetwork/unique-chain'
260version = '0.9.16'286version = '0.9.17'
261287
262[[bin]]288[[bin]]
263name = 'unique-collator'289name = 'unique-collator'
275jsonrpc-core = '18.0.0'301jsonrpc-core = '18.0.0'
276jsonrpc-pubsub = "18.0.0"302jsonrpc-pubsub = "18.0.0"
277303
278fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }304fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
279fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }305fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
280fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }306fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
281fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }307fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
282fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }308fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
283fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }309fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
284pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }310pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
285311
286unique-rpc = { path = "../rpc" }312unique-rpc = { default-features = false, path = "../rpc" }
287313
288[features]314[features]
289default = []315default = ["unique-runtime", "quartz-runtime"]
290runtime-benchmarks = [316runtime-benchmarks = [
291 'unique-runtime/runtime-benchmarks',317 'unique-runtime/runtime-benchmarks',
292 'polkadot-service/runtime-benchmarks',318 'polkadot-service/runtime-benchmarks',
modifiednode/cli/build.rsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};17use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
718
modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6use cumulus_primitives_core::ParaId;17use cumulus_primitives_core::ParaId;
7use unique_runtime::*;
8use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};18use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};
9use sc_service::ChainType;19use sc_service::ChainType;
10use sp_core::{sr25519, Pair, Public};20use sp_core::{sr25519, Pair, Public};
14use serde::{Deserialize, Serialize};24use serde::{Deserialize, Serialize};
15use serde_json::map::Map;25use serde_json::map::Map;
1626
17/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.27use unique_runtime_common::types::*;
28
29/// The `ChainSpec` parameterized for the unique runtime.
30#[cfg(feature = "unique-runtime")]
18pub type ChainSpec = sc_service::GenericChainSpec<unique_runtime::GenesisConfig, Extensions>;31pub type UniqueChainSpec = sc_service::GenericChainSpec<unique_runtime::GenesisConfig, Extensions>;
32
33/// The `ChainSpec` parameterized for the quartz runtime.
34#[cfg(feature = "quartz-runtime")]
35pub type QuartzChainSpec = sc_service::GenericChainSpec<quartz_runtime::GenesisConfig, Extensions>;
36
37/// The `ChainSpec` parameterized for the opal runtime.
38pub type OpalChainSpec = sc_service::GenericChainSpec<opal_runtime::GenesisConfig, Extensions>;
39
40pub enum RuntimeId {
41 Unique,
42 Quartz,
43 Opal,
44 Unknown(String),
45}
46
47pub trait RuntimeIdentification {
48 fn runtime_id(&self) -> RuntimeId;
49}
50
51impl RuntimeIdentification for Box<dyn sc_service::ChainSpec> {
52 fn runtime_id(&self) -> RuntimeId {
53 #[cfg(feature = "unique-runtime")]
54 if self.id().starts_with("unique") {
55 return RuntimeId::Unique;
56 }
57
58 #[cfg(feature = "quartz-runtime")]
59 if self.id().starts_with("quartz") {
60 return RuntimeId::Quartz;
61 }
62
63 if self.id().starts_with("opal") || self.id() == "dev" || self.id() == "local_testnet" {
64 return RuntimeId::Opal;
65 }
66
67 RuntimeId::Unknown(self.id().into())
68 }
69}
70
71pub enum ServiceId {
72 Prod,
73 Dev,
74}
75
76pub trait ServiceIdentification {
77 fn service_id(&self) -> ServiceId;
78}
79
80impl ServiceIdentification for Box<dyn sc_service::ChainSpec> {
81 fn service_id(&self) -> ServiceId {
82 if self.id().ends_with("dev") {
83 ServiceId::Dev
84 } else {
85 ServiceId::Prod
86 }
87 }
88}
1989
20/// Helper function to generate a crypto pair from seed90/// Helper function to generate a crypto pair from seed
21pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {91pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {
51 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()121 AccountPublic::from(get_from_seed::<TPublic>(seed)).into_account()
52}122}
53123
54pub fn development_config() -> ChainSpec {124pub fn development_config() -> OpalChainSpec {
55 let mut properties = Map::new();125 let mut properties = Map::new();
56 properties.insert("tokenSymbol".into(), "OPL".into());126 properties.insert("tokenSymbol".into(), "OPL".into());
57 properties.insert("tokenDecimals".into(), 15.into());127 properties.insert("tokenDecimals".into(), 15.into());
58 properties.insert("ss58Format".into(), 42.into());128 properties.insert("ss58Format".into(), 42.into());
59129
60 ChainSpec::from_genesis(130 OpalChainSpec::from_genesis(
61 // Name131 // Name
62 "Development",132 "Development",
63 // ID133 // ID
96 )166 )
97}167}
98168
99pub fn local_testnet_rococo_config() -> ChainSpec {169pub fn local_testnet_rococo_config() -> OpalChainSpec {
100 ChainSpec::from_genesis(170 OpalChainSpec::from_genesis(
101 // Name171 // Name
102 "Local Testnet",172 "Local Testnet",
103 // ID173 // ID
146 )216 )
147}217}
148
149pub fn local_testnet_westend_config() -> ChainSpec {
150 ChainSpec::from_genesis(
151 // Name
152 "Local Testnet",
153 // ID
154 "local_testnet",
155 ChainType::Local,
156 move || {
157 testnet_genesis(
158 // Sudo account
159 get_account_id_from_seed::<sr25519::Public>("Alice"),
160 vec![
161 get_from_seed::<AuraId>("Alice"),
162 get_from_seed::<AuraId>("Bob"),
163 get_from_seed::<AuraId>("Charlie"),
164 get_from_seed::<AuraId>("Dave"),
165 get_from_seed::<AuraId>("Eve"),
166 ],
167 // Pre-funded accounts
168 vec![
169 get_account_id_from_seed::<sr25519::Public>("Alice"),
170 get_account_id_from_seed::<sr25519::Public>("Bob"),
171 get_account_id_from_seed::<sr25519::Public>("Charlie"),
172 get_account_id_from_seed::<sr25519::Public>("Dave"),
173 get_account_id_from_seed::<sr25519::Public>("Eve"),
174 get_account_id_from_seed::<sr25519::Public>("Ferdie"),
175 get_account_id_from_seed::<sr25519::Public>("Alice//stash"),
176 get_account_id_from_seed::<sr25519::Public>("Bob//stash"),
177 get_account_id_from_seed::<sr25519::Public>("Charlie//stash"),
178 get_account_id_from_seed::<sr25519::Public>("Dave//stash"),
179 get_account_id_from_seed::<sr25519::Public>("Eve//stash"),
180 get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
181 ],
182 1000.into(),
183 )
184 },
185 // Bootnodes
186 vec![],
187 // Telemetry
188 None,
189 // Protocol ID
190 None,
191 None,
192 // Properties
193 None,
194 // Extensions
195 Extensions {
196 relay_chain: "westend-local".into(),
197 para_id: 1000,
198 },
199 )
200}
201218
202fn testnet_genesis(219fn testnet_genesis(
203 root_key: AccountId,220 root_key: AccountId,
204 initial_authorities: Vec<AuraId>,221 initial_authorities: Vec<AuraId>,
205 endowed_accounts: Vec<AccountId>,222 endowed_accounts: Vec<AccountId>,
206 id: ParaId,223 id: ParaId,
207) -> GenesisConfig {224) -> opal_runtime::GenesisConfig {
225 use opal_runtime::*;
226
208 GenesisConfig {227 GenesisConfig {
209 system: unique_runtime::SystemConfig {228 system: SystemConfig {
210 code: unique_runtime::WASM_BINARY229 code: WASM_BINARY
211 .expect("WASM binary was not build, please build it!")230 .expect("WASM binary was not build, please build it!")
212 .to_vec(),231 .to_vec(),
213 },232 },
224 key: Some(root_key),243 key: Some(root_key),
225 },244 },
226 vesting: VestingConfig { vesting: vec![] },245 vesting: VestingConfig { vesting: vec![] },
227 parachain_info: unique_runtime::ParachainInfoConfig { parachain_id: id },246 parachain_info: ParachainInfoConfig { parachain_id: id },
228 parachain_system: Default::default(),247 parachain_system: Default::default(),
229 aura: unique_runtime::AuraConfig {248 aura: AuraConfig {
230 authorities: initial_authorities,249 authorities: initial_authorities,
231 },250 },
232 aura_ext: Default::default(),251 aura_ext: Default::default(),
modifiednode/cli/src/cli.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use crate::chain_spec;17use crate::chain_spec;
2use std::path::PathBuf;18use std::{path::PathBuf, env};
3use clap::Parser;19use clap::Parser;
20
21const NODE_NAME_ENV: &str = "UNIQUE_NODE_NAME";
422
5/// Sub-commands supported by the collator.23/// Sub-commands supported by the collator.
6#[derive(Debug, Parser)]24#[derive(Debug, Parser)]
91 pub relaychain_args: Vec<String>,109 pub relaychain_args: Vec<String>,
92}110}
111
112impl Cli {
113 pub fn node_name() -> String {
114 match env::var(NODE_NAME_ENV).ok() {
115 Some(name) => name,
116 None => {
117 if cfg!(feature = "unique-runtime") {
118 "Unique"
119 } else if cfg!(feature = "quartz-runtime") {
120 "Quartz"
121 } else {
122 "Opal"
123 }
124 }
125 .into(),
126 }
127 }
128}
93129
94#[derive(Debug)]130#[derive(Debug)]
95pub struct RelayChainCli {131pub struct RelayChainCli {
modifiednode/cli/src/command.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// This file is part of Substrate.18// This file is part of Substrate.
219
3// Copyright (C) 2017-2021 Parity Technologies (UK) Ltd.20// Copyright (C) 2017-2021 Parity Technologies (UK) Ltd.
16// limitations under the License.33// limitations under the License.
1734
18use crate::{35use crate::{
19 chain_spec,36 chain_spec::{self, RuntimeId, RuntimeIdentification, ServiceId, ServiceIdentification},
20 cli::{Cli, RelayChainCli, Subcommand},37 cli::{Cli, RelayChainCli, Subcommand},
21 service::{new_partial, ParachainRuntimeExecutor},38 service::{new_partial, start_node, start_dev_node},
22};39};
40
41#[cfg(feature = "unique-runtime")]
42use crate::service::UniqueRuntimeExecutor;
43
44#[cfg(feature = "quartz-runtime")]
45use crate::service::QuartzRuntimeExecutor;
46
47use crate::service::OpalRuntimeExecutor;
48
23use codec::Encode;49use codec::Encode;
24use cumulus_primitives_core::ParaId;50use cumulus_primitives_core::ParaId;
25use cumulus_client_service::genesis::generate_genesis_block;51use cumulus_client_service::genesis::generate_genesis_block;
26use log::info;52use log::info;
27use unique_runtime::Block;
28use polkadot_parachain::primitives::AccountIdConversion;53use polkadot_parachain::primitives::AccountIdConversion;
29use sc_cli::{54use sc_cli::{
30 ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,55 ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
37use sp_runtime::traits::Block as BlockT;62use sp_runtime::traits::Block as BlockT;
38use std::{io::Write, net::SocketAddr};63use std::{io::Write, net::SocketAddr};
64
65use unique_runtime_common::types::Block;
66
67macro_rules! no_runtime_err {
68 ($chain_name:expr) => {
69 format!(
70 "No runtime valid runtime was found for chain {}",
71 $chain_name
72 )
73 };
74}
3975
40fn load_spec(id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {76fn load_spec(id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
41 Ok(match id {77 Ok(match id {
42 "westend-local" => Box::new(chain_spec::local_testnet_westend_config()),78 "dev" => Box::new(chain_spec::development_config()),
43 "rococo-local" => Box::new(chain_spec::local_testnet_rococo_config()),79 "" | "local" => Box::new(chain_spec::local_testnet_rococo_config()),
44 "dev" => Box::new(chain_spec::development_config()),80 path => {
81 let path = std::path::PathBuf::from(path);
45 "" | "local" => Box::new(chain_spec::local_testnet_rococo_config()),82 let chain_spec = Box::new(chain_spec::OpalChainSpec::from_json_file(path.clone())?)
83 as Box<dyn sc_service::ChainSpec>;
84
85 match chain_spec.runtime_id() {
86 #[cfg(feature = "unique-runtime")]
46 path => Box::new(chain_spec::ChainSpec::from_json_file(87 RuntimeId::Unique => Box::new(chain_spec::UniqueChainSpec::from_json_file(path)?),
88
89 #[cfg(feature = "quartz-runtime")]
47 std::path::PathBuf::from(path),90 RuntimeId::Quartz => Box::new(chain_spec::QuartzChainSpec::from_json_file(path)?),
48 )?),91
92 RuntimeId::Opal => chain_spec,
93 RuntimeId::Unknown(chain) => return Err(no_runtime_err!(chain)),
94 }
95 }
49 })96 })
50}97}
5198
52impl SubstrateCli for Cli {99impl SubstrateCli for Cli {
53 // TODO use args100 // TODO use args
54 fn impl_name() -> String {101 fn impl_name() -> String {
55 "Opal Node".into()102 format!("{} Node", Self::node_name())
56 }103 }
57104
58 fn impl_version() -> String {105 fn impl_version() -> String {
61 // TODO use args108 // TODO use args
62 fn description() -> String {109 fn description() -> String {
63 format!(110 format!(
64 "Opal Node\n\nThe command-line arguments provided first will be \111 "{} Node\n\nThe command-line arguments provided first will be \
65 passed to the parachain node, while the arguments provided after -- will be passed \112 passed to the parachain node, while the arguments provided after -- will be passed \
66 to the relaychain node.\n\n\113 to the relaychain node.\n\n\
67 {} [parachain-args] -- [relaychain-args]",114 {} [parachain-args] -- [relaychain-args]",
115 Self::node_name(),
68 Self::executable_name()116 Self::executable_name()
69 )117 )
70 }118 }
86 load_spec(id)134 load_spec(id)
87 }135 }
88136
89 fn native_runtime_version(_: &Box<dyn ChainSpec>) -> &'static RuntimeVersion {137 fn native_runtime_version(chain_spec: &Box<dyn ChainSpec>) -> &'static RuntimeVersion {
138 match chain_spec.runtime_id() {
139 #[cfg(feature = "unique-runtime")]
90 &unique_runtime::VERSION140 RuntimeId::Unique => &unique_runtime::VERSION,
141
142 #[cfg(feature = "quartz-runtime")]
143 RuntimeId::Quartz => &quartz_runtime::VERSION,
144
145 RuntimeId::Opal => &opal_runtime::VERSION,
146 RuntimeId::Unknown(chain) => panic!("{}", no_runtime_err!(chain)),
147 }
91 }148 }
92}149}
93150
94impl SubstrateCli for RelayChainCli {151impl SubstrateCli for RelayChainCli {
95 // TODO use args152 // TODO use args
96 fn impl_name() -> String {153 fn impl_name() -> String {
97 "Opal Node".into()154 format!("{} Node", Cli::node_name())
98 }155 }
99156
100 fn impl_version() -> String {157 fn impl_version() -> String {
101 env!("SUBSTRATE_CLI_IMPL_VERSION").into()158 env!("SUBSTRATE_CLI_IMPL_VERSION").into()
102 }159 }
103 // TODO use args160 // TODO use args
104 fn description() -> String {161 fn description() -> String {
162 format!(
105 "Opal Node\n\nThe command-line arguments provided first will be \163 "{} Node\n\nThe command-line arguments provided first will be \
106 passed to the parachain node, while the arguments provided after -- will be passed \164 passed to the parachain node, while the arguments provided after -- will be passed \
107 to the relaychain node.\n\n\165 to the relaychain node.\n\n\
108 parachain-collator [parachain-args] -- [relaychain-args]"166 parachain-collator [parachain-args] -- [relaychain-args]",
109 .into()167 Cli::node_name()
168 )
110 }169 }
111170
140 .ok_or_else(|| "Could not find wasm file in genesis state!".into())199 .ok_or_else(|| "Could not find wasm file in genesis state!".into())
141}200}
142201
143macro_rules! construct_async_run {202macro_rules! async_run_with_runtime {
144 (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{203 (
145 let runner = $cli.create_runner($cmd)?;204 $runtime_api:path, $executor:path,
205 $runner:ident, $components:ident, $cli:ident, $cmd:ident, $config:ident,
206 $( $code:tt )*
207 ) => {
146 runner.async_run(|$config| {208 $runner.async_run(|$config| {
147 let $components = new_partial::<209 let $components = new_partial::<
148 _210 $runtime_api, $executor, _
149 >(211 >(
150 &$config,212 &$config,
151 crate::service::parachain_build_import_queue,213 crate::service::parachain_build_import_queue,
152 )?;214 )?;
153 let task_manager = $components.task_manager;215 let task_manager = $components.task_manager;
216
154 { $( $code )* }.map(|v| (v, task_manager))217 { $( $code )* }.map(|v| (v, task_manager))
155 })218 })
156 }}219 };
157}220}
221
222macro_rules! construct_async_run {
223 (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{
224 let runner = $cli.create_runner($cmd)?;
225
226 match runner.config().chain_spec.runtime_id() {
227 #[cfg(feature = "unique-runtime")]
228 RuntimeId::Unique => async_run_with_runtime!(
229 unique_runtime::RuntimeApi, UniqueRuntimeExecutor,
230 runner, $components, $cli, $cmd, $config, $( $code )*
231 ),
232
233 #[cfg(feature = "quartz-runtime")]
234 RuntimeId::Quartz => async_run_with_runtime!(
235 quartz_runtime::RuntimeApi, QuartzRuntimeExecutor,
236 runner, $components, $cli, $cmd, $config, $( $code )*
237 ),
238
239 RuntimeId::Opal => async_run_with_runtime!(
240 opal_runtime::RuntimeApi, OpalRuntimeExecutor,
241 runner, $components, $cli, $cmd, $config, $( $code )*
242 ),
243
244 RuntimeId::Unknown(chain) => Err(no_runtime_err!(chain).into())
245 }
246 }}
247}
248
249macro_rules! start_node_using_chain_runtime {
250 ($start_node_fn:ident($config:expr $(, $($args:expr),+)?) $($code:tt)*) => {
251 match $config.chain_spec.runtime_id() {
252 #[cfg(feature = "unique-runtime")]
253 RuntimeId::Unique => $start_node_fn::<
254 unique_runtime::Runtime,
255 unique_runtime::RuntimeApi,
256 UniqueRuntimeExecutor,
257 >($config $(, $($args),+)?) $($code)*,
258
259 #[cfg(feature = "quartz-runtime")]
260 RuntimeId::Quartz => $start_node_fn::<
261 quartz_runtime::Runtime,
262 quartz_runtime::RuntimeApi,
263 QuartzRuntimeExecutor,
264 >($config $(, $($args),+)?) $($code)*,
265
266 RuntimeId::Opal => $start_node_fn::<
267 opal_runtime::Runtime,
268 opal_runtime::RuntimeApi,
269 OpalRuntimeExecutor,
270 >($config $(, $($args),+)?) $($code)*,
271
272 RuntimeId::Unknown(chain) => Err(no_runtime_err!(chain).into()),
273 }
274 };
275}
158276
159/// Parse command line arguments into service configuration.277/// Parse command line arguments into service configuration.
160pub fn run() -> Result<()> {278pub fn run() -> Result<()> {
257 if cfg!(feature = "runtime-benchmarks") {375 if cfg!(feature = "runtime-benchmarks") {
258 let runner = cli.create_runner(cmd)?;376 let runner = cli.create_runner(cmd)?;
259
260 runner.sync_run(|config| cmd.run::<Block, ParachainRuntimeExecutor>(config))377 runner.sync_run(|config| match config.chain_spec.runtime_id() {
378 #[cfg(feature = "unique-runtime")]
379 RuntimeId::Unique => cmd.run::<Block, UniqueRuntimeExecutor>(config),
380
381 #[cfg(feature = "quartz-runtime")]
382 RuntimeId::Quartz => cmd.run::<Block, QuartzRuntimeExecutor>(config),
383
384 RuntimeId::Opal => cmd.run::<Block, OpalRuntimeExecutor>(config),
385 RuntimeId::Unknown(chain) => Err(no_runtime_err!(chain).into()),
386 })
261 } else {387 } else {
262 Err("Benchmarking wasn't enabled when building the node. \388 Err("Benchmarking wasn't enabled when building the node. \
263 You can enable it with `--features runtime-benchmarks`."389 You can enable it with `--features runtime-benchmarks`."
266 }392 }
267 None => {393 None => {
268 let runner = cli.create_runner(&cli.run.normalize())?;394 let runner = cli.create_runner(&cli.run.normalize())?;
395 let collator_options = cli.run.collator_options();
269396
270 runner.run_node_until_exit(|config| async move {397 runner.run_node_until_exit(|config| async move {
271 let para_id = chain_spec::Extensions::try_get(&*config.chain_spec)398 let extensions = chain_spec::Extensions::try_get(&*config.chain_spec);
399
400 let service_id = config.chain_spec.service_id();
401 let relay_chain_id = extensions.map(|e| e.relay_chain.clone());
402 let is_dev_service = matches![service_id, ServiceId::Dev]
403 || relay_chain_id == Some("dev-service".into());
404
405 if is_dev_service {
406 info!("Running Dev service");
407
408 return start_node_using_chain_runtime! {
409 start_dev_node(config).map_err(Into::into)
410 };
411 };
412
413 let para_id = extensions
272 .map(|e| e.para_id)414 .map(|e| e.para_id)
273 .ok_or("Could not find parachain ID in chain-spec.")?;415 .ok_or("Could not find parachain ID in chain-spec.")?;
274416
275 let polkadot_cli = RelayChainCli::new(417 let polkadot_cli = RelayChainCli::new(
279 .chain(cli.relaychain_args.iter()),421 .chain(cli.relaychain_args.iter()),
280 );422 );
281423
282 let id = ParaId::from(para_id);424 let para_id = ParaId::from(para_id);
283425
284 let parachain_account =426 let parachain_account =
285 AccountIdConversion::<polkadot_primitives::v0::AccountId>::into_account(&id);427 AccountIdConversion::<polkadot_primitives::v0::AccountId>::into_account(
428 &para_id,
429 );
286430
287 let state_version =431 let state_version =
298 )442 )
299 .map_err(|err| format!("Relay chain argument error: {}", err))?;443 .map_err(|err| format!("Relay chain argument error: {}", err))?;
300444
301 info!("Parachain id: {:?}", id);445 info!("Parachain id: {:?}", para_id);
302 info!("Parachain Account: {}", parachain_account);446 info!("Parachain Account: {}", parachain_account);
303 info!("Parachain genesis state: {}", genesis_state);447 info!("Parachain genesis state: {}", genesis_state);
304 info!("Parachain genesis hash: {}", genesis_hash);448 info!("Parachain genesis hash: {}", genesis_hash);
311 }455 }
312 );456 );
313457
458 start_node_using_chain_runtime! {
314 crate::service::start_node(config, polkadot_config, id)459 start_node(config, polkadot_config, collator_options, para_id)
315 .await460 .await
316 .map(|r| r.0)461 .map(|r| r.0)
317 .map_err(Into::into)462 .map_err(Into::into)
463 }
318 })464 })
319 }465 }
320 }466 }
modifiednode/cli/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1pub mod chain_spec;17pub mod chain_spec;
2pub mod service;18pub mod service;
modifiednode/cli/src/main.rsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6mod chain_spec;17mod chain_spec;
7#[macro_use]18#[macro_use]
modifiednode/cli/src/service.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.17//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.
218
3//
4// This file is subject to the terms and conditions defined in
5// file 'LICENSE', which is part of this source code package.
6//
7
8// std19// std
9use std::sync::Arc;20use std::sync::Arc;
10use std::sync::Mutex;21use std::sync::Mutex;
14use futures::StreamExt;25use futures::StreamExt;
1526
16use unique_rpc::overrides_handle;27use unique_rpc::overrides_handle;
17// Local Runtime Types
18use unique_runtime::RuntimeApi;
1928
29use serde::{Serialize, Deserialize};
30
20// Cumulus Imports31// Cumulus Imports
21use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion};32use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion};
22use cumulus_client_consensus_common::ParachainConsensus;33use cumulus_client_consensus_common::ParachainConsensus;
23use cumulus_client_service::{34use cumulus_client_service::{
24 prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams,35 prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams,
25};36};
37use cumulus_client_cli::CollatorOptions;
26use cumulus_client_network::BlockAnnounceValidator;38use cumulus_client_network::BlockAnnounceValidator;
27use cumulus_primitives_core::ParaId;39use cumulus_primitives_core::ParaId;
28use cumulus_relay_chain_interface::RelayChainInterface;40use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain;
41use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
29use cumulus_relay_chain_local::build_relay_chain_interface;42use cumulus_relay_chain_rpc_interface::RelayChainRPCInterface;
3043
31// Substrate Imports44// Substrate Imports
32use sc_client_api::ExecutorProvider;45use sc_client_api::ExecutorProvider;
35use sc_network::NetworkService;48use sc_network::NetworkService;
36use sc_service::{BasePath, Configuration, PartialComponents, Role, TaskManager};49use sc_service::{BasePath, Configuration, PartialComponents, Role, TaskManager};
37use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};50use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};
38use sp_consensus::SlotData;
39use sp_keystore::SyncCryptoStorePtr;51use sp_keystore::SyncCryptoStorePtr;
40use sp_runtime::traits::BlakeTwo256;52use sp_runtime::traits::BlakeTwo256;
41use substrate_prometheus_endpoint::Registry;53use substrate_prometheus_endpoint::Registry;
42use sc_client_api::BlockchainEvents;54use sc_client_api::BlockchainEvents;
4355
56use polkadot_service::CollatorPair;
57
44// Frontier Imports58// Frontier Imports
45use fc_rpc_core::types::FilterPool;59use fc_rpc_core::types::FilterPool;
46use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};60use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};
4761
48// Runtime type overrides62use unique_runtime_common::types::{AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block};
49type BlockNumber = u32;
50type Header = sp_runtime::generic::Header<BlockNumber, sp_runtime::traits::BlakeTwo256>;
51pub type Block = sp_runtime::generic::Block<Header, sp_runtime::OpaqueExtrinsic>;
52type Hash = sp_core::H256;
5363
54/// Native executor instance.64/// Native executor instance.
55pub struct ParachainRuntimeExecutor;65pub struct UniqueRuntimeExecutor;
66pub struct QuartzRuntimeExecutor;
67pub struct OpalRuntimeExecutor;
5668
69#[cfg(feature = "unique-runtime")]
57impl NativeExecutionDispatch for ParachainRuntimeExecutor {70impl NativeExecutionDispatch for UniqueRuntimeExecutor {
58 type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;71 type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
5972
60 fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {73 fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
66 }79 }
67}80}
6881
82#[cfg(feature = "quartz-runtime")]
83impl NativeExecutionDispatch for QuartzRuntimeExecutor {
84 type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
85
86 fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
87 quartz_runtime::api::dispatch(method, data)
88 }
89
90 fn native_version() -> sc_executor::NativeVersion {
91 quartz_runtime::native_version()
92 }
93}
94
95impl NativeExecutionDispatch for OpalRuntimeExecutor {
96 type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
97
98 fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
99 opal_runtime::api::dispatch(method, data)
100 }
101
102 fn native_version() -> sc_executor::NativeVersion {
103 opal_runtime::native_version()
104 }
105}
106
69pub fn open_frontier_backend(config: &Configuration) -> Result<Arc<fc_db::Backend<Block>>, String> {107pub fn open_frontier_backend(config: &Configuration) -> Result<Arc<fc_db::Backend<Block>>, String> {
70 let config_dir = config108 let config_dir = config
71 .base_path109 .base_path
86 )?))124 )?))
87}125}
88126
89type ExecutorDispatch = ParachainRuntimeExecutor;127type FullClient<RuntimeApi, ExecutorDispatch> =
90
91type FullClient =
92 sc_service::TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>;128 sc_service::TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>;
93type FullBackend = sc_service::TFullBackend<Block>;129type FullBackend = sc_service::TFullBackend<Block>;
94type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;130type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;
98/// Use this macro if you don't actually need the full service, but just the builder in order to134/// Use this macro if you don't actually need the full service, but just the builder in order to
99/// be able to perform chain operations.135/// be able to perform chain operations.
100#[allow(clippy::type_complexity)]136#[allow(clippy::type_complexity)]
101pub fn new_partial<BIQ>(137pub fn new_partial<RuntimeApi, ExecutorDispatch, BIQ>(
102 config: &Configuration,138 config: &Configuration,
103 build_import_queue: BIQ,139 build_import_queue: BIQ,
104) -> Result<140) -> Result<
105 PartialComponents<141 PartialComponents<
106 FullClient,142 FullClient<RuntimeApi, ExecutorDispatch>,
107 FullBackend,143 FullBackend,
108 FullSelectChain,144 FullSelectChain,
109 sc_consensus::DefaultImportQueue<Block, FullClient>,145 sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
110 sc_transaction_pool::FullPool<Block, FullClient>,146 sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
111 (147 (
112 Option<Telemetry>,148 Option<Telemetry>,
113 Option<FilterPool>,149 Option<FilterPool>,
120>156>
121where157where
122 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,158 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,
159 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>
160 + Send
161 + Sync
162 + 'static,
163 RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block>,
123 ExecutorDispatch: NativeExecutionDispatch + 'static,164 ExecutorDispatch: NativeExecutionDispatch + 'static,
124 BIQ: FnOnce(165 BIQ: FnOnce(
125 Arc<FullClient>,166 Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
126 &Configuration,167 &Configuration,
127 Option<TelemetryHandle>,168 Option<TelemetryHandle>,
128 &TaskManager,169 &TaskManager,
129 ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,170 ) -> Result<
171 sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
172 sc_service::Error,
173 >,
130{174{
131 let _telemetry = config175 let _telemetry = config
132 .telemetry_endpoints176 .telemetry_endpoints
216 Ok(params)260 Ok(params)
217}261}
218262
263async fn build_relay_chain_interface(
264 polkadot_config: Configuration,
265 parachain_config: &Configuration,
266 telemetry_worker_handle: Option<TelemetryWorkerHandle>,
267 task_manager: &mut TaskManager,
268 collator_options: CollatorOptions,
269) -> RelayChainResult<(
270 Arc<(dyn RelayChainInterface + 'static)>,
271 Option<CollatorPair>,
272)> {
273 match collator_options.relay_chain_rpc_url {
274 Some(relay_chain_url) => Ok((
275 Arc::new(RelayChainRPCInterface::new(relay_chain_url).await?) as Arc<_>,
276 None,
277 )),
278 None => build_inprocess_relay_chain(
279 polkadot_config,
280 parachain_config,
281 telemetry_worker_handle,
282 task_manager,
283 ),
284 }
285}
286
219/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.287/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
220///288///
221/// This is the actual implementation that is abstract over the executor and the runtime api.289/// This is the actual implementation that is abstract over the executor and the runtime api.
222#[sc_tracing::logging::prefix_logs_with("Parachain")]290#[sc_tracing::logging::prefix_logs_with("Parachain")]
223async fn start_node_impl<BIQ, BIC>(291async fn start_node_impl<Runtime, RuntimeApi, ExecutorDispatch, BIQ, BIC>(
224 parachain_config: Configuration,292 parachain_config: Configuration,
225 polkadot_config: Configuration,293 polkadot_config: Configuration,
294 collator_options: CollatorOptions,
226 id: ParaId,295 id: ParaId,
227 build_import_queue: BIQ,296 build_import_queue: BIQ,
228 build_consensus: BIC,297 build_consensus: BIC,
229) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)>298) -> sc_service::error::Result<(TaskManager, Arc<FullClient<RuntimeApi, ExecutorDispatch>>)>
230where299where
231 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,300 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,
301 Runtime: RuntimeInstance + Send + Sync + 'static,
302 <Runtime as RuntimeInstance>::CrossAccountId: Serialize,
303 for<'de> <Runtime as RuntimeInstance>::CrossAccountId: Deserialize<'de>,
304 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>
305 + Send
306 + Sync
307 + 'static,
308 RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block>
309 + fp_rpc::EthereumRuntimeRPCApi<Block>
310 + sp_session::SessionKeys<Block>
311 + sp_block_builder::BlockBuilder<Block>
312 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>
313 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>
314 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>
315 + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
316 + sp_api::Metadata<Block>
317 + sp_offchain::OffchainWorkerApi<Block>
318 + cumulus_primitives_core::CollectCollationInfo<Block>,
232 ExecutorDispatch: NativeExecutionDispatch + 'static,319 ExecutorDispatch: NativeExecutionDispatch + 'static,
233 BIQ: FnOnce(320 BIQ: FnOnce(
234 Arc<FullClient>,321 Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
235 &Configuration,322 &Configuration,
236 Option<TelemetryHandle>,323 Option<TelemetryHandle>,
237 &TaskManager,324 &TaskManager,
238 ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,325 ) -> Result<
326 sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
327 sc_service::Error,
328 >,
239 BIC: FnOnce(329 BIC: FnOnce(
240 Arc<FullClient>,330 Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
241 Option<&Registry>,331 Option<&Registry>,
242 Option<TelemetryHandle>,332 Option<TelemetryHandle>,
243 &TaskManager,333 &TaskManager,
244 Arc<dyn RelayChainInterface>,334 Arc<dyn RelayChainInterface>,
245 Arc<sc_transaction_pool::FullPool<Block, FullClient>>,335 Arc<sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, ExecutorDispatch>>>,
246 Arc<NetworkService<Block, Hash>>,336 Arc<NetworkService<Block, Hash>>,
247 SyncCryptoStorePtr,337 SyncCryptoStorePtr,
248 bool,338 bool,
254344
255 let parachain_config = prepare_node_config(parachain_config);345 let parachain_config = prepare_node_config(parachain_config);
256346
257 let params = new_partial::<BIQ>(&parachain_config, build_import_queue)?;347 let params =
348 new_partial::<RuntimeApi, ExecutorDispatch, BIQ>(&parachain_config, build_import_queue)?;
258 let (mut telemetry, filter_pool, frontier_backend, telemetry_worker_handle, fee_history_cache) =349 let (mut telemetry, filter_pool, frontier_backend, telemetry_worker_handle, fee_history_cache) =
259 params.other;350 params.other;
260351
261 let client = params.client.clone();352 let client = params.client.clone();
262 let backend = params.backend.clone();353 let backend = params.backend.clone();
263 let mut task_manager = params.task_manager;354 let mut task_manager = params.task_manager;
264355
265 let (relay_chain_interface, collator_key) =356 let (relay_chain_interface, collator_key) = build_relay_chain_interface(
266 build_relay_chain_interface(polkadot_config, telemetry_worker_handle, &mut task_manager)357 polkadot_config,
358 &parachain_config,
359 telemetry_worker_handle,
360 &mut task_manager,
361 collator_options.clone(),
267 .map_err(|e| match e {362 )
363 .await
364 .map_err(|e| match e {
268 polkadot_service::Error::Sub(x) => x,365 RelayChainError::ServiceError(polkadot_service::Error::Sub(x)) => x,
269 s => format!("{}", s).into(),366 s => s.to_string().into(),
270 })?;367 })?;
271368
272 let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), id);369 let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), id);
273370
300397
301 let block_data_cache = Arc::new(fc_rpc::EthBlockDataCache::new(398 let block_data_cache = Arc::new(fc_rpc::EthBlockDataCache::new(
302 task_manager.spawn_handle(),399 task_manager.spawn_handle(),
303 overrides_handle(client.clone()),400 overrides_handle::<_, _, Runtime>(client.clone()),
304 50,401 50,
305 50,402 50,
306 ));403 ));
326 fee_history_limit: 2048,423 fee_history_limit: 2048,
327 };424 };
328425
329 Ok(unique_rpc::create_full::<_, _, _, _, RuntimeApi, _>(426 Ok(
427 unique_rpc::create_full::<_, _, _, _, Runtime, RuntimeApi, _>(
330 full_deps,428 full_deps,
331 subscription_executor.clone(),429 subscription_executor.clone(),
332 ))430 ),
431 )
333 });432 });
334433
335 task_manager.spawn_essential_handle().spawn(434 task_manager.spawn_essential_handle().spawn(
390 spawner,489 spawner,
391 parachain_consensus,490 parachain_consensus,
392 import_queue,491 import_queue,
393 collator_key,492 collator_key: collator_key.expect("Command line arguments do not allow this. qed"),
394 relay_chain_interface,493 relay_chain_interface,
395 relay_chain_slot_duration,494 relay_chain_slot_duration,
396 };495 };
405 import_queue,504 import_queue,
406 relay_chain_interface,505 relay_chain_interface,
407 relay_chain_slot_duration,506 relay_chain_slot_duration,
507 collator_options,
408 };508 };
409509
410 start_full_node(params)?;510 start_full_node(params)?;
416}516}
417517
418/// Build the import queue for the the parachain runtime.518/// Build the import queue for the the parachain runtime.
419pub fn parachain_build_import_queue(519pub fn parachain_build_import_queue<RuntimeApi, ExecutorDispatch>(
420 client: Arc<FullClient>,520 client: Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
421 config: &Configuration,521 config: &Configuration,
422 telemetry: Option<TelemetryHandle>,522 telemetry: Option<TelemetryHandle>,
423 task_manager: &TaskManager,523 task_manager: &TaskManager,
424) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error> {524) -> Result<
525 sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
526 sc_service::Error,
527>
528where
529 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>
530 + Send
531 + Sync
532 + 'static,
533 RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block>
534 + sp_block_builder::BlockBuilder<Block>
535 + sp_consensus_aura::AuraApi<Block, AuraId>
536 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>,
537 ExecutorDispatch: NativeExecutionDispatch + 'static,
538{
425 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;539 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;
426540
427 cumulus_client_consensus_aura::import_queue::<541 cumulus_client_consensus_aura::import_queue::<
439 let time = sp_timestamp::InherentDataProvider::from_system_time();553 let time = sp_timestamp::InherentDataProvider::from_system_time();
440554
441 let slot =555 let slot =
442 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(556 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
443 *time,557 *time,
444 slot_duration.slot_duration(),558 slot_duration,
445 );559 );
446560
447 Ok((time, slot))561 Ok((time, slot))
455}569}
456570
457/// Start a normal parachain node.571/// Start a normal parachain node.
458pub async fn start_node(572pub async fn start_node<Runtime, RuntimeApi, ExecutorDispatch>(
459 parachain_config: Configuration,573 parachain_config: Configuration,
460 polkadot_config: Configuration,574 polkadot_config: Configuration,
575 collator_options: CollatorOptions,
461 id: ParaId,576 id: ParaId,
462) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)> {577) -> sc_service::error::Result<(TaskManager, Arc<FullClient<RuntimeApi, ExecutorDispatch>>)>
578where
579 Runtime: RuntimeInstance + Send + Sync + 'static,
580 <Runtime as RuntimeInstance>::CrossAccountId: Serialize,
581 for<'de> <Runtime as RuntimeInstance>::CrossAccountId: Deserialize<'de>,
582 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>
583 + Send
584 + Sync
585 + 'static,
586 RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block>
587 + fp_rpc::EthereumRuntimeRPCApi<Block>
588 + sp_session::SessionKeys<Block>
589 + sp_block_builder::BlockBuilder<Block>
590 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>
591 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>
592 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>
593 + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
594 + sp_api::Metadata<Block>
595 + sp_offchain::OffchainWorkerApi<Block>
596 + cumulus_primitives_core::CollectCollationInfo<Block>
597 + sp_consensus_aura::AuraApi<Block, AuraId>,
598 ExecutorDispatch: NativeExecutionDispatch + 'static,
599{
463 start_node_impl::<_, _>(600 start_node_impl::<Runtime, RuntimeApi, ExecutorDispatch, _, _>(
464 parachain_config,601 parachain_config,
465 polkadot_config,602 polkadot_config,
603 collator_options,
466 id,604 id,
467 parachain_build_import_queue,605 parachain_build_import_queue,
468 |client,606 |client,
508 let time = sp_timestamp::InherentDataProvider::from_system_time();646 let time = sp_timestamp::InherentDataProvider::from_system_time();
509647
510 let slot =648 let slot =
511 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(649 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
512 *time,650 *time,
513 slot_duration.slot_duration(),651 slot_duration,
514 );652 );
515653
516 let parachain_inherent = parachain_inherent.ok_or_else(|| {654 let parachain_inherent = parachain_inherent.ok_or_else(|| {
527 sync_oracle,665 sync_oracle,
528 keystore,666 keystore,
529 force_authoring,667 force_authoring,
530 slot_duration: *slot_duration,668 slot_duration,
531 // We got around 500ms for proposing669 // We got around 500ms for proposing
532 block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),670 block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),
533 telemetry,671 telemetry,
536 },674 },
537 )675 )
538 .await676 .await
677}
678
679fn dev_build_import_queue<RuntimeApi, ExecutorDispatch>(
680 client: Arc<FullClient<RuntimeApi, ExecutorDispatch>>,
681 config: &Configuration,
682 _: Option<TelemetryHandle>,
683 task_manager: &TaskManager,
684) -> Result<
685 sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>,
686 sc_service::Error,
687>
688where
689 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>
690 + Send
691 + Sync
692 + 'static,
693 RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block>
694 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>,
695 ExecutorDispatch: NativeExecutionDispatch + 'static,
696{
697 Ok(sc_consensus_manual_seal::import_queue(
698 Box::new(client.clone()),
699 &task_manager.spawn_essential_handle(),
700 config.prometheus_registry(),
701 ))
702}
703
704/// Builds a new development service. This service uses instant seal, and mocks
705/// the parachain inherent
706pub fn start_dev_node<Runtime, RuntimeApi, ExecutorDispatch>(
707 config: Configuration,
708) -> sc_service::error::Result<TaskManager>
709where
710 Runtime: RuntimeInstance + Send + Sync + 'static,
711 <Runtime as RuntimeInstance>::CrossAccountId: Serialize,
712 for<'de> <Runtime as RuntimeInstance>::CrossAccountId: Deserialize<'de>,
713 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>
714 + Send
715 + Sync
716 + 'static,
717 RuntimeApi::RuntimeApi: sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block>
718 + fp_rpc::EthereumRuntimeRPCApi<Block>
719 + sp_session::SessionKeys<Block>
720 + sp_block_builder::BlockBuilder<Block>
721 + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>
722 + sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>
723 + up_rpc::UniqueApi<Block, Runtime::CrossAccountId, AccountId>
724 + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
725 + sp_api::Metadata<Block>
726 + sp_offchain::OffchainWorkerApi<Block>
727 + cumulus_primitives_core::CollectCollationInfo<Block>
728 + sp_consensus_aura::AuraApi<Block, AuraId>,
729 ExecutorDispatch: NativeExecutionDispatch + 'static,
730{
731 use futures::Stream;
732 use sc_consensus_manual_seal::{run_manual_seal, EngineCommand, ManualSealParams};
733 use fc_consensus::FrontierBlockImport;
734 use sc_client_api::HeaderBackend;
735
736 let sc_service::PartialComponents {
737 client,
738 backend,
739 mut task_manager,
740 import_queue,
741 keystore_container,
742 select_chain: maybe_select_chain,
743 transaction_pool,
744 other:
745 (telemetry, filter_pool, frontier_backend, _telemetry_worker_handle, fee_history_cache),
746 } = new_partial::<RuntimeApi, ExecutorDispatch, _>(
747 &config,
748 dev_build_import_queue::<RuntimeApi, ExecutorDispatch>,
749 )?;
750
751 let block_data_cache = Arc::new(fc_rpc::EthBlockDataCache::new(
752 task_manager.spawn_handle(),
753 overrides_handle::<_, _, Runtime>(client.clone()),
754 50,
755 50,
756 ));
757
758 let (network, system_rpc_tx, network_starter) =
759 sc_service::build_network(sc_service::BuildNetworkParams {
760 config: &config,
761 client: client.clone(),
762 transaction_pool: transaction_pool.clone(),
763 spawn_handle: task_manager.spawn_handle(),
764 import_queue,
765 block_announce_validator_builder: None,
766 warp_sync: None,
767 })?;
768
769 if config.offchain_worker.enabled {
770 sc_service::build_offchain_workers(
771 &config,
772 task_manager.spawn_handle(),
773 client.clone(),
774 network.clone(),
775 );
776 }
777
778 let prometheus_registry = config.prometheus_registry().cloned();
779 let collator = config.role.is_authority();
780
781 let select_chain = maybe_select_chain.clone();
782
783 if collator {
784 let block_import =
785 FrontierBlockImport::new(client.clone(), client.clone(), frontier_backend.clone());
786
787 let env = sc_basic_authorship::ProposerFactory::new(
788 task_manager.spawn_handle(),
789 client.clone(),
790 transaction_pool.clone(),
791 prometheus_registry.as_ref(),
792 telemetry.as_ref().map(|x| x.handle()),
793 );
794
795 let commands_stream: Box<dyn Stream<Item = EngineCommand<Hash>> + Send + Sync + Unpin> =
796 Box::new(
797 // This bit cribbed from the implementation of instant seal.
798 transaction_pool
799 .pool()
800 .validated_pool()
801 .import_notification_stream()
802 .map(|_| EngineCommand::SealNewBlock {
803 create_empty: true, // was false in Moonbeam
804 finalize: false,
805 parent_hash: None,
806 sender: None,
807 }),
808 );
809
810 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;
811 let client_set_aside_for_cidp = client.clone();
812
813 task_manager.spawn_essential_handle().spawn_blocking(
814 "authorship_task",
815 Some("block-authoring"),
816 run_manual_seal(ManualSealParams {
817 block_import,
818 env,
819 client: client.clone(),
820 pool: transaction_pool.clone(),
821 commands_stream,
822 select_chain: select_chain.clone(),
823 consensus_data_provider: None,
824 create_inherent_data_providers: move |block: Hash, ()| {
825 let current_para_block = client_set_aside_for_cidp
826 .number(block)
827 .expect("Header lookup should succeed")
828 .expect("Header passed in as parent should be present in backend.");
829
830 let client_for_xcm = client_set_aside_for_cidp.clone();
831 async move {
832 let time = sp_timestamp::InherentDataProvider::from_system_time();
833
834 let mocked_parachain = cumulus_primitives_parachain_inherent::MockValidationDataInherentDataProvider {
835 current_para_block,
836 relay_offset: 1000,
837 relay_blocks_per_para_block: 2,
838 xcm_config: cumulus_primitives_parachain_inherent::MockXcmConfig::new(
839 &*client_for_xcm,
840 block,
841 Default::default(),
842 Default::default(),
843 ),
844 raw_downward_messages: vec![],
845 raw_horizontal_messages: vec![],
846 };
847
848 let slot =
849 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
850 *time,
851 slot_duration,
852 );
853
854 Ok((time, slot, mocked_parachain))
855 }
856 },
857 }),
858 );
859 }
860
861 task_manager.spawn_essential_handle().spawn(
862 "frontier-mapping-sync-worker",
863 Some("block-authoring"),
864 MappingSyncWorker::new(
865 client.import_notification_stream(),
866 Duration::new(6, 0),
867 client.clone(),
868 backend.clone(),
869 frontier_backend.clone(),
870 SyncStrategy::Normal,
871 )
872 .for_each(|()| futures::future::ready(())),
873 );
874
875 let subscription_executor = sc_rpc::SubscriptionTaskExecutor::new(task_manager.spawn_handle());
876 let rpc_client = client.clone();
877 let rpc_pool = transaction_pool.clone();
878 let rpc_network = network.clone();
879 let rpc_frontier_backend = frontier_backend.clone();
880 let rpc_extensions_builder = Box::new(move |deny_unsafe, _| {
881 let full_deps = unique_rpc::FullDeps {
882 backend: rpc_frontier_backend.clone(),
883 deny_unsafe,
884 client: rpc_client.clone(),
885 pool: rpc_pool.clone(),
886 graph: rpc_pool.pool().clone(),
887 // TODO: Unhardcode
888 enable_dev_signer: false,
889 filter_pool: filter_pool.clone(),
890 network: rpc_network.clone(),
891 select_chain: select_chain.clone(),
892 is_authority: collator,
893 // TODO: Unhardcode
894 max_past_logs: 10000,
895 block_data_cache: block_data_cache.clone(),
896 fee_history_cache: fee_history_cache.clone(),
897 // TODO: Unhardcode
898 fee_history_limit: 2048,
899 };
900
901 Ok(
902 unique_rpc::create_full::<_, _, _, _, Runtime, RuntimeApi, _>(
903 full_deps,
904 subscription_executor.clone(),
905 ),
906 )
907 });
908
909 sc_service::spawn_tasks(sc_service::SpawnTasksParams {
910 network,
911 client,
912 keystore: keystore_container.sync_keystore(),
913 task_manager: &mut task_manager,
914 transaction_pool,
915 rpc_extensions_builder,
916 backend,
917 system_rpc_tx,
918 config,
919 telemetry: None,
920 })?;
921
922 network_starter.start_network();
923 Ok(task_manager)
539}924}
540925
modifiednode/rpc/Cargo.tomldiffbeforeafterboth
2name = "unique-rpc"2name = "unique-rpc"
3version = "0.1.0"3version = "0.1.0"
4authors = ['Unique Network <support@uniquenetwork.io>']4authors = ['Unique Network <support@uniquenetwork.io>']
5license = 'All Rights Reserved'5license = 'GPLv3'
6edition = "2021"6edition = "2021"
7description = "Unique chain rpc"7description = "Unique chain rpc"
88
13futures = { version = "0.3.17", features = ["compat"] }13futures = { version = "0.3.17", features = ["compat"] }
14jsonrpc-core = "18.0.0"14jsonrpc-core = "18.0.0"
15jsonrpc-pubsub = "18.0.0"15jsonrpc-pubsub = "18.0.0"
16# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
19sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }19sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
20sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }20sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
21sc-consensus-epochs = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }21sc-consensus-epochs = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
22sc-finality-grandpa = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }22sc-finality-grandpa = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
23sc-finality-grandpa-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }23sc-finality-grandpa-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
24sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }24sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
25sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }25sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
26sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }26sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
27sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }27sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
28sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }28sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
29sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }29sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
30sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }30sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
31sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }31sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
32sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }32sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
33sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }33sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
34sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }34sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
35sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }35sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
36sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }36sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
37sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }37sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
38sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }38sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
39sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }39sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
40sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }40sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
41substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }41substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
42tokio = { version = "0.2.25", features = ["macros", "sync"] }42tokio = { version = "0.2.25", features = ["macros", "sync"] }
4343
44pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }44pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
45fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }45fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
46fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }46fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
47fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }47fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
48fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }48fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
49fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }49fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
5050
51pallet-common = { default-features = false, path = "../../pallets/common" }
52unique-runtime-common = { default-features = false, path = "../../runtime/common" }
51pallet-unique = { path = "../../pallets/unique" }53pallet-unique = { path = "../../pallets/unique" }
52uc-rpc = { path = "../../client/rpc" }54uc-rpc = { path = "../../client/rpc" }
53up-rpc = { path = "../../primitives/rpc" }55up-rpc = { path = "../../primitives/rpc" }
56
57[dependencies.serde]
54unique-runtime = { path = "../../runtime" }58features = ['derive']
59version = '1.0.130'
5560
56[features]61[features]
62default = []
57std = []63std = []
5864
modifiednode/rpc/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use sp_runtime::traits::BlakeTwo256;17use sp_runtime::traits::BlakeTwo256;
2use unique_runtime::{Hash, AccountId, CrossAccountId, Index, opaque::Block, BlockNumber, Balance};
3use fc_rpc::{18use fc_rpc::{
4 EthBlockDataCache, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override,19 EthBlockDataCache, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override,
5 StorageOverride, SchemaV2Override, SchemaV3Override,20 StorageOverride, SchemaV2Override, SchemaV3Override,
25use sc_service::TransactionPool;40use sc_service::TransactionPool;
26use std::{collections::BTreeMap, marker::PhantomData, sync::Arc};41use std::{collections::BTreeMap, marker::PhantomData, sync::Arc};
42
43use unique_runtime_common::types::{
44 Hash, AccountId, RuntimeInstance, Index, Block, BlockNumber, Balance,
45};
2746
28/// Public io handler for exporting into other modules47/// Public io handler for exporting into other modules
29pub type IoHandler = jsonrpc_core::IoHandler<sc_rpc::Metadata>;48pub type IoHandler = jsonrpc_core::IoHandler<sc_rpc::Metadata>;
74 pub block_data_cache: Arc<EthBlockDataCache<Block>>,93 pub block_data_cache: Arc<EthBlockDataCache<Block>>,
75}94}
7695
77struct AccountCodes<C, B> {96struct AccountCodes<C, B, R> {
78 client: Arc<C>,97 client: Arc<C>,
79 _marker: PhantomData<B>,98 _blk_marker: PhantomData<B>,
99 _runtime_marker: PhantomData<R>,
80}100}
81101
82impl<C, Block> AccountCodes<C, Block>102impl<C, Block, R> AccountCodes<C, Block, R>
83where103where
84 Block: sp_api::BlockT,104 Block: sp_api::BlockT,
85 C: ProvideRuntimeApi<Block>,105 C: ProvideRuntimeApi<Block>,
106 R: RuntimeInstance,
86{107{
87 fn new(client: Arc<C>) -> Self {108 fn new(client: Arc<C>) -> Self {
88 Self {109 Self {
89 client,110 client,
90 _marker: PhantomData,111 _blk_marker: PhantomData,
112 _runtime_marker: PhantomData,
91 }113 }
92 }114 }
93}115}
94116
95impl<C, Block> fc_rpc::AccountCodeProvider<Block> for AccountCodes<C, Block>117impl<C, Block, Runtime> fc_rpc::AccountCodeProvider<Block> for AccountCodes<C, Block, Runtime>
96where118where
97 Block: sp_api::BlockT,119 Block: sp_api::BlockT,
98 C: ProvideRuntimeApi<Block>,120 C: ProvideRuntimeApi<Block>,
99 C::Api: up_rpc::UniqueApi<Block, CrossAccountId, AccountId>,121 C::Api: up_rpc::UniqueApi<Block, <Runtime as RuntimeInstance>::CrossAccountId, AccountId>,
122 Runtime: RuntimeInstance,
100{123{
101 fn code(&self, block: &sp_api::BlockId<Block>, account: sp_core::H160) -> Option<Vec<u8>> {124 fn code(&self, block: &sp_api::BlockId<Block>, account: sp_core::H160) -> Option<Vec<u8>> {
102 use up_rpc::UniqueApi;125 use up_rpc::UniqueApi;
108 }131 }
109}132}
110133
111pub fn overrides_handle<C, BE>(client: Arc<C>) -> Arc<OverrideHandle<Block>>134pub fn overrides_handle<C, BE, R>(client: Arc<C>) -> Arc<OverrideHandle<Block>>
112where135where
113 C: ProvideRuntimeApi<Block> + StorageProvider<Block, BE> + AuxStore,136 C: ProvideRuntimeApi<Block> + StorageProvider<Block, BE> + AuxStore,
114 C: HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError>,137 C: HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError>,
115 C: Send + Sync + 'static,138 C: Send + Sync + 'static,
116 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,139 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,
117 C::Api: up_rpc::UniqueApi<Block, CrossAccountId, AccountId>,140 C::Api: up_rpc::UniqueApi<Block, <R as RuntimeInstance>::CrossAccountId, AccountId>,
118 BE: Backend<Block> + 'static,141 BE: Backend<Block> + 'static,
119 BE::State: StateBackend<BlakeTwo256>,142 BE::State: StateBackend<BlakeTwo256>,
143 R: RuntimeInstance + Send + Sync + 'static,
120{144{
121 let mut overrides_map = BTreeMap::new();145 let mut overrides_map = BTreeMap::new();
122 overrides_map.insert(146 overrides_map.insert(
123 EthereumStorageSchema::V1,147 EthereumStorageSchema::V1,
124 Box::new(SchemaV1Override::new_with_code_provider(148 Box::new(SchemaV1Override::new_with_code_provider(
125 client.clone(),149 client.clone(),
126 Arc::new(AccountCodes::<C, Block>::new(client.clone())),150 Arc::new(AccountCodes::<C, Block, R>::new(client.clone())),
127 )) as Box<dyn StorageOverride<_> + Send + Sync>,151 )) as Box<dyn StorageOverride<_> + Send + Sync>,
128 );152 );
129 overrides_map.insert(153 overrides_map.insert(
144}168}
145169
146/// Instantiate all Full RPC extensions.170/// Instantiate all Full RPC extensions.
147pub fn create_full<C, P, SC, CA, A, B>(171pub fn create_full<C, P, SC, CA, R, A, B>(
148 deps: FullDeps<C, P, SC, CA>,172 deps: FullDeps<C, P, SC, CA>,
149 subscription_task_executor: SubscriptionTaskExecutor,173 subscription_task_executor: SubscriptionTaskExecutor,
150) -> jsonrpc_core::IoHandler<sc_rpc_api::Metadata>174) -> jsonrpc_core::IoHandler<sc_rpc_api::Metadata>
158 // C::Api: pallet_contracts_rpc::ContractsRuntimeApi<Block, AccountId, Balance, BlockNumber, Hash>,182 // C::Api: pallet_contracts_rpc::ContractsRuntimeApi<Block, AccountId, Balance, BlockNumber, Hash>,
159 C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,183 C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,
160 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,184 C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,
161 C::Api: up_rpc::UniqueApi<Block, CrossAccountId, AccountId>,185 C::Api: up_rpc::UniqueApi<Block, <R as RuntimeInstance>::CrossAccountId, AccountId>,
162 B: sc_client_api::Backend<Block> + Send + Sync + 'static,186 B: sc_client_api::Backend<Block> + Send + Sync + 'static,
163 B::State: sc_client_api::backend::StateBackend<sp_runtime::traits::HashFor<Block>>,187 B::State: sc_client_api::backend::StateBackend<sp_runtime::traits::HashFor<Block>>,
164 P: TransactionPool<Block = Block> + 'static,188 P: TransactionPool<Block = Block> + 'static,
165 CA: ChainApi<Block = Block> + 'static,189 CA: ChainApi<Block = Block> + 'static,
190 R: RuntimeInstance + Send + Sync + 'static,
191 <R as RuntimeInstance>::CrossAccountId: serde::Serialize,
192 for<'de> <R as RuntimeInstance>::CrossAccountId: serde::Deserialize<'de>,
166{193{
167 use fc_rpc::{194 use fc_rpc::{
168 EthApi, EthApiServer, EthDevSigner, EthFilterApi, EthFilterApiServer, EthPubSubApi,195 EthApi, EthApiServer, EthDevSigner, EthFilterApi, EthFilterApiServer, EthPubSubApi,
209 signers.push(Box::new(EthDevSigner::new()) as Box<dyn EthSigner>);236 signers.push(Box::new(EthDevSigner::new()) as Box<dyn EthSigner>);
210 }237 }
211238
212 let overrides = overrides_handle(client.clone());239 let overrides = overrides_handle::<_, _, R>(client.clone());
213240
214 io.extend_with(EthApiServer::to_delegate(EthApi::new(241 io.extend_with(EthApiServer::to_delegate(EthApi::new(
215 client.clone(),242 client.clone(),
216 pool.clone(),243 pool.clone(),
217 graph,244 graph,
218 unique_runtime::TransactionConverter,245 <R as RuntimeInstance>::get_transaction_converter(),
219 network.clone(),246 network.clone(),
220 signers,247 signers,
221 overrides.clone(),248 overrides.clone(),
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-common"2name = "pallet-common"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies.codec]7[dependencies.codec]
7default-features = false8default-features = false
8features = ['derive']9features = ['derive']
9package = 'parity-scale-codec'10package = 'parity-scale-codec'
10version = '2.0.0'11version = '3.1.2'
1112
12[dependencies]13[dependencies]
13frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18up-evm-mapping = { default-features = false, path = '../../primitives/evm-mapping' }19up-evm-mapping = { default-features = false, path = '../../primitives/evm-mapping' }
19up-data-structs = { default-features = false, path = '../../primitives/data-structs' }20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
20pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }21pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
21evm-coder = { default-features = false, path = '../../crates/evm-coder' }22evm-coder = { default-features = false, path = '../../crates/evm-coder' }
22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }23pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
23serde = { version = "1.0.130", default-features = false }24serde = { version = "1.0.130", default-features = false }
24scale-info = { version = "1.0.0", default-features = false, features = [25scale-info = { version = "2.0.1", default-features = false, features = [
25 "derive",26 "derive",
26] }27] }
2728
modifiedpallets/common/src/account.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use crate::Config;17use crate::Config;
2use codec::{Encode, EncodeLike, Decode, MaxEncodedLen};18use codec::{Encode, EncodeLike, Decode, MaxEncodedLen};
modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use sp_std::vec::Vec;17use sp_std::vec::Vec;
2use crate::{Config, CollectionHandle};18use crate::{Config, CollectionHandle};
modifiedpallets/common/src/erc.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1pub use pallet_evm::PrecompileOutput;17pub use pallet_evm::PrecompileOutput;
2pub use pallet_evm::PrecompileResult;18pub use pallet_evm::PrecompileResult;
modifiedpallets/common/src/eth.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use up_data_structs::{CollectionId, TokenId};17use up_data_structs::{CollectionId, TokenId};
2use sp_core::H160;18use sp_core::H160;
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-evm-coder-substrate"2name = "pallet-evm-coder-substrate"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7scale-info = { version = "1.0.0", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
8 "derive",9 "derive",
9] }10] }
10sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }11sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
11sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }12sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
12ethereum = { version = "0.11.1", default-features = false }13ethereum = { version = "0.12.0", default-features = false }
13evm-coder = { default-features = false, path = "../../crates/evm-coder" }14evm-coder = { default-features = false, path = "../../crates/evm-coder" }
14pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }15pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
15pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }16pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
16frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }19frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
1920
20[dependencies.codec]21[dependencies.codec]
21default-features = false22default-features = false
22features = ['derive']23features = ['derive']
23package = 'parity-scale-codec'24package = 'parity-scale-codec'
24version = '2.3.0'25version = '3.1.2'
2526
26[features]27[features]
27default = ["std"]28default = ["std"]
modifiedpallets/evm-coder-substrate/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::*;17use super::*;
218
modifiedpallets/evm-coder-substrate/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-evm-contract-helpers"2name = "pallet-evm-contract-helpers"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7scale-info = { version = "1.0.0", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
8 "derive",9 "derive",
9] }10] }
10frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }11frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
11frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }12frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
12sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }13sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
13sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15evm-coder = { default-features = false, path = '../../crates/evm-coder' }16evm-coder = { default-features = false, path = '../../crates/evm-coder' }
16pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }17pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
18up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }19up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
19log = "0.4.14"20log = "0.4.14"
2021
21[dependencies.codec]22[dependencies.codec]
22default-features = false23default-features = false
23features = ['derive']24features = ['derive']
24package = 'parity-scale-codec'25package = 'parity-scale-codec'
25version = '2.3.0'26version = '3.1.2'
2627
27[features]28[features]
28default = ["std"]29default = ["std"]
modifiedpallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::marker::PhantomData;17use core::marker::PhantomData;
2use evm_coder::{abi::AbiWriter, execution::Result, generate_stubgen, solidity_interface, types::*};18use evm_coder::{abi::AbiWriter, execution::Result, generate_stubgen, solidity_interface, types::*};
modifiedpallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/evm-migration/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-evm-migration"2name = "pallet-evm-migration"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7scale-info = { version = "1.0.0", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
8 "derive",9 "derive",
9] }10] }
10frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }11frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
11frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }12frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
12frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }13frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
13sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }18pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }19fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
1920
20[dependencies.codec]21[dependencies.codec]
21default-features = false22default-features = false
22features = ['derive']23features = ['derive']
23package = 'parity-scale-codec'24package = 'parity-scale-codec'
24version = '2.3.0'25version = '3.1.2'
2526
26[features]27[features]
27default = ["std", "runtime-benchmarks"]28default = ["std", "runtime-benchmarks"]
modifiedpallets/evm-migration/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::{Call, Config, Pallet};17use super::{Call, Config, Pallet};
2use frame_benchmarking::benchmarks;18use frame_benchmarking::benchmarks;
modifiedpallets/evm-migration/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
22
3//! Autogenerated weights for pallet_evm_migration3//! Autogenerated weights for pallet_evm_migration
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.05//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2021-08-12, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
18// --template18// --template
19// .maintain/frame-weight-template.hbs19// .maintain/frame-weight-template.hbs
20// --steps=5020// --steps=50
21// --repeat=2021// --repeat=200
22// --heap-pages=4096
22// --output=./pallets/evm-migration/src/weights.rs23// --output=./pallets/evm-migration/src/weights.rs
23
2424
40/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.40/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
41pub struct SubstrateWeight<T>(PhantomData<T>);41pub struct SubstrateWeight<T>(PhantomData<T>);
42impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {42impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
43 // Storage: EvmMigration MigrationPending (r:1 w:1)
44 // Storage: System Account (r:1 w:0)
45 // Storage: EVM AccountCodes (r:1 w:0)
43 fn begin() -> Weight {46 fn begin() -> Weight {
44 (6_210_000 as Weight)47 (6_441_000 as Weight)
45 .saturating_add(T::DbWeight::get().reads(3 as Weight))48 .saturating_add(T::DbWeight::get().reads(3 as Weight))
46 .saturating_add(T::DbWeight::get().writes(1 as Weight))49 .saturating_add(T::DbWeight::get().writes(1 as Weight))
47 }50 }
51 // Storage: EvmMigration MigrationPending (r:1 w:0)
52 // Storage: EVM AccountStorages (r:0 w:1)
48 fn set_data(b: u32, ) -> Weight {53 fn set_data(b: u32, ) -> Weight {
49 (2_926_000 as Weight)54 (3_424_000 as Weight)
50 // Standard Error: 4_00055 // Standard Error: 0
51 .saturating_add((649_000 as Weight).saturating_mul(b as Weight))56 .saturating_add((973_000 as Weight).saturating_mul(b as Weight))
52 .saturating_add(T::DbWeight::get().reads(1 as Weight))57 .saturating_add(T::DbWeight::get().reads(1 as Weight))
53 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))58 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
54 }59 }
60 // Storage: EvmMigration MigrationPending (r:1 w:1)
61 // Storage: EVM AccountCodes (r:0 w:1)
55 fn finish(_b: u32, ) -> Weight {62 fn finish(b: u32, ) -> Weight {
56 (4_309_000 as Weight)63 (4_702_000 as Weight)
64 // Standard Error: 0
65 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
57 .saturating_add(T::DbWeight::get().reads(1 as Weight))66 .saturating_add(T::DbWeight::get().reads(1 as Weight))
58 .saturating_add(T::DbWeight::get().writes(2 as Weight))67 .saturating_add(T::DbWeight::get().writes(2 as Weight))
59 }68 }
60}69}
6170
62// For backwards compatibility and tests71// For backwards compatibility and tests
63impl WeightInfo for () {72impl WeightInfo for () {
73 // Storage: EvmMigration MigrationPending (r:1 w:1)
74 // Storage: System Account (r:1 w:0)
75 // Storage: EVM AccountCodes (r:1 w:0)
64 fn begin() -> Weight {76 fn begin() -> Weight {
65 (6_210_000 as Weight)77 (6_441_000 as Weight)
66 .saturating_add(RocksDbWeight::get().reads(3 as Weight))78 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
67 .saturating_add(RocksDbWeight::get().writes(1 as Weight))79 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
68 }80 }
81 // Storage: EvmMigration MigrationPending (r:1 w:0)
82 // Storage: EVM AccountStorages (r:0 w:1)
69 fn set_data(b: u32, ) -> Weight {83 fn set_data(b: u32, ) -> Weight {
70 (2_926_000 as Weight)84 (3_424_000 as Weight)
71 // Standard Error: 4_00085 // Standard Error: 0
72 .saturating_add((649_000 as Weight).saturating_mul(b as Weight))86 .saturating_add((973_000 as Weight).saturating_mul(b as Weight))
73 .saturating_add(RocksDbWeight::get().reads(1 as Weight))87 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
74 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))88 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
75 }89 }
90 // Storage: EvmMigration MigrationPending (r:1 w:1)
91 // Storage: EVM AccountCodes (r:0 w:1)
76 fn finish(_b: u32, ) -> Weight {92 fn finish(b: u32, ) -> Weight {
77 (4_309_000 as Weight)93 (4_702_000 as Weight)
94 // Standard Error: 0
95 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
78 .saturating_add(RocksDbWeight::get().reads(1 as Weight))96 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
79 .saturating_add(RocksDbWeight::get().writes(2 as Weight))97 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
80 }98 }
modifiedpallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-evm-transaction-payment"2name = "pallet-evm-transaction-payment"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7scale-info = { version = "1.0.0", default-features = false, features = [8scale-info = { version = "2.0.1", default-features = false, features = [
8 "derive",9 "derive",
9] }10] }
10frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }11frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
11frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }12frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
12sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }13sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
13sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
17fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
18pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
19up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
20up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }21up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }
2122
22[dependencies.codec]23[dependencies.codec]
23default-features = false24default-features = false
24features = ['derive']25features = ['derive']
25package = 'parity-scale-codec'26package = 'parity-scale-codec'
26version = '2.3.0'27version = '3.1.2'
2728
28[features]29[features]
29default = ["std"]30default = ["std"]
modifiedpallets/evm-transaction-payment/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/fungible/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-fungible"2name = "pallet-fungible"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies.codec]7[dependencies.codec]
7default-features = false8default-features = false
8features = ['derive']9features = ['derive']
9package = 'parity-scale-codec'10package = 'parity-scale-codec'
10version = '2.0.0'11version = '3.1.2'
1112
12[dependencies]13[dependencies]
13frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
19up-data-structs = { default-features = false, path = '../../primitives/data-structs' }20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
20evm-coder = { default-features = false, path = '../../crates/evm-coder' }21evm-coder = { default-features = false, path = '../../crates/evm-coder' }
21pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }22pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
22ethereum = { version = "0.11.1", default-features = false }23ethereum = { version = "0.12.0", default-features = false }
23frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }24frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
24scale-info = { version = "1.0.0", default-features = false, features = [25scale-info = { version = "2.0.1", default-features = false, features = [
25 "derive",26 "derive",
26] }27] }
2728
modifiedpallets/fungible/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::*;17use super::*;
2use crate::{Pallet, Config, FungibleHandle};18use crate::{Pallet, Config, FungibleHandle};
modifiedpallets/fungible/src/common.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::marker::PhantomData;17use core::marker::PhantomData;
218
modifiedpallets/fungible/src/erc.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::char::{REPLACEMENT_CHARACTER, decode_utf16};17use core::char::{REPLACEMENT_CHARACTER, decode_utf16};
2use core::convert::TryInto;18use core::convert::TryInto;
modifiedpallets/fungible/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_fungible3//! Autogenerated weights for pallet_fungible
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: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
18// --template18// --template
19// .maintain/frame-weight-template.hbs19// .maintain/frame-weight-template.hbs
20// --steps=5020// --steps=50
21// --repeat=2021// --repeat=200
22// --heap-pages=4096
22// --output=./pallets/fungible/src/weights.rs23// --output=./pallets/fungible/src/weights.rs
23
2424
44/// Weights for pallet_fungible using the Substrate node and recommended hardware.44/// Weights for pallet_fungible using the Substrate node and recommended hardware.
45pub struct SubstrateWeight<T>(PhantomData<T>);45pub struct SubstrateWeight<T>(PhantomData<T>);
46impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {46impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
47 // Storage: Fungible TotalSupply (r:1 w:1)
47 // Storage: Fungible Balance (r:1 w:1)48 // Storage: Fungible Balance (r:1 w:1)
48 // Storage: Fungible TotalSupply (r:0 w:1)
49 fn create_item() -> Weight {49 fn create_item() -> Weight {
50 (12_069_000 as Weight)50 (14_407_000 as Weight)
51 .saturating_add(T::DbWeight::get().reads(1 as Weight))51 .saturating_add(T::DbWeight::get().reads(2 as Weight))
52 .saturating_add(T::DbWeight::get().writes(2 as Weight))52 .saturating_add(T::DbWeight::get().writes(2 as Weight))
53 }53 }
54 // Storage: Fungible TotalSupply (r:1 w:1)54 // Storage: Fungible TotalSupply (r:1 w:1)
55 // Storage: Fungible Balance (r:4 w:4)55 // Storage: Fungible Balance (r:4 w:4)
56 fn create_multiple_items_ex(b: u32, ) -> Weight {56 fn create_multiple_items_ex(b: u32, ) -> Weight {
57 (1_055_000 as Weight)57 (13_030_000 as Weight)
58 // Standard Error: 22_00058 // Standard Error: 1_000
59 .saturating_add((5_273_000 as Weight).saturating_mul(b as Weight))59 .saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))
60 .saturating_add(T::DbWeight::get().reads(1 as Weight))60 .saturating_add(T::DbWeight::get().reads(1 as Weight))
61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
62 .saturating_add(T::DbWeight::get().writes(1 as Weight))62 .saturating_add(T::DbWeight::get().writes(1 as Weight))
65 // Storage: Fungible TotalSupply (r:1 w:1)65 // Storage: Fungible TotalSupply (r:1 w:1)
66 // Storage: Fungible Balance (r:1 w:1)66 // Storage: Fungible Balance (r:1 w:1)
67 fn burn_item() -> Weight {67 fn burn_item() -> Weight {
68 (14_096_000 as Weight)68 (15_565_000 as Weight)
69 .saturating_add(T::DbWeight::get().reads(2 as Weight))69 .saturating_add(T::DbWeight::get().reads(2 as Weight))
70 .saturating_add(T::DbWeight::get().writes(2 as Weight))70 .saturating_add(T::DbWeight::get().writes(2 as Weight))
71 }71 }
72 // Storage: Fungible Balance (r:2 w:2)72 // Storage: Fungible Balance (r:2 w:2)
73 fn transfer() -> Weight {73 fn transfer() -> Weight {
74 (15_436_000 as Weight)74 (17_713_000 as Weight)
75 .saturating_add(T::DbWeight::get().reads(2 as Weight))75 .saturating_add(T::DbWeight::get().reads(2 as Weight))
76 .saturating_add(T::DbWeight::get().writes(2 as Weight))76 .saturating_add(T::DbWeight::get().writes(2 as Weight))
77 }77 }
78 // Storage: Fungible Balance (r:1 w:0)78 // Storage: Fungible Balance (r:1 w:0)
79 // Storage: Fungible Allowance (r:0 w:1)79 // Storage: Fungible Allowance (r:0 w:1)
80 fn approve() -> Weight {80 fn approve() -> Weight {
81 (12_867_000 as Weight)81 (14_834_000 as Weight)
82 .saturating_add(T::DbWeight::get().reads(1 as Weight))82 .saturating_add(T::DbWeight::get().reads(1 as Weight))
83 .saturating_add(T::DbWeight::get().writes(1 as Weight))83 .saturating_add(T::DbWeight::get().writes(1 as Weight))
84 }84 }
85 // Storage: Fungible Allowance (r:1 w:1)85 // Storage: Fungible Allowance (r:1 w:1)
86 // Storage: Fungible Balance (r:2 w:2)86 // Storage: Fungible Balance (r:2 w:2)
87 fn transfer_from() -> Weight {87 fn transfer_from() -> Weight {
88 (21_462_000 as Weight)88 (25_189_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(3 as Weight))90 .saturating_add(T::DbWeight::get().writes(3 as Weight))
91 }91 }
92 // Storage: Fungible Allowance (r:1 w:1)92 // Storage: Fungible Allowance (r:1 w:1)
93 // Storage: Fungible TotalSupply (r:1 w:1)93 // Storage: Fungible TotalSupply (r:1 w:1)
94 // Storage: Fungible Balance (r:1 w:1)94 // Storage: Fungible Balance (r:1 w:1)
95 fn burn_from() -> Weight {95 fn burn_from() -> Weight {
96 (55_874_000 as Weight)96 (24_065_000 as Weight)
97 .saturating_add(T::DbWeight::get().reads(3 as Weight))97 .saturating_add(T::DbWeight::get().reads(3 as Weight))
98 .saturating_add(T::DbWeight::get().writes(3 as Weight))98 .saturating_add(T::DbWeight::get().writes(3 as Weight))
99 }99 }
100}100}
101101
102// For backwards compatibility and tests102// For backwards compatibility and tests
103impl WeightInfo for () {103impl WeightInfo for () {
104 // Storage: Fungible TotalSupply (r:1 w:1)
104 // Storage: Fungible Balance (r:1 w:1)105 // Storage: Fungible Balance (r:1 w:1)
105 // Storage: Fungible TotalSupply (r:0 w:1)
106 fn create_item() -> Weight {106 fn create_item() -> Weight {
107 (12_069_000 as Weight)107 (14_407_000 as Weight)
108 .saturating_add(RocksDbWeight::get().reads(1 as Weight))108 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
109 .saturating_add(RocksDbWeight::get().writes(2 as Weight))109 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
110 }110 }
111 // Storage: Fungible TotalSupply (r:1 w:1)111 // Storage: Fungible TotalSupply (r:1 w:1)
112 // Storage: Fungible Balance (r:4 w:4)112 // Storage: Fungible Balance (r:4 w:4)
113 fn create_multiple_items_ex(b: u32, ) -> Weight {113 fn create_multiple_items_ex(b: u32, ) -> Weight {
114 (1_055_000 as Weight)114 (13_030_000 as Weight)
115 // Standard Error: 22_000115 // Standard Error: 1_000
116 .saturating_add((5_273_000 as Weight).saturating_mul(b as Weight))116 .saturating_add((3_779_000 as Weight).saturating_mul(b as Weight))
117 .saturating_add(RocksDbWeight::get().reads(1 as Weight))117 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
118 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))118 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
119 .saturating_add(RocksDbWeight::get().writes(1 as Weight))119 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
122 // Storage: Fungible TotalSupply (r:1 w:1)122 // Storage: Fungible TotalSupply (r:1 w:1)
123 // Storage: Fungible Balance (r:1 w:1)123 // Storage: Fungible Balance (r:1 w:1)
124 fn burn_item() -> Weight {124 fn burn_item() -> Weight {
125 (14_096_000 as Weight)125 (15_565_000 as Weight)
126 .saturating_add(RocksDbWeight::get().reads(2 as Weight))126 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
127 .saturating_add(RocksDbWeight::get().writes(2 as Weight))127 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
128 }128 }
129 // Storage: Fungible Balance (r:2 w:2)129 // Storage: Fungible Balance (r:2 w:2)
130 fn transfer() -> Weight {130 fn transfer() -> Weight {
131 (15_436_000 as Weight)131 (17_713_000 as Weight)
132 .saturating_add(RocksDbWeight::get().reads(2 as Weight))132 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
133 .saturating_add(RocksDbWeight::get().writes(2 as Weight))133 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
134 }134 }
135 // Storage: Fungible Balance (r:1 w:0)135 // Storage: Fungible Balance (r:1 w:0)
136 // Storage: Fungible Allowance (r:0 w:1)136 // Storage: Fungible Allowance (r:0 w:1)
137 fn approve() -> Weight {137 fn approve() -> Weight {
138 (12_867_000 as Weight)138 (14_834_000 as Weight)
139 .saturating_add(RocksDbWeight::get().reads(1 as Weight))139 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
140 .saturating_add(RocksDbWeight::get().writes(1 as Weight))140 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
141 }141 }
142 // Storage: Fungible Allowance (r:1 w:1)142 // Storage: Fungible Allowance (r:1 w:1)
143 // Storage: Fungible Balance (r:2 w:2)143 // Storage: Fungible Balance (r:2 w:2)
144 fn transfer_from() -> Weight {144 fn transfer_from() -> Weight {
145 (21_462_000 as Weight)145 (25_189_000 as Weight)
146 .saturating_add(RocksDbWeight::get().reads(3 as Weight))146 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
147 .saturating_add(RocksDbWeight::get().writes(3 as Weight))147 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
148 }148 }
149 // Storage: Fungible Allowance (r:1 w:1)149 // Storage: Fungible Allowance (r:1 w:1)
150 // Storage: Fungible TotalSupply (r:1 w:1)150 // Storage: Fungible TotalSupply (r:1 w:1)
151 // Storage: Fungible Balance (r:1 w:1)151 // Storage: Fungible Balance (r:1 w:1)
152 fn burn_from() -> Weight {152 fn burn_from() -> Weight {
153 (55_874_000 as Weight)153 (24_065_000 as Weight)
154 .saturating_add(RocksDbWeight::get().reads(3 as Weight))154 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
155 .saturating_add(RocksDbWeight::get().writes(3 as Weight))155 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
156 }156 }
modifiedpallets/inflation/Cargo.tomldiffbeforeafterboth
6description = 'Unique Inflation Pallet'6description = 'Unique Inflation Pallet'
7edition = '2018'7edition = '2018'
8homepage = 'https://unique.network'8homepage = 'https://unique.network'
9license = 'All Rights Reserved'9license = 'GPLv3'
10name = 'pallet-inflation'10name = 'pallet-inflation'
11repository = 'https://github.com/UniqueNetwork/unique-chain'11repository = 'https://github.com/UniqueNetwork/unique-chain'
12version = '0.1.0'12version = '0.1.0'
37default-features = false37default-features = false
38features = ['derive']38features = ['derive']
39package = 'parity-scale-codec'39package = 'parity-scale-codec'
40version = '2.3.0'40version = '3.1.2'
4141
42[dependencies.frame-benchmarking]42[dependencies.frame-benchmarking]
43default-features = false43default-features = false
44optional = true44optional = true
45git = 'https://github.com/paritytech/substrate.git'45git = 'https://github.com/paritytech/substrate.git'
46branch = 'polkadot-v0.9.17'46branch = 'polkadot-v0.9.18'
4747
48[dependencies.frame-support]48[dependencies.frame-support]
49default-features = false49default-features = false
50git = 'https://github.com/paritytech/substrate.git'50git = 'https://github.com/paritytech/substrate.git'
51branch = 'polkadot-v0.9.17'51branch = 'polkadot-v0.9.18'
5252
53[dependencies.frame-system]53[dependencies.frame-system]
54default-features = false54default-features = false
55git = 'https://github.com/paritytech/substrate.git'55git = 'https://github.com/paritytech/substrate.git'
56branch = 'polkadot-v0.9.17'56branch = 'polkadot-v0.9.18'
5757
58[dependencies.pallet-balances]58[dependencies.pallet-balances]
59default-features = false59default-features = false
60git = 'https://github.com/paritytech/substrate.git'60git = 'https://github.com/paritytech/substrate.git'
61branch = 'polkadot-v0.9.17'61branch = 'polkadot-v0.9.18'
6262
63[dependencies.pallet-timestamp]63[dependencies.pallet-timestamp]
64default-features = false64default-features = false
65git = 'https://github.com/paritytech/substrate.git'65git = 'https://github.com/paritytech/substrate.git'
66branch = 'polkadot-v0.9.17'66branch = 'polkadot-v0.9.18'
6767
68[dependencies.pallet-randomness-collective-flip]68[dependencies.pallet-randomness-collective-flip]
69default-features = false69default-features = false
70git = 'https://github.com/paritytech/substrate.git'70git = 'https://github.com/paritytech/substrate.git'
71branch = 'polkadot-v0.9.17'71branch = 'polkadot-v0.9.18'
7272
73[dependencies.sp-std]73[dependencies.sp-std]
74default-features = false74default-features = false
75git = 'https://github.com/paritytech/substrate.git'75git = 'https://github.com/paritytech/substrate.git'
76branch = 'polkadot-v0.9.17'76branch = 'polkadot-v0.9.18'
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.git'85git = 'https://github.com/paritytech/substrate.git'
86branch = 'polkadot-v0.9.17'86branch = 'polkadot-v0.9.18'
8787
88[dependencies.sp-core]88[dependencies.sp-core]
89default-features = false89default-features = false
90git = 'https://github.com/paritytech/substrate.git'90git = 'https://github.com/paritytech/substrate.git'
91branch = 'polkadot-v0.9.17'91branch = 'polkadot-v0.9.18'
9292
93[dependencies.sp-io]93[dependencies.sp-io]
94default-features = false94default-features = false
95git = 'https://github.com/paritytech/substrate.git'95git = 'https://github.com/paritytech/substrate.git'
96branch = 'polkadot-v0.9.17'96branch = 'polkadot-v0.9.18'
9797
98[dependencies]98[dependencies]
99scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }99scale-info = { version = "2.0.1", default-features = false, features = [
100 "derive",
101] }
100102
modifiedpallets/inflation/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg(feature = "runtime-benchmarks")]17#![cfg(feature = "runtime-benchmarks")]
218
modifiedpallets/inflation/src/lib.rsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// #![recursion_limit = "1024"]17// #![recursion_limit = "1024"]
7#![cfg_attr(not(feature = "std"), no_std)]18#![cfg_attr(not(feature = "std"), no_std)]
modifiedpallets/inflation/src/tests.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg(test)]17#![cfg(test)]
2#![allow(clippy::from_over_into)]18#![allow(clippy::from_over_into)]
modifiedpallets/nonfungible/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-nonfungible"2name = "pallet-nonfungible"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies.codec]7[dependencies.codec]
7default-features = false8default-features = false
8features = ['derive']9features = ['derive']
9package = 'parity-scale-codec'10package = 'parity-scale-codec'
10version = '2.0.0'11version = '3.1.2'
1112
12[dependencies]13[dependencies]
13frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
19up-data-structs = { default-features = false, path = '../../primitives/data-structs' }20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
20evm-coder = { default-features = false, path = '../../crates/evm-coder' }21evm-coder = { default-features = false, path = '../../crates/evm-coder' }
21pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }22pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
22ethereum = { version = "0.11.1", default-features = false }23ethereum = { version = "0.12.0", default-features = false }
23frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }24frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
24scale-info = { version = "1.0.0", default-features = false, features = [25scale-info = { version = "2.0.1", default-features = false, features = [
25 "derive",26 "derive",
26] }27] }
2728
modifiedpallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::*;17use super::*;
2use crate::{Pallet, Config, NonfungibleHandle};18use crate::{Pallet, Config, NonfungibleHandle};
modifiedpallets/nonfungible/src/common.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::marker::PhantomData;17use core::marker::PhantomData;
218
modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::{17use core::{
2 char::{REPLACEMENT_CHARACTER, decode_utf16},18 char::{REPLACEMENT_CHARACTER, decode_utf16},
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible
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: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
18// --template18// --template
19// .maintain/frame-weight-template.hbs19// .maintain/frame-weight-template.hbs
20// --steps=5020// --steps=50
21// --repeat=2021// --repeat=200
22// --heap-pages=4096
22// --output=./pallets/nonfungible/src/weights.rs23// --output=./pallets/nonfungible/src/weights.rs
23
2424
51 // Storage: Nonfungible TokenData (r:0 w:1)51 // Storage: Nonfungible TokenData (r:0 w:1)
52 // Storage: Nonfungible Owned (r:0 w:1)52 // Storage: Nonfungible Owned (r:0 w:1)
53 fn create_item() -> Weight {53 fn create_item() -> Weight {
54 (16_902_000 as Weight)54 (18_450_000 as Weight)
55 .saturating_add(T::DbWeight::get().reads(2 as Weight))55 .saturating_add(T::DbWeight::get().reads(2 as Weight))
56 .saturating_add(T::DbWeight::get().writes(4 as Weight))56 .saturating_add(T::DbWeight::get().writes(4 as Weight))
57 }57 }
60 // Storage: Nonfungible TokenData (r:0 w:4)60 // Storage: Nonfungible TokenData (r:0 w:4)
61 // Storage: Nonfungible Owned (r:0 w:4)61 // Storage: Nonfungible Owned (r:0 w:4)
62 fn create_multiple_items(b: u32, ) -> Weight {62 fn create_multiple_items(b: u32, ) -> Weight {
63 (15_860_000 as Weight)63 (10_228_000 as Weight)
64 // Standard Error: 5_00064 // Standard Error: 1_000
65 .saturating_add((3_916_000 as Weight).saturating_mul(b as Weight))65 .saturating_add((4_392_000 as Weight).saturating_mul(b as Weight))
66 .saturating_add(T::DbWeight::get().reads(2 as Weight))66 .saturating_add(T::DbWeight::get().reads(2 as Weight))
67 .saturating_add(T::DbWeight::get().writes(2 as Weight))67 .saturating_add(T::DbWeight::get().writes(2 as Weight))
68 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))68 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
72 // Storage: Nonfungible TokenData (r:0 w:4)72 // Storage: Nonfungible TokenData (r:0 w:4)
73 // Storage: Nonfungible Owned (r:0 w:4)73 // Storage: Nonfungible Owned (r:0 w:4)
74 fn create_multiple_items_ex(b: u32, ) -> Weight {74 fn create_multiple_items_ex(b: u32, ) -> Weight {
75 (2_090_000 as Weight)75 (6_543_000 as Weight)
76 // Standard Error: 10_00076 // Standard Error: 2_000
77 .saturating_add((9_230_000 as Weight).saturating_mul(b as Weight))77 .saturating_add((7_175_000 as Weight).saturating_mul(b as Weight))
78 .saturating_add(T::DbWeight::get().reads(1 as Weight))78 .saturating_add(T::DbWeight::get().reads(1 as Weight))
79 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))79 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
80 .saturating_add(T::DbWeight::get().writes(1 as Weight))80 .saturating_add(T::DbWeight::get().writes(1 as Weight))
81 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))81 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
82 }82 }
83 // Storage: Nonfungible TokenData (r:1 w:1)83 // Storage: Nonfungible TokenData (r:1 w:1)
84 // Storage: Nonfungible TokensBurnt (r:1 w:1)84 // Storage: Nonfungible TokensBurnt (r:1 w:1)
85 // Storage: Nonfungible AccountBalance (r:1 w:1)
85 // Storage: Nonfungible Allowance (r:1 w:0)86 // Storage: Nonfungible Allowance (r:1 w:0)
86 // Storage: Nonfungible Owned (r:0 w:1)87 // Storage: Nonfungible Owned (r:0 w:1)
87 fn burn_item() -> Weight {88 fn burn_item() -> Weight {
88 (17_966_000 as Weight)89 (24_554_000 as Weight)
89 .saturating_add(T::DbWeight::get().reads(3 as Weight))90 .saturating_add(T::DbWeight::get().reads(4 as Weight))
90 .saturating_add(T::DbWeight::get().writes(3 as Weight))91 .saturating_add(T::DbWeight::get().writes(4 as Weight))
91 }92 }
92 // Storage: Nonfungible TokenData (r:1 w:1)93 // Storage: Nonfungible TokenData (r:1 w:1)
93 // Storage: Nonfungible AccountBalance (r:2 w:2)94 // Storage: Nonfungible AccountBalance (r:2 w:2)
94 // Storage: Nonfungible Allowance (r:1 w:0)95 // Storage: Nonfungible Allowance (r:1 w:0)
95 // Storage: Nonfungible Owned (r:0 w:2)96 // Storage: Nonfungible Owned (r:0 w:2)
96 fn transfer() -> Weight {97 fn transfer() -> Weight {
97 (23_886_000 as Weight)98 (28_339_000 as Weight)
98 .saturating_add(T::DbWeight::get().reads(4 as Weight))99 .saturating_add(T::DbWeight::get().reads(4 as Weight))
99 .saturating_add(T::DbWeight::get().writes(5 as Weight))100 .saturating_add(T::DbWeight::get().writes(5 as Weight))
100 }101 }
101 // Storage: Nonfungible TokenData (r:1 w:0)102 // Storage: Nonfungible TokenData (r:1 w:0)
102 // Storage: Nonfungible Allowance (r:1 w:1)103 // Storage: Nonfungible Allowance (r:1 w:1)
103 fn approve() -> Weight {104 fn approve() -> Weight {
104 (14_697_000 as Weight)105 (17_616_000 as Weight)
105 .saturating_add(T::DbWeight::get().reads(2 as Weight))106 .saturating_add(T::DbWeight::get().reads(2 as Weight))
106 .saturating_add(T::DbWeight::get().writes(1 as Weight))107 .saturating_add(T::DbWeight::get().writes(1 as Weight))
107 }108 }
110 // Storage: Nonfungible AccountBalance (r:2 w:2)111 // Storage: Nonfungible AccountBalance (r:2 w:2)
111 // Storage: Nonfungible Owned (r:0 w:2)112 // Storage: Nonfungible Owned (r:0 w:2)
112 fn transfer_from() -> Weight {113 fn transfer_from() -> Weight {
113 (28_001_000 as Weight)114 (32_196_000 as Weight)
114 .saturating_add(T::DbWeight::get().reads(4 as Weight))115 .saturating_add(T::DbWeight::get().reads(4 as Weight))
115 .saturating_add(T::DbWeight::get().writes(6 as Weight))116 .saturating_add(T::DbWeight::get().writes(6 as Weight))
116 }117 }
117 // Storage: Nonfungible Allowance (r:1 w:1)118 // Storage: Nonfungible Allowance (r:1 w:1)
118 // Storage: Nonfungible TokenData (r:1 w:1)119 // Storage: Nonfungible TokenData (r:1 w:1)
119 // Storage: Nonfungible TokensBurnt (r:1 w:1)120 // Storage: Nonfungible TokensBurnt (r:1 w:1)
121 // Storage: Nonfungible AccountBalance (r:1 w:1)
120 // Storage: Nonfungible Owned (r:0 w:1)122 // Storage: Nonfungible Owned (r:0 w:1)
121 fn burn_from() -> Weight {123 fn burn_from() -> Weight {
122 (53_429_000 as Weight)124 (27_580_000 as Weight)
123 .saturating_add(T::DbWeight::get().reads(3 as Weight))125 .saturating_add(T::DbWeight::get().reads(4 as Weight))
124 .saturating_add(T::DbWeight::get().writes(4 as Weight))126 .saturating_add(T::DbWeight::get().writes(5 as Weight))
125 }127 }
126 // Storage: Nonfungible TokenData (r:1 w:1)128 // Storage: Nonfungible TokenData (r:1 w:1)
127 fn set_variable_metadata(_b: u32, ) -> Weight {129 fn set_variable_metadata(_b: u32, ) -> Weight {
128 (6_380_000 as Weight)130 (7_700_000 as Weight)
129 .saturating_add(T::DbWeight::get().reads(1 as Weight))131 .saturating_add(T::DbWeight::get().reads(1 as Weight))
130 .saturating_add(T::DbWeight::get().writes(1 as Weight))132 .saturating_add(T::DbWeight::get().writes(1 as Weight))
131 }133 }
138 // Storage: Nonfungible TokenData (r:0 w:1)140 // Storage: Nonfungible TokenData (r:0 w:1)
139 // Storage: Nonfungible Owned (r:0 w:1)141 // Storage: Nonfungible Owned (r:0 w:1)
140 fn create_item() -> Weight {142 fn create_item() -> Weight {
141 (16_902_000 as Weight)143 (18_450_000 as Weight)
142 .saturating_add(RocksDbWeight::get().reads(2 as Weight))144 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
143 .saturating_add(RocksDbWeight::get().writes(4 as Weight))145 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
144 }146 }
147 // Storage: Nonfungible TokenData (r:0 w:4)149 // Storage: Nonfungible TokenData (r:0 w:4)
148 // Storage: Nonfungible Owned (r:0 w:4)150 // Storage: Nonfungible Owned (r:0 w:4)
149 fn create_multiple_items(b: u32, ) -> Weight {151 fn create_multiple_items(b: u32, ) -> Weight {
150 (15_860_000 as Weight)152 (10_228_000 as Weight)
151 // Standard Error: 5_000153 // Standard Error: 1_000
152 .saturating_add((3_916_000 as Weight).saturating_mul(b as Weight))154 .saturating_add((4_392_000 as Weight).saturating_mul(b as Weight))
153 .saturating_add(RocksDbWeight::get().reads(2 as Weight))155 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
154 .saturating_add(RocksDbWeight::get().writes(2 as Weight))156 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
155 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))157 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
159 // Storage: Nonfungible TokenData (r:0 w:4)161 // Storage: Nonfungible TokenData (r:0 w:4)
160 // Storage: Nonfungible Owned (r:0 w:4)162 // Storage: Nonfungible Owned (r:0 w:4)
161 fn create_multiple_items_ex(b: u32, ) -> Weight {163 fn create_multiple_items_ex(b: u32, ) -> Weight {
162 (2_090_000 as Weight)164 (6_543_000 as Weight)
163 // Standard Error: 10_000165 // Standard Error: 2_000
164 .saturating_add((9_230_000 as Weight).saturating_mul(b as Weight))166 .saturating_add((7_175_000 as Weight).saturating_mul(b as Weight))
165 .saturating_add(RocksDbWeight::get().reads(1 as Weight))167 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
166 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))168 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
167 .saturating_add(RocksDbWeight::get().writes(1 as Weight))169 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
168 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))170 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(b as Weight)))
169 }171 }
170 // Storage: Nonfungible TokenData (r:1 w:1)172 // Storage: Nonfungible TokenData (r:1 w:1)
171 // Storage: Nonfungible TokensBurnt (r:1 w:1)173 // Storage: Nonfungible TokensBurnt (r:1 w:1)
174 // Storage: Nonfungible AccountBalance (r:1 w:1)
172 // Storage: Nonfungible Allowance (r:1 w:0)175 // Storage: Nonfungible Allowance (r:1 w:0)
173 // Storage: Nonfungible Owned (r:0 w:1)176 // Storage: Nonfungible Owned (r:0 w:1)
174 fn burn_item() -> Weight {177 fn burn_item() -> Weight {
175 (17_966_000 as Weight)178 (24_554_000 as Weight)
176 .saturating_add(RocksDbWeight::get().reads(3 as Weight))179 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
177 .saturating_add(RocksDbWeight::get().writes(3 as Weight))180 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
178 }181 }
179 // Storage: Nonfungible TokenData (r:1 w:1)182 // Storage: Nonfungible TokenData (r:1 w:1)
180 // Storage: Nonfungible AccountBalance (r:2 w:2)183 // Storage: Nonfungible AccountBalance (r:2 w:2)
181 // Storage: Nonfungible Allowance (r:1 w:0)184 // Storage: Nonfungible Allowance (r:1 w:0)
182 // Storage: Nonfungible Owned (r:0 w:2)185 // Storage: Nonfungible Owned (r:0 w:2)
183 fn transfer() -> Weight {186 fn transfer() -> Weight {
184 (23_886_000 as Weight)187 (28_339_000 as Weight)
185 .saturating_add(RocksDbWeight::get().reads(4 as Weight))188 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
186 .saturating_add(RocksDbWeight::get().writes(5 as Weight))189 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
187 }190 }
188 // Storage: Nonfungible TokenData (r:1 w:0)191 // Storage: Nonfungible TokenData (r:1 w:0)
189 // Storage: Nonfungible Allowance (r:1 w:1)192 // Storage: Nonfungible Allowance (r:1 w:1)
190 fn approve() -> Weight {193 fn approve() -> Weight {
191 (14_697_000 as Weight)194 (17_616_000 as Weight)
192 .saturating_add(RocksDbWeight::get().reads(2 as Weight))195 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
193 .saturating_add(RocksDbWeight::get().writes(1 as Weight))196 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
194 }197 }
197 // Storage: Nonfungible AccountBalance (r:2 w:2)200 // Storage: Nonfungible AccountBalance (r:2 w:2)
198 // Storage: Nonfungible Owned (r:0 w:2)201 // Storage: Nonfungible Owned (r:0 w:2)
199 fn transfer_from() -> Weight {202 fn transfer_from() -> Weight {
200 (28_001_000 as Weight)203 (32_196_000 as Weight)
201 .saturating_add(RocksDbWeight::get().reads(4 as Weight))204 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
202 .saturating_add(RocksDbWeight::get().writes(6 as Weight))205 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
203 }206 }
204 // Storage: Nonfungible Allowance (r:1 w:1)207 // Storage: Nonfungible Allowance (r:1 w:1)
205 // Storage: Nonfungible TokenData (r:1 w:1)208 // Storage: Nonfungible TokenData (r:1 w:1)
206 // Storage: Nonfungible TokensBurnt (r:1 w:1)209 // Storage: Nonfungible TokensBurnt (r:1 w:1)
210 // Storage: Nonfungible AccountBalance (r:1 w:1)
207 // Storage: Nonfungible Owned (r:0 w:1)211 // Storage: Nonfungible Owned (r:0 w:1)
208 fn burn_from() -> Weight {212 fn burn_from() -> Weight {
209 (53_429_000 as Weight)213 (27_580_000 as Weight)
210 .saturating_add(RocksDbWeight::get().reads(3 as Weight))214 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
211 .saturating_add(RocksDbWeight::get().writes(4 as Weight))215 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
212 }216 }
213 // Storage: Nonfungible TokenData (r:1 w:1)217 // Storage: Nonfungible TokenData (r:1 w:1)
214 fn set_variable_metadata(_b: u32, ) -> Weight {218 fn set_variable_metadata(_b: u32, ) -> Weight {
215 (6_380_000 as Weight)219 (7_700_000 as Weight)
216 .saturating_add(RocksDbWeight::get().reads(1 as Weight))220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
217 .saturating_add(RocksDbWeight::get().writes(1 as Weight))221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
218 }222 }
modifiedpallets/refungible/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-refungible"2name = "pallet-refungible"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies.codec]7[dependencies.codec]
7default-features = false8default-features = false
8features = ['derive']9features = ['derive']
9package = 'parity-scale-codec'10package = 'parity-scale-codec'
10version = '2.0.0'11version = '3.1.2'
1112
12[dependencies]13[dependencies]
13frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
16sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }17sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18pallet-common = { default-features = false, path = '../common' }19pallet-common = { default-features = false, path = '../common' }
19up-data-structs = { default-features = false, path = '../../primitives/data-structs' }20up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
20frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }21frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
21scale-info = { version = "1.0.0", default-features = false, features = [22scale-info = { version = "2.0.1", default-features = false, features = [
22 "derive",23 "derive",
23] }24] }
2425
modifiedpallets/refungible/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use super::*;17use super::*;
2use crate::{Pallet, Config, RefungibleHandle};18use crate::{Pallet, Config, RefungibleHandle};
modifiedpallets/refungible/src/common.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::marker::PhantomData;17use core::marker::PhantomData;
218
modifiedpallets/refungible/src/erc.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use up_data_structs::TokenId;17use up_data_structs::TokenId;
2use pallet_common::erc::CommonEvmHandler;18use pallet_common::erc::CommonEvmHandler;
modifiedpallets/refungible/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible
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: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
18// --template18// --template
19// .maintain/frame-weight-template.hbs19// .maintain/frame-weight-template.hbs
20// --steps=5020// --steps=50
21// --repeat=2021// --repeat=200
22// --heap-pages=4096
22// --output=./pallets/refungible/src/weights.rs23// --output=./pallets/refungible/src/weights.rs
23
2424
61 // Storage: Refungible TokenData (r:0 w:1)61 // Storage: Refungible TokenData (r:0 w:1)
62 // Storage: Refungible Owned (r:0 w:1)62 // Storage: Refungible Owned (r:0 w:1)
63 fn create_item() -> Weight {63 fn create_item() -> Weight {
64 (18_681_000 as Weight)64 (21_255_000 as Weight)
65 .saturating_add(T::DbWeight::get().reads(2 as Weight))65 .saturating_add(T::DbWeight::get().reads(2 as Weight))
66 .saturating_add(T::DbWeight::get().writes(6 as Weight))66 .saturating_add(T::DbWeight::get().writes(6 as Weight))
67 }67 }
72 // Storage: Refungible TokenData (r:0 w:4)72 // Storage: Refungible TokenData (r:0 w:4)
73 // Storage: Refungible Owned (r:0 w:4)73 // Storage: Refungible Owned (r:0 w:4)
74 fn create_multiple_items(b: u32, ) -> Weight {74 fn create_multiple_items(b: u32, ) -> Weight {
75 (13_869_000 as Weight)75 (18_052_000 as Weight)
76 // Standard Error: 28_00076 // Standard Error: 1_000
77 .saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))77 .saturating_add((5_549_000 as Weight).saturating_mul(b as Weight))
78 .saturating_add(T::DbWeight::get().reads(2 as Weight))78 .saturating_add(T::DbWeight::get().reads(2 as Weight))
79 .saturating_add(T::DbWeight::get().writes(2 as Weight))79 .saturating_add(T::DbWeight::get().writes(2 as Weight))
80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
86 // Storage: Refungible TokenData (r:0 w:4)86 // Storage: Refungible TokenData (r:0 w:4)
87 // Storage: Refungible Owned (r:0 w:4)87 // Storage: Refungible Owned (r:0 w:4)
88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
89 (11_953_000 as Weight)89 (15_766_000 as Weight)
90 // Standard Error: 27_00090 // Standard Error: 2_000
91 .saturating_add((10_775_000 as Weight).saturating_mul(b as Weight))91 .saturating_add((8_187_000 as Weight).saturating_mul(b as Weight))
92 .saturating_add(T::DbWeight::get().reads(1 as Weight))92 .saturating_add(T::DbWeight::get().reads(1 as Weight))
93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
94 .saturating_add(T::DbWeight::get().writes(1 as Weight))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))
101 // Storage: Refungible Balance (r:0 w:4)101 // Storage: Refungible Balance (r:0 w:4)
102 // Storage: Refungible Owned (r:0 w:4)102 // Storage: Refungible Owned (r:0 w:4)
103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
104 (0 as Weight)104 (5_675_000 as Weight)
105 // Standard Error: 13_000105 // Standard Error: 2_000
106 .saturating_add((8_528_000 as Weight).saturating_mul(b as Weight))106 .saturating_add((6_315_000 as Weight).saturating_mul(b as Weight))
107 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))
108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
109 .saturating_add(T::DbWeight::get().writes(3 as Weight))109 .saturating_add(T::DbWeight::get().writes(3 as Weight))
114 // Storage: Refungible AccountBalance (r:1 w:1)114 // Storage: Refungible AccountBalance (r:1 w:1)
115 // Storage: Refungible Owned (r:0 w:1)115 // Storage: Refungible Owned (r:0 w:1)
116 fn burn_item_partial() -> Weight {116 fn burn_item_partial() -> Weight {
117 (21_591_000 as Weight)117 (23_518_000 as Weight)
118 .saturating_add(T::DbWeight::get().reads(3 as Weight))118 .saturating_add(T::DbWeight::get().reads(3 as Weight))
119 .saturating_add(T::DbWeight::get().writes(4 as Weight))119 .saturating_add(T::DbWeight::get().writes(4 as Weight))
120 }120 }
125 // Storage: Refungible TokenData (r:0 w:1)125 // Storage: Refungible TokenData (r:0 w:1)
126 // Storage: Refungible Owned (r:0 w:1)126 // Storage: Refungible Owned (r:0 w:1)
127 fn burn_item_fully() -> Weight {127 fn burn_item_fully() -> Weight {
128 (29_257_000 as Weight)128 (32_489_000 as Weight)
129 .saturating_add(T::DbWeight::get().reads(4 as Weight))129 .saturating_add(T::DbWeight::get().reads(4 as Weight))
130 .saturating_add(T::DbWeight::get().writes(6 as Weight))130 .saturating_add(T::DbWeight::get().writes(6 as Weight))
131 }131 }
132 // Storage: Refungible Balance (r:2 w:2)132 // Storage: Refungible Balance (r:2 w:2)
133 fn transfer_normal() -> Weight {133 fn transfer_normal() -> Weight {
134 (17_733_000 as Weight)134 (19_766_000 as Weight)
135 .saturating_add(T::DbWeight::get().reads(2 as Weight))135 .saturating_add(T::DbWeight::get().reads(2 as Weight))
136 .saturating_add(T::DbWeight::get().writes(2 as Weight))136 .saturating_add(T::DbWeight::get().writes(2 as Weight))
137 }137 }
138 // Storage: Refungible Balance (r:2 w:2)138 // Storage: Refungible Balance (r:2 w:2)
139 // Storage: Refungible AccountBalance (r:1 w:1)139 // Storage: Refungible AccountBalance (r:1 w:1)
140 // Storage: Refungible Owned (r:0 w:1)140 // Storage: Refungible Owned (r:0 w:1)
141 fn transfer_creating() -> Weight {141 fn transfer_creating() -> Weight {
142 (20_943_000 as Weight)142 (23_360_000 as Weight)
143 .saturating_add(T::DbWeight::get().reads(3 as Weight))143 .saturating_add(T::DbWeight::get().reads(3 as Weight))
144 .saturating_add(T::DbWeight::get().writes(4 as Weight))144 .saturating_add(T::DbWeight::get().writes(4 as Weight))
145 }145 }
146 // Storage: Refungible Balance (r:2 w:2)146 // Storage: Refungible Balance (r:2 w:2)
147 // Storage: Refungible AccountBalance (r:1 w:1)147 // Storage: Refungible AccountBalance (r:1 w:1)
148 // Storage: Refungible Owned (r:0 w:1)148 // Storage: Refungible Owned (r:0 w:1)
149 fn transfer_removing() -> Weight {149 fn transfer_removing() -> Weight {
150 (22_406_000 as Weight)150 (25_344_000 as Weight)
151 .saturating_add(T::DbWeight::get().reads(3 as Weight))151 .saturating_add(T::DbWeight::get().reads(3 as Weight))
152 .saturating_add(T::DbWeight::get().writes(4 as Weight))152 .saturating_add(T::DbWeight::get().writes(4 as Weight))
153 }153 }
154 // Storage: Refungible Balance (r:2 w:2)154 // Storage: Refungible Balance (r:2 w:2)
155 // Storage: Refungible AccountBalance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:2 w:2)
156 // Storage: Refungible Owned (r:0 w:2)156 // Storage: Refungible Owned (r:0 w:2)
157 fn transfer_creating_removing() -> Weight {157 fn transfer_creating_removing() -> Weight {
158 (24_762_000 as Weight)158 (28_553_000 as Weight)
159 .saturating_add(T::DbWeight::get().reads(4 as Weight))159 .saturating_add(T::DbWeight::get().reads(4 as Weight))
160 .saturating_add(T::DbWeight::get().writes(6 as Weight))160 .saturating_add(T::DbWeight::get().writes(6 as Weight))
161 }161 }
162 // Storage: Refungible Balance (r:1 w:0)162 // Storage: Refungible Balance (r:1 w:0)
163 // Storage: Refungible Allowance (r:0 w:1)163 // Storage: Refungible Allowance (r:0 w:1)
164 fn approve() -> Weight {164 fn approve() -> Weight {
165 (14_109_000 as Weight)165 (15_356_000 as Weight)
166 .saturating_add(T::DbWeight::get().reads(1 as Weight))166 .saturating_add(T::DbWeight::get().reads(1 as Weight))
167 .saturating_add(T::DbWeight::get().writes(1 as Weight))167 .saturating_add(T::DbWeight::get().writes(1 as Weight))
168 }168 }
169 // Storage: Refungible Allowance (r:1 w:1)169 // Storage: Refungible Allowance (r:1 w:1)
170 // Storage: Refungible Balance (r:2 w:2)170 // Storage: Refungible Balance (r:2 w:2)
171 fn transfer_from_normal() -> Weight {171 fn transfer_from_normal() -> Weight {
172 (25_348_000 as Weight)172 (28_832_000 as Weight)
173 .saturating_add(T::DbWeight::get().reads(3 as Weight))173 .saturating_add(T::DbWeight::get().reads(3 as Weight))
174 .saturating_add(T::DbWeight::get().writes(3 as Weight))174 .saturating_add(T::DbWeight::get().writes(3 as Weight))
175 }175 }
178 // Storage: Refungible AccountBalance (r:1 w:1)178 // Storage: Refungible AccountBalance (r:1 w:1)
179 // Storage: Refungible Owned (r:0 w:1)179 // Storage: Refungible Owned (r:0 w:1)
180 fn transfer_from_creating() -> Weight {180 fn transfer_from_creating() -> Weight {
181 (28_647_000 as Weight)181 (32_132_000 as Weight)
182 .saturating_add(T::DbWeight::get().reads(4 as Weight))182 .saturating_add(T::DbWeight::get().reads(4 as Weight))
183 .saturating_add(T::DbWeight::get().writes(5 as Weight))183 .saturating_add(T::DbWeight::get().writes(5 as Weight))
184 }184 }
187 // Storage: Refungible AccountBalance (r:1 w:1)187 // Storage: Refungible AccountBalance (r:1 w:1)
188 // Storage: Refungible Owned (r:0 w:1)188 // Storage: Refungible Owned (r:0 w:1)
189 fn transfer_from_removing() -> Weight {189 fn transfer_from_removing() -> Weight {
190 (30_472_000 as Weight)190 (33_237_000 as Weight)
191 .saturating_add(T::DbWeight::get().reads(4 as Weight))191 .saturating_add(T::DbWeight::get().reads(4 as Weight))
192 .saturating_add(T::DbWeight::get().writes(5 as Weight))192 .saturating_add(T::DbWeight::get().writes(5 as Weight))
193 }193 }
196 // Storage: Refungible AccountBalance (r:2 w:2)196 // Storage: Refungible AccountBalance (r:2 w:2)
197 // Storage: Refungible Owned (r:0 w:2)197 // Storage: Refungible Owned (r:0 w:2)
198 fn transfer_from_creating_removing() -> Weight {198 fn transfer_from_creating_removing() -> Weight {
199 (32_362_000 as Weight)199 (36_399_000 as Weight)
200 .saturating_add(T::DbWeight::get().reads(5 as Weight))200 .saturating_add(T::DbWeight::get().reads(5 as Weight))
201 .saturating_add(T::DbWeight::get().writes(7 as Weight))201 .saturating_add(T::DbWeight::get().writes(7 as Weight))
202 }202 }
208 // Storage: Refungible TokenData (r:0 w:1)208 // Storage: Refungible TokenData (r:0 w:1)
209 // Storage: Refungible Owned (r:0 w:1)209 // Storage: Refungible Owned (r:0 w:1)
210 fn burn_from() -> Weight {210 fn burn_from() -> Weight {
211 (60_903_000 as Weight)211 (42_043_000 as Weight)
212 .saturating_add(T::DbWeight::get().reads(5 as Weight))212 .saturating_add(T::DbWeight::get().reads(5 as Weight))
213 .saturating_add(T::DbWeight::get().writes(7 as Weight))213 .saturating_add(T::DbWeight::get().writes(7 as Weight))
214 }214 }
215 // Storage: Refungible TokenData (r:1 w:1)215 // Storage: Refungible TokenData (r:1 w:1)
216 fn set_variable_metadata(_b: u32, ) -> Weight {216 fn set_variable_metadata(_b: u32, ) -> Weight {
217 (6_801_000 as Weight)217 (7_364_000 as Weight)
218 .saturating_add(T::DbWeight::get().reads(1 as Weight))218 .saturating_add(T::DbWeight::get().reads(1 as Weight))
219 .saturating_add(T::DbWeight::get().writes(1 as Weight))219 .saturating_add(T::DbWeight::get().writes(1 as Weight))
220 }220 }
229 // Storage: Refungible TokenData (r:0 w:1)229 // Storage: Refungible TokenData (r:0 w:1)
230 // Storage: Refungible Owned (r:0 w:1)230 // Storage: Refungible Owned (r:0 w:1)
231 fn create_item() -> Weight {231 fn create_item() -> Weight {
232 (18_681_000 as Weight)232 (21_255_000 as Weight)
233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
235 }235 }
240 // Storage: Refungible TokenData (r:0 w:4)240 // Storage: Refungible TokenData (r:0 w:4)
241 // Storage: Refungible Owned (r:0 w:4)241 // Storage: Refungible Owned (r:0 w:4)
242 fn create_multiple_items(b: u32, ) -> Weight {242 fn create_multiple_items(b: u32, ) -> Weight {
243 (13_869_000 as Weight)243 (18_052_000 as Weight)
244 // Standard Error: 28_000244 // Standard Error: 1_000
245 .saturating_add((5_611_000 as Weight).saturating_mul(b as Weight))245 .saturating_add((5_549_000 as Weight).saturating_mul(b as Weight))
246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
254 // Storage: Refungible TokenData (r:0 w:4)254 // Storage: Refungible TokenData (r:0 w:4)
255 // Storage: Refungible Owned (r:0 w:4)255 // Storage: Refungible Owned (r:0 w:4)
256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
257 (11_953_000 as Weight)257 (15_766_000 as Weight)
258 // Standard Error: 27_000258 // Standard Error: 2_000
259 .saturating_add((10_775_000 as Weight).saturating_mul(b as Weight))259 .saturating_add((8_187_000 as Weight).saturating_mul(b as Weight))
260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
269 // Storage: Refungible Balance (r:0 w:4)269 // Storage: Refungible Balance (r:0 w:4)
270 // Storage: Refungible Owned (r:0 w:4)270 // Storage: Refungible Owned (r:0 w:4)
271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
272 (0 as Weight)272 (5_675_000 as Weight)
273 // Standard Error: 13_000273 // Standard Error: 2_000
274 .saturating_add((8_528_000 as Weight).saturating_mul(b as Weight))274 .saturating_add((6_315_000 as Weight).saturating_mul(b as Weight))
275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
282 // Storage: Refungible AccountBalance (r:1 w:1)282 // Storage: Refungible AccountBalance (r:1 w:1)
283 // Storage: Refungible Owned (r:0 w:1)283 // Storage: Refungible Owned (r:0 w:1)
284 fn burn_item_partial() -> Weight {284 fn burn_item_partial() -> Weight {
285 (21_591_000 as Weight)285 (23_518_000 as Weight)
286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
288 }288 }
293 // Storage: Refungible TokenData (r:0 w:1)293 // Storage: Refungible TokenData (r:0 w:1)
294 // Storage: Refungible Owned (r:0 w:1)294 // Storage: Refungible Owned (r:0 w:1)
295 fn burn_item_fully() -> Weight {295 fn burn_item_fully() -> Weight {
296 (29_257_000 as Weight)296 (32_489_000 as Weight)
297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
299 }299 }
300 // Storage: Refungible Balance (r:2 w:2)300 // Storage: Refungible Balance (r:2 w:2)
301 fn transfer_normal() -> Weight {301 fn transfer_normal() -> Weight {
302 (17_733_000 as Weight)302 (19_766_000 as Weight)
303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
305 }305 }
306 // Storage: Refungible Balance (r:2 w:2)306 // Storage: Refungible Balance (r:2 w:2)
307 // Storage: Refungible AccountBalance (r:1 w:1)307 // Storage: Refungible AccountBalance (r:1 w:1)
308 // Storage: Refungible Owned (r:0 w:1)308 // Storage: Refungible Owned (r:0 w:1)
309 fn transfer_creating() -> Weight {309 fn transfer_creating() -> Weight {
310 (20_943_000 as Weight)310 (23_360_000 as Weight)
311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
313 }313 }
314 // Storage: Refungible Balance (r:2 w:2)314 // Storage: Refungible Balance (r:2 w:2)
315 // Storage: Refungible AccountBalance (r:1 w:1)315 // Storage: Refungible AccountBalance (r:1 w:1)
316 // Storage: Refungible Owned (r:0 w:1)316 // Storage: Refungible Owned (r:0 w:1)
317 fn transfer_removing() -> Weight {317 fn transfer_removing() -> Weight {
318 (22_406_000 as Weight)318 (25_344_000 as Weight)
319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
321 }321 }
322 // Storage: Refungible Balance (r:2 w:2)322 // Storage: Refungible Balance (r:2 w:2)
323 // Storage: Refungible AccountBalance (r:2 w:2)323 // Storage: Refungible AccountBalance (r:2 w:2)
324 // Storage: Refungible Owned (r:0 w:2)324 // Storage: Refungible Owned (r:0 w:2)
325 fn transfer_creating_removing() -> Weight {325 fn transfer_creating_removing() -> Weight {
326 (24_762_000 as Weight)326 (28_553_000 as Weight)
327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
329 }329 }
330 // Storage: Refungible Balance (r:1 w:0)330 // Storage: Refungible Balance (r:1 w:0)
331 // Storage: Refungible Allowance (r:0 w:1)331 // Storage: Refungible Allowance (r:0 w:1)
332 fn approve() -> Weight {332 fn approve() -> Weight {
333 (14_109_000 as Weight)333 (15_356_000 as Weight)
334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
336 }336 }
337 // Storage: Refungible Allowance (r:1 w:1)337 // Storage: Refungible Allowance (r:1 w:1)
338 // Storage: Refungible Balance (r:2 w:2)338 // Storage: Refungible Balance (r:2 w:2)
339 fn transfer_from_normal() -> Weight {339 fn transfer_from_normal() -> Weight {
340 (25_348_000 as Weight)340 (28_832_000 as Weight)
341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
343 }343 }
346 // Storage: Refungible AccountBalance (r:1 w:1)346 // Storage: Refungible AccountBalance (r:1 w:1)
347 // Storage: Refungible Owned (r:0 w:1)347 // Storage: Refungible Owned (r:0 w:1)
348 fn transfer_from_creating() -> Weight {348 fn transfer_from_creating() -> Weight {
349 (28_647_000 as Weight)349 (32_132_000 as Weight)
350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
352 }352 }
355 // Storage: Refungible AccountBalance (r:1 w:1)355 // Storage: Refungible AccountBalance (r:1 w:1)
356 // Storage: Refungible Owned (r:0 w:1)356 // Storage: Refungible Owned (r:0 w:1)
357 fn transfer_from_removing() -> Weight {357 fn transfer_from_removing() -> Weight {
358 (30_472_000 as Weight)358 (33_237_000 as Weight)
359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
361 }361 }
364 // Storage: Refungible AccountBalance (r:2 w:2)364 // Storage: Refungible AccountBalance (r:2 w:2)
365 // Storage: Refungible Owned (r:0 w:2)365 // Storage: Refungible Owned (r:0 w:2)
366 fn transfer_from_creating_removing() -> Weight {366 fn transfer_from_creating_removing() -> Weight {
367 (32_362_000 as Weight)367 (36_399_000 as Weight)
368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
370 }370 }
376 // Storage: Refungible TokenData (r:0 w:1)376 // Storage: Refungible TokenData (r:0 w:1)
377 // Storage: Refungible Owned (r:0 w:1)377 // Storage: Refungible Owned (r:0 w:1)
378 fn burn_from() -> Weight {378 fn burn_from() -> Weight {
379 (60_903_000 as Weight)379 (42_043_000 as Weight)
380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
382 }382 }
383 // Storage: Refungible TokenData (r:1 w:1)383 // Storage: Refungible TokenData (r:1 w:1)
384 fn set_variable_metadata(_b: u32, ) -> Weight {384 fn set_variable_metadata(_b: u32, ) -> Weight {
385 (6_801_000 as Weight)385 (7_364_000 as Weight)
386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
388 }388 }
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
3version = "0.1.0"3version = "0.1.0"
4authors = ["Unique Network <support@uniquenetwork.io>"]4authors = ["Unique Network <support@uniquenetwork.io>"]
5edition = "2021"5edition = "2021"
6license = "All Rights Reserved"6license = "GPLv3"
7homepage = "https://unique.network"7homepage = "https://unique.network"
8repository = "https://github.com/UniqueNetwork/unique-chain"8repository = "https://github.com/UniqueNetwork/unique-chain"
9description = "Unique Scheduler pallet"9description = "Unique Scheduler pallet"
10readme = "README.md"10readme = "README.md"
1111
12[dependencies]12[dependencies]
13serde = { version = "1.0.130", default-features = false }13serde = { version = "1.0.130", default-features = false }
14codec = { package = "parity-scale-codec", version = "2.3.0", default-features = false }14codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false }
15scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }15scale-info = { version = "2.0.1", default-features = false, features = [
16 "derive",
17] }
16frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }18frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
17frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }19frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
18sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }20sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
19sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }21sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
20sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }22sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
21frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }23frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
2224
23up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }25up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
24log = { version = "0.4.14", default-features = false }26log = { version = "0.4.14", default-features = false }
2527
26[dev-dependencies]28[dev-dependencies]
27sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }29sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
28substrate-test-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }30substrate-test-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
2931
30[features]32[features]
31default = ["std"]33default = ["std"]
modifiedpallets/scheduler/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// This file is part of Substrate.18// This file is part of Substrate.
219
3// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd.20// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd.
modifiedpallets/scheduler/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// This file is part of Substrate.18// This file is part of Substrate.
219
3// Copyright (C) 2017-2021 Parity Technologies (UK) Ltd.20// Copyright (C) 2017-2021 Parity Technologies (UK) Ltd.
modifiedpallets/scheduler/src/weights.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// This file is part of Substrate.18// This file is part of Substrate.
219
3// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd.20// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd.
modifiedpallets/unique/Cargo.tomldiffbeforeafterboth
6description = 'Unique Pallet'6description = 'Unique Pallet'
7edition = '2018'7edition = '2018'
8homepage = 'https://unique.network'8homepage = 'https://unique.network'
9license = 'All Rights Reserved'9license = 'GPLv3'
10name = 'pallet-unique'10name = 'pallet-unique'
11repository = 'https://github.com/UniqueNetwork/unique-chain'11repository = 'https://github.com/UniqueNetwork/unique-chain'
12version = '0.1.0'12version = '0.1.0'
55default-features = false55default-features = false
56features = ['derive']56features = ['derive']
57package = 'parity-scale-codec'57package = 'parity-scale-codec'
58version = '2.3.0'58version = '3.1.2'
5959
60[dependencies.frame-benchmarking]60[dependencies.frame-benchmarking]
61default-features = false61default-features = false
62optional = true62optional = true
63git = 'https://github.com/paritytech/substrate.git'63git = 'https://github.com/paritytech/substrate.git'
64branch = 'polkadot-v0.9.17'64branch = 'polkadot-v0.9.18'
6565
66[dependencies.frame-support]66[dependencies.frame-support]
67default-features = false67default-features = false
68git = 'https://github.com/paritytech/substrate.git'68git = 'https://github.com/paritytech/substrate.git'
69branch = 'polkadot-v0.9.17'69branch = 'polkadot-v0.9.18'
7070
71[dependencies.frame-system]71[dependencies.frame-system]
72default-features = false72default-features = false
73git = 'https://github.com/paritytech/substrate.git'73git = 'https://github.com/paritytech/substrate.git'
74branch = 'polkadot-v0.9.17'74branch = 'polkadot-v0.9.18'
7575
76[dependencies.pallet-balances]76[dependencies.pallet-balances]
77default-features = false77default-features = false
78git = 'https://github.com/paritytech/substrate.git'78git = 'https://github.com/paritytech/substrate.git'
79branch = 'polkadot-v0.9.17'79branch = 'polkadot-v0.9.18'
8080
81[dependencies.pallet-timestamp]81[dependencies.pallet-timestamp]
82default-features = false82default-features = false
83git = 'https://github.com/paritytech/substrate.git'83git = 'https://github.com/paritytech/substrate.git'
84branch = 'polkadot-v0.9.17'84branch = 'polkadot-v0.9.18'
8585
86[dependencies.pallet-randomness-collective-flip]86[dependencies.pallet-randomness-collective-flip]
87default-features = false87default-features = false
88git = 'https://github.com/paritytech/substrate.git'88git = 'https://github.com/paritytech/substrate.git'
89branch = 'polkadot-v0.9.17'89branch = 'polkadot-v0.9.18'
9090
91[dependencies.sp-std]91[dependencies.sp-std]
92default-features = false92default-features = false
93git = 'https://github.com/paritytech/substrate.git'93git = 'https://github.com/paritytech/substrate.git'
94branch = 'polkadot-v0.9.17'94branch = 'polkadot-v0.9.18'
9595
96[dependencies.pallet-transaction-payment]96[dependencies.pallet-transaction-payment]
97default-features = false97default-features = false
98git = 'https://github.com/paritytech/substrate.git'98git = 'https://github.com/paritytech/substrate.git'
99branch = 'polkadot-v0.9.17'99branch = 'polkadot-v0.9.18'
100100
101[dependencies.serde]101[dependencies.serde]
102default-features = false102default-features = false
106[dependencies.sp-runtime]106[dependencies.sp-runtime]
107default-features = false107default-features = false
108git = 'https://github.com/paritytech/substrate.git'108git = 'https://github.com/paritytech/substrate.git'
109branch = 'polkadot-v0.9.17'109branch = 'polkadot-v0.9.18'
110110
111[dependencies.sp-core]111[dependencies.sp-core]
112default-features = false112default-features = false
113git = 'https://github.com/paritytech/substrate.git'113git = 'https://github.com/paritytech/substrate.git'
114branch = 'polkadot-v0.9.17'114branch = 'polkadot-v0.9.18'
115115
116[dependencies.sp-io]116[dependencies.sp-io]
117default-features = false117default-features = false
118git = 'https://github.com/paritytech/substrate.git'118git = 'https://github.com/paritytech/substrate.git'
119branch = 'polkadot-v0.9.17'119branch = 'polkadot-v0.9.18'
120120
121121
122################################################################################122################################################################################
123# Local Dependencies123# Local Dependencies
124[dependencies]124[dependencies]
125up-data-structs = { default-features = false, path = "../../primitives/data-structs" }125up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
126126
127scale-info = { version = "1.0.0", default-features = false, features = [127scale-info = { version = "2.0.1", default-features = false, features = [
128 "derive",128 "derive",
129] }129] }
130ethereum = { version = "0.11.1", default-features = false }130ethereum = { version = "0.12.0", default-features = false }
131rlp = { default-features = false, version = "0.5.0" }131rlp = { default-features = false, version = "0.5.0" }
132sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.17" }132sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.18" }
133133
134up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.17' }134up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.18' }
135up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }135up-evm-mapping = { default-features = false, path = "../../primitives/evm-mapping" }
136evm-coder = { default-features = false, path = "../../crates/evm-coder" }136evm-coder = { default-features = false, path = "../../crates/evm-coder" }
137pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }137pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
138primitive-types = { version = "0.10.1", default-features = false, features = [138primitive-types = { version = "0.11.1", default-features = false, features = [
139 "serde_no_std",139 "serde_no_std",
140] }140] }
141141
142pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }142pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
143pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }143pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
144fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.17" }144fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.18" }
145hex-literal = "0.3.3"145hex-literal = "0.3.3"
146146
147pallet-common = { default-features = false, path = "../common" }147pallet-common = { default-features = false, path = "../common" }
modifiedpallets/unique/src/benchmarking.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg(feature = "runtime-benchmarks")]17#![cfg(feature = "runtime-benchmarks")]
218
modifiedpallets/unique/src/common.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use core::marker::PhantomData;17use core::marker::PhantomData;
2use frame_support::{weights::Weight};18use frame_support::{weights::Weight};
modifiedpallets/unique/src/dispatch.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use frame_support::{17use frame_support::{
2 dispatch::{DispatchErrorWithPostInfo, DispatchResultWithPostInfo},18 dispatch::{DispatchErrorWithPostInfo, DispatchResultWithPostInfo},
modifiedpallets/unique/src/eth/mod.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1pub mod sponsoring;17pub mod sponsoring;
218
modifiedpallets/unique/src/eth/sponsoring.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1//! Implements EVM sponsoring logic via OnChargeEVMTransaction17//! Implements EVM sponsoring logic via OnChargeEVMTransaction
218
modifiedpallets/unique/src/lib.rsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6#![recursion_limit = "1024"]17#![recursion_limit = "1024"]
7#![cfg_attr(not(feature = "std"), no_std)]18#![cfg_attr(not(feature = "std"), no_std)]
modifiedpallets/unique/src/mock.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![allow(clippy::from_over_into)]17#![allow(clippy::from_over_into)]
218
modifiedpallets/unique/src/sponsorship.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1use crate::{17use crate::{
2 Config, Call, CreateItemBasket, VariableMetaDataBasket, ReFungibleTransferBasket,18 Config, Call, CreateItemBasket, VariableMetaDataBasket, ReFungibleTransferBasket,
modifiedpallets/unique/src/tests.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1// Tests to be written here17// Tests to be written here
2use super::*;18use super::*;
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_unique3//! Autogenerated weights for pallet_unique
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: 2021-10-21, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-03-01, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1287//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
88
9// Executed Command:9// Executed Command:
10// target/release/unique-collator10// target/release/unique-collator
18// --template18// --template
19// .maintain/frame-weight-template.hbs19// .maintain/frame-weight-template.hbs
20// --steps=5020// --steps=50
21// --repeat=2021// --repeat=200
22// --heap-pages=4096
22// --output=./pallets/unique/src/weights.rs23// --output=./pallets/unique/src/weights.rs
23
2424
61 // Storage: System Account (r:2 w:2)61 // Storage: System Account (r:2 w:2)
62 // Storage: Common CollectionById (r:0 w:1)62 // Storage: Common CollectionById (r:0 w:1)
63 fn create_collection() -> Weight {63 fn create_collection() -> Weight {
64 (23_803_000 as Weight)64 (28_929_000 as Weight)
65 .saturating_add(T::DbWeight::get().reads(4 as Weight))65 .saturating_add(T::DbWeight::get().reads(4 as Weight))
66 .saturating_add(T::DbWeight::get().writes(4 as Weight))66 .saturating_add(T::DbWeight::get().writes(4 as Weight))
67 }67 }
68 // Storage: Common CollectionById (r:1 w:1)68 // Storage: Common CollectionById (r:1 w:1)
69 // Storage: Common DestroyedCollectionCount (r:1 w:1)69 // Storage: Common DestroyedCollectionCount (r:1 w:1)
70 // Storage: Nonfungible TokensMinted (r:0 w:1)70 // Storage: Nonfungible TokensMinted (r:0 w:1)
71 // Storage: Nonfungible TokensBurnt (r:0 w:1)71 // Storage: Nonfungible TokensBurnt (r:0 w:1)
72 // Storage: Common AdminAmount (r:0 w:1)
72 fn destroy_collection() -> Weight {73 fn destroy_collection() -> Weight {
73 (27_831_000 as Weight)74 (40_303_000 as Weight)
74 .saturating_add(T::DbWeight::get().reads(2 as Weight))75 .saturating_add(T::DbWeight::get().reads(2 as Weight))
75 .saturating_add(T::DbWeight::get().writes(4 as Weight))76 .saturating_add(T::DbWeight::get().writes(5 as Weight))
76 }77 }
77 // Storage: Common CollectionById (r:1 w:0)78 // Storage: Common CollectionById (r:1 w:0)
78 // Storage: Common Allowlist (r:0 w:1)79 // Storage: Common Allowlist (r:0 w:1)
79 fn add_to_allow_list() -> Weight {80 fn add_to_allow_list() -> Weight {
80 (6_629_000 as Weight)81 (15_989_000 as Weight)
81 .saturating_add(T::DbWeight::get().reads(1 as Weight))82 .saturating_add(T::DbWeight::get().reads(1 as Weight))
82 .saturating_add(T::DbWeight::get().writes(1 as Weight))83 .saturating_add(T::DbWeight::get().writes(1 as Weight))
83 }84 }
84 // Storage: Common CollectionById (r:1 w:0)85 // Storage: Common CollectionById (r:1 w:0)
85 // Storage: Common Allowlist (r:0 w:1)86 // Storage: Common Allowlist (r:0 w:1)
86 fn remove_from_allow_list() -> Weight {87 fn remove_from_allow_list() -> Weight {
87 (6_596_000 as Weight)88 (15_582_000 as Weight)
88 .saturating_add(T::DbWeight::get().reads(1 as Weight))89 .saturating_add(T::DbWeight::get().reads(1 as Weight))
89 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 .saturating_add(T::DbWeight::get().writes(1 as Weight))
90 }91 }
91 // Storage: Common CollectionById (r:1 w:1)92 // Storage: Common CollectionById (r:1 w:1)
92 fn set_public_access_mode() -> Weight {93 fn set_public_access_mode() -> Weight {
93 (6_338_000 as Weight)94 (14_846_000 as Weight)
94 .saturating_add(T::DbWeight::get().reads(1 as Weight))95 .saturating_add(T::DbWeight::get().reads(1 as Weight))
95 .saturating_add(T::DbWeight::get().writes(1 as Weight))96 .saturating_add(T::DbWeight::get().writes(1 as Weight))
96 }97 }
97 // Storage: Common CollectionById (r:1 w:1)98 // Storage: Common CollectionById (r:1 w:1)
98 fn set_mint_permission() -> Weight {99 fn set_mint_permission() -> Weight {
99 (6_383_000 as Weight)100 (14_534_000 as Weight)
100 .saturating_add(T::DbWeight::get().reads(1 as Weight))101 .saturating_add(T::DbWeight::get().reads(1 as Weight))
101 .saturating_add(T::DbWeight::get().writes(1 as Weight))102 .saturating_add(T::DbWeight::get().writes(1 as Weight))
102 }103 }
103 // Storage: Common CollectionById (r:1 w:1)104 // Storage: Common CollectionById (r:1 w:1)
104 fn change_collection_owner() -> Weight {105 fn change_collection_owner() -> Weight {
105 (6_493_000 as Weight)106 (14_990_000 as Weight)
106 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))
107 .saturating_add(T::DbWeight::get().writes(1 as Weight))108 .saturating_add(T::DbWeight::get().writes(1 as Weight))
108 }109 }
109 // Storage: Common CollectionById (r:1 w:0)110 // Storage: Common CollectionById (r:1 w:0)
110 // Storage: Common IsAdmin (r:0 w:1)111 // Storage: Common IsAdmin (r:1 w:1)
112 // Storage: Common AdminAmount (r:1 w:1)
111 fn add_collection_admin() -> Weight {113 fn add_collection_admin() -> Weight {
112 (6_850_000 as Weight)114 (19_957_000 as Weight)
113 .saturating_add(T::DbWeight::get().reads(1 as Weight))115 .saturating_add(T::DbWeight::get().reads(3 as Weight))
114 .saturating_add(T::DbWeight::get().writes(1 as Weight))116 .saturating_add(T::DbWeight::get().writes(2 as Weight))
115 }117 }
116 // Storage: Common CollectionById (r:1 w:0)118 // Storage: Common CollectionById (r:1 w:0)
117 // Storage: Common IsAdmin (r:0 w:1)119 // Storage: Common IsAdmin (r:1 w:1)
120 // Storage: Common AdminAmount (r:1 w:1)
118 fn remove_collection_admin() -> Weight {121 fn remove_collection_admin() -> Weight {
119 (6_615_000 as Weight)122 (21_209_000 as Weight)
120 .saturating_add(T::DbWeight::get().reads(1 as Weight))123 .saturating_add(T::DbWeight::get().reads(3 as Weight))
121 .saturating_add(T::DbWeight::get().writes(1 as Weight))124 .saturating_add(T::DbWeight::get().writes(2 as Weight))
122 }125 }
123 // Storage: Common CollectionById (r:1 w:1)126 // Storage: Common CollectionById (r:1 w:1)
124 fn set_collection_sponsor() -> Weight {127 fn set_collection_sponsor() -> Weight {
125 (6_430_000 as Weight)128 (14_963_000 as Weight)
126 .saturating_add(T::DbWeight::get().reads(1 as Weight))129 .saturating_add(T::DbWeight::get().reads(1 as Weight))
127 .saturating_add(T::DbWeight::get().writes(1 as Weight))130 .saturating_add(T::DbWeight::get().writes(1 as Weight))
128 }131 }
129 // Storage: Common CollectionById (r:1 w:1)132 // Storage: Common CollectionById (r:1 w:1)
130 fn confirm_sponsorship() -> Weight {133 fn confirm_sponsorship() -> Weight {
131 (6_125_000 as Weight)134 (14_478_000 as Weight)
132 .saturating_add(T::DbWeight::get().reads(1 as Weight))135 .saturating_add(T::DbWeight::get().reads(1 as Weight))
133 .saturating_add(T::DbWeight::get().writes(1 as Weight))136 .saturating_add(T::DbWeight::get().writes(1 as Weight))
134 }137 }
135 // Storage: Common CollectionById (r:1 w:1)138 // Storage: Common CollectionById (r:1 w:1)
136 fn remove_collection_sponsor() -> Weight {139 fn remove_collection_sponsor() -> Weight {
137 (6_236_000 as Weight)140 (14_393_000 as Weight)
138 .saturating_add(T::DbWeight::get().reads(1 as Weight))141 .saturating_add(T::DbWeight::get().reads(1 as Weight))
139 .saturating_add(T::DbWeight::get().writes(1 as Weight))142 .saturating_add(T::DbWeight::get().writes(1 as Weight))
140 }143 }
141 // Storage: Common CollectionById (r:1 w:1)144 // Storage: Common CollectionById (r:1 w:1)
142 fn set_transfers_enabled_flag() -> Weight {145 fn set_transfers_enabled_flag() -> Weight {
143 (6_500_000 as Weight)146 (7_309_000 as Weight)
144 .saturating_add(T::DbWeight::get().reads(1 as Weight))147 .saturating_add(T::DbWeight::get().reads(1 as Weight))
145 .saturating_add(T::DbWeight::get().writes(1 as Weight))148 .saturating_add(T::DbWeight::get().writes(1 as Weight))
146 }149 }
147 // Storage: Common CollectionById (r:1 w:1)150 // Storage: Common CollectionById (r:1 w:1)
148 fn set_offchain_schema(_b: u32, ) -> Weight {151 fn set_offchain_schema(_b: u32, ) -> Weight {
149 (6_538_000 as Weight)152 (15_220_000 as Weight)
150 .saturating_add(T::DbWeight::get().reads(1 as Weight))153 .saturating_add(T::DbWeight::get().reads(1 as Weight))
151 .saturating_add(T::DbWeight::get().writes(1 as Weight))154 .saturating_add(T::DbWeight::get().writes(1 as Weight))
152 }155 }
153 // Storage: Common CollectionById (r:1 w:1)156 // Storage: Common CollectionById (r:1 w:1)
154 fn set_const_on_chain_schema(_b: u32, ) -> Weight {157 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
155 (6_542_000 as Weight)158 (14_984_000 as Weight)
156 .saturating_add(T::DbWeight::get().reads(1 as Weight))159 .saturating_add(T::DbWeight::get().reads(1 as Weight))
157 .saturating_add(T::DbWeight::get().writes(1 as Weight))160 .saturating_add(T::DbWeight::get().writes(1 as Weight))
158 }161 }
159 // Storage: Common CollectionById (r:1 w:1)162 // Storage: Common CollectionById (r:1 w:1)
160 fn set_variable_on_chain_schema(b: u32, ) -> Weight {163 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
161 (6_092_000 as Weight)164 (15_196_000 as Weight)
162 // Standard Error: 0
163 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
164 .saturating_add(T::DbWeight::get().reads(1 as Weight))165 .saturating_add(T::DbWeight::get().reads(1 as Weight))
165 .saturating_add(T::DbWeight::get().writes(1 as Weight))166 .saturating_add(T::DbWeight::get().writes(1 as Weight))
166 }167 }
167 // Storage: Common CollectionById (r:1 w:1)168 // Storage: Common CollectionById (r:1 w:1)
168 fn set_schema_version() -> Weight {169 fn set_schema_version() -> Weight {
169 (6_470_000 as Weight)170 (14_596_000 as Weight)
170 .saturating_add(T::DbWeight::get().reads(1 as Weight))171 .saturating_add(T::DbWeight::get().reads(1 as Weight))
171 .saturating_add(T::DbWeight::get().writes(1 as Weight))172 .saturating_add(T::DbWeight::get().writes(1 as Weight))
172 }173 }
173 // Storage: Common CollectionById (r:1 w:1)174 // Storage: Common CollectionById (r:1 w:1)
174 fn set_collection_limits() -> Weight {175 fn set_collection_limits() -> Weight {
175 (6_841_000 as Weight)176 (15_339_000 as Weight)
176 .saturating_add(T::DbWeight::get().reads(1 as Weight))177 .saturating_add(T::DbWeight::get().reads(1 as Weight))
177 .saturating_add(T::DbWeight::get().writes(1 as Weight))178 .saturating_add(T::DbWeight::get().writes(1 as Weight))
178 }179 }
179 // Storage: Common CollectionById (r:1 w:1)180 // Storage: Common CollectionById (r:1 w:1)
180 fn set_meta_update_permission_flag() -> Weight {181 fn set_meta_update_permission_flag() -> Weight {
181 (6_278_000 as Weight)182 (7_214_000 as Weight)
182 .saturating_add(T::DbWeight::get().reads(1 as Weight))183 .saturating_add(T::DbWeight::get().reads(1 as Weight))
183 .saturating_add(T::DbWeight::get().writes(1 as Weight))184 .saturating_add(T::DbWeight::get().writes(1 as Weight))
184 }185 }
191 // Storage: System Account (r:2 w:2)192 // Storage: System Account (r:2 w:2)
192 // Storage: Common CollectionById (r:0 w:1)193 // Storage: Common CollectionById (r:0 w:1)
193 fn create_collection() -> Weight {194 fn create_collection() -> Weight {
194 (23_803_000 as Weight)195 (28_929_000 as Weight)
195 .saturating_add(RocksDbWeight::get().reads(4 as Weight))196 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
196 .saturating_add(RocksDbWeight::get().writes(4 as Weight))197 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
197 }198 }
198 // Storage: Common CollectionById (r:1 w:1)199 // Storage: Common CollectionById (r:1 w:1)
199 // Storage: Common DestroyedCollectionCount (r:1 w:1)200 // Storage: Common DestroyedCollectionCount (r:1 w:1)
200 // Storage: Nonfungible TokensMinted (r:0 w:1)201 // Storage: Nonfungible TokensMinted (r:0 w:1)
201 // Storage: Nonfungible TokensBurnt (r:0 w:1)202 // Storage: Nonfungible TokensBurnt (r:0 w:1)
203 // Storage: Common AdminAmount (r:0 w:1)
202 fn destroy_collection() -> Weight {204 fn destroy_collection() -> Weight {
203 (27_831_000 as Weight)205 (40_303_000 as Weight)
204 .saturating_add(RocksDbWeight::get().reads(2 as Weight))206 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
205 .saturating_add(RocksDbWeight::get().writes(4 as Weight))207 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
206 }208 }
207 // Storage: Common CollectionById (r:1 w:0)209 // Storage: Common CollectionById (r:1 w:0)
208 // Storage: Common Allowlist (r:0 w:1)210 // Storage: Common Allowlist (r:0 w:1)
209 fn add_to_allow_list() -> Weight {211 fn add_to_allow_list() -> Weight {
210 (6_629_000 as Weight)212 (15_989_000 as Weight)
211 .saturating_add(RocksDbWeight::get().reads(1 as Weight))213 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
212 .saturating_add(RocksDbWeight::get().writes(1 as Weight))214 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
213 }215 }
214 // Storage: Common CollectionById (r:1 w:0)216 // Storage: Common CollectionById (r:1 w:0)
215 // Storage: Common Allowlist (r:0 w:1)217 // Storage: Common Allowlist (r:0 w:1)
216 fn remove_from_allow_list() -> Weight {218 fn remove_from_allow_list() -> Weight {
217 (6_596_000 as Weight)219 (15_582_000 as Weight)
218 .saturating_add(RocksDbWeight::get().reads(1 as Weight))220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
219 .saturating_add(RocksDbWeight::get().writes(1 as Weight))221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
220 }222 }
221 // Storage: Common CollectionById (r:1 w:1)223 // Storage: Common CollectionById (r:1 w:1)
222 fn set_public_access_mode() -> Weight {224 fn set_public_access_mode() -> Weight {
223 (6_338_000 as Weight)225 (14_846_000 as Weight)
224 .saturating_add(RocksDbWeight::get().reads(1 as Weight))226 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
225 .saturating_add(RocksDbWeight::get().writes(1 as Weight))227 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
226 }228 }
227 // Storage: Common CollectionById (r:1 w:1)229 // Storage: Common CollectionById (r:1 w:1)
228 fn set_mint_permission() -> Weight {230 fn set_mint_permission() -> Weight {
229 (6_383_000 as Weight)231 (14_534_000 as Weight)
230 .saturating_add(RocksDbWeight::get().reads(1 as Weight))232 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
231 .saturating_add(RocksDbWeight::get().writes(1 as Weight))233 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
232 }234 }
233 // Storage: Common CollectionById (r:1 w:1)235 // Storage: Common CollectionById (r:1 w:1)
234 fn change_collection_owner() -> Weight {236 fn change_collection_owner() -> Weight {
235 (6_493_000 as Weight)237 (14_990_000 as Weight)
236 .saturating_add(RocksDbWeight::get().reads(1 as Weight))238 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
237 .saturating_add(RocksDbWeight::get().writes(1 as Weight))239 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
238 }240 }
239 // Storage: Common CollectionById (r:1 w:0)241 // Storage: Common CollectionById (r:1 w:0)
240 // Storage: Common IsAdmin (r:0 w:1)242 // Storage: Common IsAdmin (r:1 w:1)
243 // Storage: Common AdminAmount (r:1 w:1)
241 fn add_collection_admin() -> Weight {244 fn add_collection_admin() -> Weight {
242 (6_850_000 as Weight)245 (19_957_000 as Weight)
243 .saturating_add(RocksDbWeight::get().reads(1 as Weight))246 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
244 .saturating_add(RocksDbWeight::get().writes(1 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
245 }248 }
246 // Storage: Common CollectionById (r:1 w:0)249 // Storage: Common CollectionById (r:1 w:0)
247 // Storage: Common IsAdmin (r:0 w:1)250 // Storage: Common IsAdmin (r:1 w:1)
251 // Storage: Common AdminAmount (r:1 w:1)
248 fn remove_collection_admin() -> Weight {252 fn remove_collection_admin() -> Weight {
249 (6_615_000 as Weight)253 (21_209_000 as Weight)
250 .saturating_add(RocksDbWeight::get().reads(1 as Weight))254 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
251 .saturating_add(RocksDbWeight::get().writes(1 as Weight))255 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
252 }256 }
253 // Storage: Common CollectionById (r:1 w:1)257 // Storage: Common CollectionById (r:1 w:1)
254 fn set_collection_sponsor() -> Weight {258 fn set_collection_sponsor() -> Weight {
255 (6_430_000 as Weight)259 (14_963_000 as Weight)
256 .saturating_add(RocksDbWeight::get().reads(1 as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
257 .saturating_add(RocksDbWeight::get().writes(1 as Weight))261 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
258 }262 }
259 // Storage: Common CollectionById (r:1 w:1)263 // Storage: Common CollectionById (r:1 w:1)
260 fn confirm_sponsorship() -> Weight {264 fn confirm_sponsorship() -> Weight {
261 (6_125_000 as Weight)265 (14_478_000 as Weight)
262 .saturating_add(RocksDbWeight::get().reads(1 as Weight))266 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
263 .saturating_add(RocksDbWeight::get().writes(1 as Weight))267 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
264 }268 }
265 // Storage: Common CollectionById (r:1 w:1)269 // Storage: Common CollectionById (r:1 w:1)
266 fn remove_collection_sponsor() -> Weight {270 fn remove_collection_sponsor() -> Weight {
267 (6_236_000 as Weight)271 (14_393_000 as Weight)
268 .saturating_add(RocksDbWeight::get().reads(1 as Weight))272 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
269 .saturating_add(RocksDbWeight::get().writes(1 as Weight))273 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
270 }274 }
271 // Storage: Common CollectionById (r:1 w:1)275 // Storage: Common CollectionById (r:1 w:1)
272 fn set_transfers_enabled_flag() -> Weight {276 fn set_transfers_enabled_flag() -> Weight {
273 (6_500_000 as Weight)277 (7_309_000 as Weight)
274 .saturating_add(RocksDbWeight::get().reads(1 as Weight))278 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
275 .saturating_add(RocksDbWeight::get().writes(1 as Weight))279 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
276 }280 }
277 // Storage: Common CollectionById (r:1 w:1)281 // Storage: Common CollectionById (r:1 w:1)
278 fn set_offchain_schema(_b: u32, ) -> Weight {282 fn set_offchain_schema(_b: u32, ) -> Weight {
279 (6_538_000 as Weight)283 (15_220_000 as Weight)
280 .saturating_add(RocksDbWeight::get().reads(1 as Weight))284 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
281 .saturating_add(RocksDbWeight::get().writes(1 as Weight))285 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
282 }286 }
283 // Storage: Common CollectionById (r:1 w:1)287 // Storage: Common CollectionById (r:1 w:1)
284 fn set_const_on_chain_schema(_b: u32, ) -> Weight {288 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
285 (6_542_000 as Weight)289 (14_984_000 as Weight)
286 .saturating_add(RocksDbWeight::get().reads(1 as Weight))290 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
287 .saturating_add(RocksDbWeight::get().writes(1 as Weight))291 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
288 }292 }
289 // Storage: Common CollectionById (r:1 w:1)293 // Storage: Common CollectionById (r:1 w:1)
290 fn set_variable_on_chain_schema(b: u32, ) -> Weight {294 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
291 (6_092_000 as Weight)295 (15_196_000 as Weight)
292 // Standard Error: 0
293 .saturating_add((2_000 as Weight).saturating_mul(b as Weight))
294 .saturating_add(RocksDbWeight::get().reads(1 as Weight))296 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
295 .saturating_add(RocksDbWeight::get().writes(1 as Weight))297 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
296 }298 }
297 // Storage: Common CollectionById (r:1 w:1)299 // Storage: Common CollectionById (r:1 w:1)
298 fn set_schema_version() -> Weight {300 fn set_schema_version() -> Weight {
299 (6_470_000 as Weight)301 (14_596_000 as Weight)
300 .saturating_add(RocksDbWeight::get().reads(1 as Weight))302 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
301 .saturating_add(RocksDbWeight::get().writes(1 as Weight))303 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
302 }304 }
303 // Storage: Common CollectionById (r:1 w:1)305 // Storage: Common CollectionById (r:1 w:1)
304 fn set_collection_limits() -> Weight {306 fn set_collection_limits() -> Weight {
305 (6_841_000 as Weight)307 (15_339_000 as Weight)
306 .saturating_add(RocksDbWeight::get().reads(1 as Weight))308 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
307 .saturating_add(RocksDbWeight::get().writes(1 as Weight))309 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
308 }310 }
309 // Storage: Common CollectionById (r:1 w:1)311 // Storage: Common CollectionById (r:1 w:1)
310 fn set_meta_update_permission_flag() -> Weight {312 fn set_meta_update_permission_flag() -> Weight {
311 (6_278_000 as Weight)313 (7_214_000 as Weight)
312 .saturating_add(RocksDbWeight::get().reads(1 as Weight))314 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
313 .saturating_add(RocksDbWeight::get().writes(1 as Weight))315 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
314 }316 }
modifiedprimitives/data-structs/Cargo.tomldiffbeforeafterboth
3authors = ["Unique Network <support@uniquenetwork.io>"]3authors = ["Unique Network <support@uniquenetwork.io>"]
4description = "Unique data structs definitions"4description = "Unique data structs definitions"
5edition = "2021"5edition = "2021"
6license = 'All Rights Reserved'6license = 'GPLv3'
7homepage = "https://unique.network"7homepage = "https://unique.network"
8repository = 'https://github.com/UniqueNetwork/unique-chain'8repository = 'https://github.com/UniqueNetwork/unique-chain'
9version = '0.1.0'9version = '0.1.0'
1010
11[dependencies]11[dependencies]
12scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }12scale-info = { version = "2.0.1", default-features = false, features = [
13 "derive",
14] }
13codec = { package = "parity-scale-codec", version = "2.3.0", default-features = false, features = [15codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
14 'derive',16 'derive',
15] }17] }
16serde = { version = "1.0.130", features = [18serde = { version = "1.0.130", features = [
17 'derive',19 'derive',
18], default-features = false, optional = true }20], default-features = false, optional = true }
19frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }21frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
20frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }22frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
21sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }23sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
22sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }24sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
23sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }25sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
24derivative = "2.2.0"26derivative = "2.2.0"
2527
26[features]28[features]
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedprimitives/data-structs/src/migration.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/// Storage migration is not required for this change, as SponsoringRateLimit has same encoding as Option<u32>17/// Storage migration is not required for this change, as SponsoringRateLimit has same encoding as Option<u32>
2#[test]18#[test]
modifiedprimitives/evm-mapping/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "up-evm-mapping"2name = "up-evm-mapping"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }8sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
8frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }9frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
910
10[features]11[features]
11default = ["std"]12default = ["std"]
modifiedprimitives/evm-mapping/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedprimitives/rpc/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "up-rpc"2name = "up-rpc"
3version = "0.1.0"3version = "0.1.0"
4license = "GPLv3"
4edition = "2021"5edition = "2021"
56
6[dependencies]7[dependencies]
7pallet-common = { default-features = false, path = '../../pallets/common' }8pallet-common = { default-features = false, path = '../../pallets/common' }
8up-data-structs = { default-features = false, path = '../data-structs' }9up-data-structs = { default-features = false, path = '../data-structs' }
9codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = [10codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
10 "derive",11 "derive",
11] }12] }
12sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }13sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
13sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }14sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
14sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }15sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
15sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.17' }16sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.18' }
1617
17[features]18[features]
18default = ["std"]19default = ["std"]
modifiedprimitives/rpc/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
deletedruntime/Cargo.tomldiffbeforeafterboth

no changes

deletedruntime/build.rsdiffbeforeafterboth

no changes

addedruntime/common/Cargo.tomldiffbeforeafterboth

no changes

addedruntime/common/src/constants.rsdiffbeforeafterboth

no changes

addedruntime/common/src/lib.rsdiffbeforeafterboth

no changes

addedruntime/common/src/runtime_apis.rsdiffbeforeafterboth

no changes

addedruntime/common/src/types.rsdiffbeforeafterboth

no changes

addedruntime/opal/Cargo.tomldiffbeforeafterboth

no changes

addedruntime/opal/build.rsdiffbeforeafterboth

no changes

addedruntime/opal/src/lib.rsdiffbeforeafterboth

no changes

addedruntime/quartz/Cargo.tomldiffbeforeafterboth

no changes

addedruntime/quartz/build.rsdiffbeforeafterboth

no changes

addedruntime/quartz/src/lib.rsdiffbeforeafterboth

no changes

deletedruntime/src/lib.rsdiffbeforeafterboth

no changes

addedruntime/unique/Cargo.tomldiffbeforeafterboth

no changes

addedruntime/unique/build.rsdiffbeforeafterboth

no changes

addedruntime/unique/src/lib.rsdiffbeforeafterboth

no changes

modifiedsmart_contracs/transfer/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
2extern crate alloc;18extern crate alloc;
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.178git checkout release-v0.9.18
9```9```
1010
112. Build with nightly-2021-11-11112. Build with nightly-2021-11-11
modifiedtests/flipper-src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// Copyright 2018-2020 Parity Technologies (UK) Ltd.18// Copyright 2018-2020 Parity Technologies (UK) Ltd.
2//19//
3// Licensed under the Apache License, Version 2.0 (the "License");20// Licensed under the Apache License, Version 2.0 (the "License");
modifiedtests/ink-types-node-runtime/examples/calls/.ink/abi_gen/main.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1fn main() -> Result<(), std::io::Error> {17fn main() -> Result<(), std::io::Error> {
2 let abi = <contract::Calls as ink_lang::GenerateAbi>::generate_abi();18 let abi = <contract::Calls as ink_lang::GenerateAbi>::generate_abi();
modifiedtests/ink-types-node-runtime/examples/calls/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedtests/ink-types-node-runtime/src/calls.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// Copyright 2019 Parity Technologies (UK) Ltd.18// Copyright 2019 Parity Technologies (UK) Ltd.
2// This file is part of ink!.19// This file is part of ink!.
3//20//
modifiedtests/ink-types-node-runtime/src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
17// Original license
1// Copyright 2018-2019 Parity Technologies (UK) Ltd.18// Copyright 2018-2019 Parity Technologies (UK) Ltd.
2// This file is part of ink!.19// This file is part of ink!.
3//20//
modifiedtests/loadtester-src/lib.rsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1#![cfg_attr(not(feature = "std"), no_std)]17#![cfg_attr(not(feature = "std"), no_std)]
218
modifiedtests/src/accounts.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6export const bobsPublicKey = '5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty';17export const bobsPublicKey = '5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty';
7export const alicesPublicKey = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY';18export const alicesPublicKey = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY';
modifiedtests/src/addCollectionAdmin.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/addToAllowList.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/addToContractAllowList.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/allowLists.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/approve.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
5import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
6import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/block-production.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import usingApi from './substrate/substrate-api';17import usingApi from './substrate/substrate-api';
7import {expect} from 'chai';18import {expect} from 'chai';
modifiedtests/src/burnItem.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api';17import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from './substrate/substrate-api';
7import {Keyring} from '@polkadot/api';18import {Keyring} from '@polkadot/api';
modifiedtests/src/change-collection-owner.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/check-event/burnItemEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/check-event/createCollectionEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/check-event/createItemEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/check-event/createMultipleItemsEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/check-event/destroyCollectionEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/check-event/transferEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/check-event/transferFromEvent.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/collision-tests/admVsOwnerChanges.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/admVsOwnerData.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/admVsOwnerTake.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/adminDestroyCollection.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/adminLimitsOff.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/adminRightsOff.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/setSponsorNewOwner.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/sponsorPayments.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/tokenLimitsOff.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/collision-tests/turnsOffMinting.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1/* broken by design17/* broken by design
2// substrate transactions are sequential, not parallel18// substrate transactions are sequential, not parallel
modifiedtests/src/config.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import process from 'process';17import process from 'process';
718
modifiedtests/src/config_docker.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import process from 'process';17import process from 'process';
718
modifiedtests/src/confirmSponsorship.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/connection.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import usingApi from './substrate/substrate-api';17import usingApi from './substrate/substrate-api';
7import {WsProvider} from '@polkadot/api';18import {WsProvider} from '@polkadot/api';
modifiedtests/src/contracts.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/createCollection.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {expect} from 'chai';17import {expect} from 'chai';
7import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/createItem.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {default as usingApi} from './substrate/substrate-api';17import {default as usingApi} from './substrate/substrate-api';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/createMultipleItems.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
5import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
6import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/createMultipleItemsEx.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {expect} from 'chai';17import {expect} from 'chai';
2import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/creditFeesToTreasury.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import './interfaces/augment-api-consts';17import './interfaces/augment-api-consts';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/destroyCollection.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/enableContractSponsoring.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/enableDisableTransfer.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/eth/allowlist.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {expect} from 'chai';17import {expect} from 'chai';
2import {contractHelpers, createEthAccountWithBalance, deployFlipper, itWeb3} from './util/helpers';18import {contractHelpers, createEthAccountWithBalance, deployFlipper, itWeb3} from './util/helpers';
modifiedtests/src/eth/base.test.tsdiffbeforeafterboth
11// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
2import {collectionIdToAddress, createEthAccount, createEthAccountWithBalance, deployFlipper, ethBalanceViaSub, GAS_ARGS, itWeb3, recordEthFee} from './util/helpers';17import {collectionIdToAddress, createEthAccount, createEthAccountWithBalance, deployFlipper, ethBalanceViaSub, GAS_ARGS, itWeb3, recordEthFee} from './util/helpers';
3import {expect} from 'chai';18import {expect} from 'chai';
3954
40 const fee = Number(cost) / Number(UNIQUE);55 const fee = Number(cost) / Number(UNIQUE);
41 const expectedFee = 0.15;56 const expectedFee = 0.15;
42 const tolerance = 0.00001;57 const tolerance = 0.00002;
4358
44 expect(Math.abs(fee - expectedFee)).to.be.lessThan(tolerance);59 expect(Math.abs(fee - expectedFee)).to.be.lessThan(tolerance);
45 });60 });
modifiedtests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from '../substrate/privateKey';17import privateKey from '../substrate/privateKey';
7import {expect} from 'chai';18import {expect} from 'chai';
modifiedtests/src/eth/crossTransfer.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from '../substrate/privateKey';17import privateKey from '../substrate/privateKey';
7import {createCollectionExpectSuccess,18import {createCollectionExpectSuccess,
modifiedtests/src/eth/fungible.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from '../substrate/privateKey';17import privateKey from '../substrate/privateKey';
7import {approveExpectSuccess, createCollectionExpectSuccess, createFungibleItemExpectSuccess, transferExpectSuccess, transferFromExpectSuccess, UNIQUE} from '../util/helpers';18import {approveExpectSuccess, createCollectionExpectSuccess, createFungibleItemExpectSuccess, transferExpectSuccess, transferFromExpectSuccess, UNIQUE} from '../util/helpers';
modifiedtests/src/eth/helpersSmoke.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {expect} from 'chai';17import {expect} from 'chai';
2import {createEthAccountWithBalance, deployFlipper, itWeb3, contractHelpers} from './util/helpers';18import {createEthAccountWithBalance, deployFlipper, itWeb3, contractHelpers} from './util/helpers';
modifiedtests/src/eth/marketplace/marketplace.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {readFile} from 'fs/promises';17import {readFile} from 'fs/promises';
2import {getBalanceSingle, transferBalanceExpectSuccess} from '../../substrate/get-balance';18import {getBalanceSingle, transferBalanceExpectSuccess} from '../../substrate/get-balance';
modifiedtests/src/eth/metadata.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {expect} from 'chai';17import {expect} from 'chai';
7import {createCollectionExpectSuccess} from '../util/helpers';18import {createCollectionExpectSuccess} from '../util/helpers';
modifiedtests/src/eth/migration.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {expect} from 'chai';17import {expect} from 'chai';
2import privateKey from '../substrate/privateKey';18import privateKey from '../substrate/privateKey';
modifiedtests/src/eth/nonFungible.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from '../substrate/privateKey';17import privateKey from '../substrate/privateKey';
7import {approveExpectSuccess, burnItemExpectSuccess, createCollectionExpectSuccess, createItemExpectSuccess, setVariableMetaDataExpectSuccess, transferExpectSuccess, transferFromExpectSuccess, UNIQUE, setMetadataUpdatePermissionFlagExpectSuccess} from '../util/helpers';18import {approveExpectSuccess, burnItemExpectSuccess, createCollectionExpectSuccess, createItemExpectSuccess, setVariableMetaDataExpectSuccess, transferExpectSuccess, transferFromExpectSuccess, UNIQUE, setMetadataUpdatePermissionFlagExpectSuccess} from '../util/helpers';
modifiedtests/src/eth/payable.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {expect} from 'chai';17import {expect} from 'chai';
2import privateKey from '../substrate/privateKey';18import privateKey from '../substrate/privateKey';
modifiedtests/src/eth/proxy/fungibleProxy.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from '../../substrate/privateKey';17import privateKey from '../../substrate/privateKey';
7import {createCollectionExpectSuccess, createFungibleItemExpectSuccess} from '../../util/helpers';18import {createCollectionExpectSuccess, createFungibleItemExpectSuccess} from '../../util/helpers';
modifiedtests/src/eth/proxy/nonFungibleProxy.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from '../../substrate/privateKey';17import privateKey from '../../substrate/privateKey';
7import {createCollectionExpectSuccess, createItemExpectSuccess, setVariableMetaDataExpectSuccess, setMetadataUpdatePermissionFlagExpectSuccess} from '../../util/helpers';18import {createCollectionExpectSuccess, createItemExpectSuccess, setVariableMetaDataExpectSuccess, setMetadataUpdatePermissionFlagExpectSuccess} from '../../util/helpers';
modifiedtests/src/eth/sponsoring.test.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import {expect} from 'chai';17import {expect} from 'chai';
2import privateKey from '../substrate/privateKey';18import privateKey from '../substrate/privateKey';
modifiedtests/src/eth/util/helpers.d.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1declare module 'solc';17declare module 'solc';
modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// eslint-disable-next-line @typescript-eslint/triple-slash-reference17// eslint-disable-next-line @typescript-eslint/triple-slash-reference
7/// <reference path="helpers.d.ts" />18/// <reference path="helpers.d.ts" />
modifiedtests/src/inflation.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/interfaces/definitions.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1export {default as unique} from './unique/definitions';17export {default as unique} from './unique/definitions';
218
modifiedtests/src/interfaces/unique/definitions.tsdiffbeforeafterboth
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is part of Unique Network.
3
4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
1import types from '../lookup';17import types from '../lookup';
218
modifiedtests/src/limits.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/metadataUpdate.test.tsdiffbeforeafterboth
11// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2//2// This file is part of Unique Network.
3// This file is subject to the terms and conditions defined in3
4// file 'LICENSE', which is part of this source code package.4// Unique Network is free software: you can redistribute it and/or modify
5//5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
616
7import chai from 'chai';17import chai from 'chai';
8import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/mintModes.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/overflow.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
7import {expect} from 'chai';18import {expect} from 'chai';
modifiedtests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/removeCollectionSponsor.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/removeFromAllowList.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/removeFromContractAllowList.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import privateKey from './substrate/privateKey';17import privateKey from './substrate/privateKey';
7import usingApi from './substrate/substrate-api';18import usingApi from './substrate/substrate-api';
modifiedtests/src/rpc.load.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import usingApi, {submitTransactionAsync} from './substrate/substrate-api';17import usingApi, {submitTransactionAsync} from './substrate/substrate-api';
7import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/scheduler.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/setChainLimits.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/setCollectionLimits.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setchainlimits
7import {ApiPromise, Keyring} from '@polkadot/api';18import {ApiPromise, Keyring} from '@polkadot/api';
modifiedtests/src/setCollectionSponsor.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/setConstOnChainSchema.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {Keyring} from '@polkadot/api';17import {Keyring} from '@polkadot/api';
7import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/setContractSponsoringRateLimit.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/setMintPermission.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import privateKey from './substrate/privateKey';18import privateKey from './substrate/privateKey';
modifiedtests/src/setOffchainSchema.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/setPublicAccessMode.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setschemaversion17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setschemaversion
7import {ApiPromise} from '@polkadot/api';18import {ApiPromise} from '@polkadot/api';
modifiedtests/src/setSchemaVersion.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6// https://unique-network.readthedocs.io/en/latest/jsapi.html#setschemaversion17// https://unique-network.readthedocs.io/en/latest/jsapi.html#setschemaversion
7import {ApiPromise, Keyring} from '@polkadot/api';18import {ApiPromise, Keyring} from '@polkadot/api';
modifiedtests/src/setVariableMetaData.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import chai from 'chai';18import chai from 'chai';
modifiedtests/src/setVariableMetadataSponsoringRateLimit.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
7import {expect} from 'chai';18import {expect} from 'chai';
modifiedtests/src/setVariableOnChainSchema.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {Keyring} from '@polkadot/api';17import {Keyring} from '@polkadot/api';
7import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/substrate/get-balance.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
7import {AccountInfo} from '@polkadot/types/interfaces/system';18import {AccountInfo} from '@polkadot/types/interfaces/system';
modifiedtests/src/substrate/privateKey.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {Keyring} from '@polkadot/api';17import {Keyring} from '@polkadot/api';
7import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/substrate/promisify-substrate.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
718
modifiedtests/src/substrate/substrate-api.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import '../interfaces/augment-api-events';17import '../interfaces/augment-api-events';
7import {WsProvider, ApiPromise} from '@polkadot/api';18import {WsProvider, ApiPromise} from '@polkadot/api';
modifiedtests/src/substrate/wait-new-blocks.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
718
modifiedtests/src/toggleContractAllowList.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/transfer.nload.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
7import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/transfer.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
7import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
325 expect(balanceAliceBefore).to.be.eq(balanceAliceAfter);336 expect(balanceAliceBefore).to.be.eq(balanceAliceAfter);
326 });337 });
327338
328 itWeb3.only('Transfers to self. In case of inside substrate-evm', async ({api}) => {339 itWeb3('Transfers to self. In case of inside substrate-evm', async ({api}) => {
329 const collectionId = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});340 const collectionId = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
330 const alice = privateKey('//Alice');341 const alice = privateKey('//Alice');
331 const tokenId = await createItemExpectSuccess(alice, collectionId, 'Fungible', {Substrate: alice.address});342 const tokenId = await createItemExpectSuccess(alice, collectionId, 'Fungible', {Substrate: alice.address});
modifiedtests/src/transferFrom.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
16
5import {ApiPromise} from '@polkadot/api';17import {ApiPromise} from '@polkadot/api';
6import {IKeyringPair} from '@polkadot/types/types';18import {IKeyringPair} from '@polkadot/types/types';
modifiedtests/src/util/contracthelpers.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';
modifiedtests/src/util/helpers.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import '../interfaces/augment-api-rpc';17import '../interfaces/augment-api-rpc';
7import '../interfaces/augment-api-query';18import '../interfaces/augment-api-query';
752 type = 'NFT',764 type = 'NFT',
753) {765) {
754 await usingApi(async (api: ApiPromise) => {766 await usingApi(async (api: ApiPromise) => {
767 const from = normalizeAccountId(accountFrom);
755 const to = normalizeAccountId(accountTo);768 const to = normalizeAccountId(accountTo);
756 let balanceBefore = 0n;769 let balanceBefore = 0n;
757 if (type === 'Fungible') {770 if (type === 'Fungible') {
767 }780 }
768 if (type === 'Fungible') {781 if (type === 'Fungible') {
769 const balanceAfter = await getBalance(api, collectionId, to, tokenId);782 const balanceAfter = await getBalance(api, collectionId, to, tokenId);
783 if (JSON.stringify(to) !== JSON.stringify(from)) {
770 expect(balanceAfter - balanceBefore).to.be.equal(BigInt(value));784 expect(balanceAfter - balanceBefore).to.be.equal(BigInt(value));
785 } else {
786 expect(balanceAfter).to.be.equal(balanceBefore);
787 }
771 }788 }
772 if (type === 'ReFungible') {789 if (type === 'ReFungible') {
773 expect(await getBalance(api, collectionId, to, tokenId)).to.be.equal(BigInt(value));790 expect(await getBalance(api, collectionId, to, tokenId)).to.be.equal(BigInt(value));
866 type = 'NFT',883 type = 'NFT',
867) {884) {
868 await usingApi(async (api: ApiPromise) => {885 await usingApi(async (api: ApiPromise) => {
886 const from = normalizeAccountId(sender);
869 const to = normalizeAccountId(recipient);887 const to = normalizeAccountId(recipient);
870888
871 let balanceBefore = 0n;889 let balanceBefore = 0n;
887 }905 }
888 if (type === 'Fungible') {906 if (type === 'Fungible') {
889 const balanceAfter = await getBalance(api, collectionId, to, tokenId);907 const balanceAfter = await getBalance(api, collectionId, to, tokenId);
908 if (JSON.stringify(to) !== JSON.stringify(from)) {
890 expect(balanceAfter - balanceBefore).to.be.equal(BigInt(value));909 expect(balanceAfter - balanceBefore).to.be.equal(BigInt(value));
910 } else {
911 expect(balanceAfter).to.be.equal(balanceBefore);
912 }
891 }913 }
892 if (type === 'ReFungible') {914 if (type === 'ReFungible') {
893 expect(await getBalance(api, collectionId, to, tokenId) >= value).to.be.true;915 expect(await getBalance(api, collectionId, to, tokenId) >= value).to.be.true;
modifiedtests/src/util/util.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6export function strToUTF16(str: string): any {17export function strToUTF16(str: string): any {
7 const buf: number[] = [];18 const buf: number[] = [];
modifiedtests/src/xcmTransfer.test.tsdiffbeforeafterboth
1//1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
2// This file is subject to the terms and conditions defined in2// This file is part of Unique Network.
3// file 'LICENSE', which is part of this source code package.3
4//4// Unique Network is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Unique Network is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
516
6import chai from 'chai';17import chai from 'chai';
7import chaiAsPromised from 'chai-as-promised';18import chaiAsPromised from 'chai-as-promised';