From eb77a467ce9ccedcc55112a0eab92be2653fd4f8 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 27 Jan 2023 18:06:28 +0000 Subject: [PATCH] refactor: use workspace deps --- --- a/Cargo.lock +++ b/Cargo.lock @@ -2398,26 +2398,12 @@ [[package]] name = "ethbloom" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11da94e443c60508eb62cf256243a64da87304c2802ac2528847f79d750007ef" -dependencies = [ - "crunchy", - "fixed-hash 0.7.0", - "impl-codec", - "impl-rlp", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethbloom" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" dependencies = [ "crunchy", - "fixed-hash 0.8.0", + "fixed-hash", "impl-codec", "impl-rlp", "impl-serde", @@ -2427,28 +2413,12 @@ [[package]] name = "ethereum" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef" -dependencies = [ - "bytes", - "ethereum-types 0.13.1", - "hash-db", - "hash256-std-hasher", - "rlp", - "rlp-derive", - "sha3 0.10.6", - "triehash", -] - -[[package]] -name = "ethereum" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a89fb87a9e103f71b903b80b670200b54cc67a07578f070681f1fffb7396fb7" dependencies = [ "bytes", - "ethereum-types 0.14.1", + "ethereum-types", "hash-db", "hash256-std-hasher", "parity-scale-codec", @@ -2457,21 +2427,6 @@ "serde", "sha3 0.10.6", "triehash", -] - -[[package]] -name = "ethereum-types" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2827b94c556145446fcce834ca86b7abf0c39a805883fe20e72c5bfdb5a0dc6" -dependencies = [ - "ethbloom 0.12.1", - "fixed-hash 0.7.0", - "impl-codec", - "impl-rlp", - "primitive-types 0.11.1", - "scale-info", - "uint", ] [[package]] @@ -2480,12 +2435,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" dependencies = [ - "ethbloom 0.13.0", - "fixed-hash 0.8.0", + "ethbloom", + "fixed-hash", "impl-codec", "impl-rlp", "impl-serde", - "primitive-types 0.12.1", + "primitive-types", "scale-info", "uint", ] @@ -2504,13 +2459,13 @@ dependencies = [ "auto_impl", "environmental", - "ethereum 0.14.0", + "ethereum", "evm-core", "evm-gasometer", "evm-runtime", "log", "parity-scale-codec", - "primitive-types 0.12.1", + "primitive-types", "rlp", "scale-info", "serde", @@ -2521,14 +2476,14 @@ name = "evm-coder" version = "0.1.6" dependencies = [ - "ethereum 0.14.0", + "ethereum", "evm-coder-procedural", "evm-core", "frame-support", "hex", "hex-literal", "impl-trait-for-tuples", - "primitive-types 0.12.1", + "primitive-types", "sha3-const", "similar-asserts", "trybuild", @@ -2553,7 +2508,7 @@ checksum = "64c51bec0eb68a891c2575c758eaaa1d61373fc51f7caaf216b1fb5c3fea3b5d" dependencies = [ "parity-scale-codec", - "primitive-types 0.12.1", + "primitive-types", "scale-info", "serde", ] @@ -2567,7 +2522,7 @@ "environmental", "evm-core", "evm-runtime", - "primitive-types 0.12.1", + "primitive-types", ] [[package]] @@ -2579,7 +2534,7 @@ "auto_impl", "environmental", "evm-core", - "primitive-types 0.12.1", + "primitive-types", "sha3 0.10.6", ] @@ -2723,8 +2678,8 @@ version = "2.0.0-dev" source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.37#02eff174cf5235971da686e5ed09f34f59a93ed3" dependencies = [ - "ethereum 0.14.0", - "ethereum-types 0.14.1", + "ethereum", + "ethereum-types", "evm", "fc-db", "fc-rpc-core", @@ -2765,8 +2720,8 @@ version = "1.1.0-dev" source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.37#02eff174cf5235971da686e5ed09f34f59a93ed3" dependencies = [ - "ethereum 0.14.0", - "ethereum-types 0.14.1", + "ethereum", + "ethereum-types", "jsonrpsee", "rustc-hex", "serde", @@ -2838,17 +2793,6 @@ [[package]] name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "fixed-hash" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" @@ -2913,7 +2857,7 @@ version = "2.0.0-dev" source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.37#02eff174cf5235971da686e5ed09f34f59a93ed3" dependencies = [ - "ethereum 0.14.0", + "ethereum", "parity-scale-codec", "sp-core", "sp-runtime", @@ -2925,8 +2869,8 @@ version = "1.0.0-dev" source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.37#02eff174cf5235971da686e5ed09f34f59a93ed3" dependencies = [ - "ethereum 0.14.0", - "ethereum-types 0.14.1", + "ethereum", + "ethereum-types", "fp-evm", "frame-support", "num_enum", @@ -2962,8 +2906,8 @@ version = "3.0.0-dev" source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.37#02eff174cf5235971da686e5ed09f34f59a93ed3" dependencies = [ - "ethereum 0.14.0", - "ethereum-types 0.14.1", + "ethereum", + "ethereum-types", "fp-evm", "parity-scale-codec", "scale-info", @@ -6123,7 +6067,7 @@ name = "pallet-common" version = "0.1.13" dependencies = [ - "ethereum 0.14.0", + "ethereum", "evm-coder", "frame-benchmarking", "frame-support", @@ -6250,8 +6194,8 @@ version = "4.0.0-dev" source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.37#02eff174cf5235971da686e5ed09f34f59a93ed3" dependencies = [ - "ethereum 0.14.0", - "ethereum-types 0.14.1", + "ethereum", + "ethereum-types", "evm", "fp-consensus", "fp-ethereum", @@ -6337,7 +6281,7 @@ name = "pallet-evm-migration" version = "0.1.1" dependencies = [ - "ethereum 0.14.0", + "ethereum", "frame-benchmarking", "frame-support", "frame-system", @@ -7176,7 +7120,7 @@ name = "pallet-unique" version = "0.2.1" dependencies = [ - "ethereum 0.12.0", + "ethereum", "evm-coder", "frame-benchmarking", "frame-support", @@ -7188,7 +7132,6 @@ "pallet-refungible", "parity-scale-codec", "scale-info", - "serde", "sp-core", "sp-io", "sp-runtime", @@ -8827,19 +8770,6 @@ dependencies = [ "proc-macro2", "syn", -] - -[[package]] -name = "primitive-types" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" -dependencies = [ - "fixed-hash 0.7.0", - "impl-codec", - "impl-rlp", - "scale-info", - "uint", ] [[package]] @@ -8848,7 +8778,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" dependencies = [ - "fixed-hash 0.8.0", + "fixed-hash", "impl-codec", "impl-rlp", "impl-serde", @@ -9498,7 +9428,6 @@ dependencies = [ "parity-scale-codec", "rmrk-traits", - "serde", "sp-api", "sp-runtime", "sp-std", @@ -11621,7 +11550,7 @@ "merlin", "parity-scale-codec", "parking_lot 0.12.1", - "primitive-types 0.12.1", + "primitive-types", "rand 0.8.5", "regex", "scale-info", @@ -11883,7 +11812,7 @@ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "primitive-types 0.12.1", + "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -13382,6 +13311,7 @@ "precompile-utils-macro", "rmrk-rpc", "scale-info", + "serde", "smallvec", "sp-api", "sp-arithmetic", --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,177 @@ panic = 'unwind' [workspace.dependencies] +# Unique +evm-coder = { default-features = false, path = "crates/evm-coder" } +struct-versioning = { path = "crates/struct-versioning" } +precompile-utils-macro = { path = "runtime/common/ethereum/precompiles/utils/macro" } +up-common = { path = "primitives/common", default-features = false } +up-data-structs = { path = "primitives/data-structs", default-features = false } +up-pov-estimate-rpc = { path = "primitives/pov-estimate-rpc", default-features = false } +up-rpc = { path = "primitives/rpc", default-features = false } +up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +uc-rpc = { path = "client/rpc" } +unique-rpc = { path = "node/rpc" } +pallet-charge-transaction = { package = "pallet-template-transaction-payment", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +pallet-collator-selection = { default-features = false, path = "pallets/collator-selection" } +pallet-common = { default-features = false, path = "pallets/common" } +pallet-configuration = { default-features = false, path = "pallets/configuration" } +pallet-evm-coder-substrate = { default-features = false, path = "pallets/evm-coder-substrate" } +pallet-evm-contract-helpers = { path = "pallets/evm-contract-helpers", default-features = false } +pallet-evm-migration = { path = "pallets/evm-migration", default-features = false } +pallet-evm-transaction-payment = { path = "pallets/evm-transaction-payment", default-features = false } +pallet-foreign-assets = { default-features = false, path = "pallets/foreign-assets" } +pallet-fungible = { default-features = false, path = "pallets/fungible" } +pallet-identity = { default-features = false, path = "pallets/identity" } +pallet-inflation = { path = "pallets/inflation", default-features = false } +pallet-maintenance = { default-features = false, path = "pallets/maintenance" } +pallet-nonfungible = { default-features = false, path = "pallets/nonfungible" } +pallet-proxy-rmrk-core = { default-features = false, path = "pallets/proxy-rmrk-core", package = "pallet-rmrk-core" } +pallet-proxy-rmrk-equip = { default-features = false, path = "pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" } +rmrk-traits = { default-features = false, path = "primitives/rmrk-traits" } +pallet-refungible = { default-features = false, path = "pallets/refungible" } +pallet-structure = { default-features = false, path = "pallets/structure" } +pallet-unique = { path = "pallets/unique", default-features = false } +pallet-unique-scheduler-v2 = { path = "pallets/scheduler-v2", default-features = false } +pallet-test-utils = { default-features = false, path = "test-pallets/utils" } +pallet-app-promotion = { path = "pallets/app-promotion", default-features = false } +app-promotion-rpc = { path = "primitives/app_promotion_rpc", default-features = false } +rmrk-rpc = { path = "primitives/rmrk-rpc", default-features = false } + +# Unique: Runtimes +unique-runtime = { path = "runtime/unique" } +quartz-runtime = { path = "runtime/quartz" } +opal-runtime = { path = "runtime/opal" } + +# Frontier (Unique patches over the Parity version) +fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fc-db = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fc-consensus = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fc-mapping-sync = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } + +# Parity +codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.2.2" } +scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } +frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-treasury = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +parachain-info = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-version = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-staking = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } + +# Parity: Build utils +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } + +# Parity: Benchmarking +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } + +# Parity: Try Runtime +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } + +# ORML orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } + +# Other +smallvec = "1.6.1" +derivative = { version = "2.2.0", features = ["use_core"] } +serde = { default-features = false, features = ['derive'], version = "1.0.136" } +log = { version = "0.4.16", default-features = false } +num_enum = { version = "0.5.3", default-features = false } +hex-literal = "0.3.4" +impl-trait-for-tuples = "0.2.2" +logtest = "2.0.0" +ethereum = { version = "0.14.0", default-features = false } +evm-core = { default-features = false, version = "0.37.0" } +primitive-types = { version = "0.12.1", default-features = false } +jsonrpsee = { version = "0.16.2", features = ["macros", "server"] } --- a/client/rpc/Cargo.toml +++ b/client/rpc/Cargo.toml @@ -6,37 +6,40 @@ [dependencies] anyhow = "1.0.57" -app-promotion-rpc.path = "../../primitives/app_promotion_rpc" -codec = { package = "parity-scale-codec", version = "3.1.2" } jsonrpsee = { version = "0.16.2", features = ["macros", "server"] } -rmrk-rpc.path = "../../primitives/rmrk-rpc" trie-db = { version = "0.24.0", default-features = false } -up-common = { default-features = false, path = "../../primitives/common" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } -up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", optional = true } -up-rpc.path = "../../primitives/rpc" zstd = { version = "0.11.2", default-features = false } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keystore = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +app-promotion-rpc = { workspace = true } +rmrk-rpc = { workspace = true } +up-common = { workspace = true } +up-data-structs = { workspace = true } +up-pov-estimate-rpc = { workspace = true, optional = true } +up-rpc = { workspace = true } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-evm = { workspace = true } +sc-client-api = { workspace = true } +sc-rpc-api = { default-features = false, workspace = true } +sc-service = { workspace = true } +sp-api = { default-features = false, workspace = true } +sp-blockchain = { default-features = false, workspace = true } +sp-core = { default-features = false, workspace = true } +sp-externalities = { workspace = true } +sp-keystore = { default-features = false, workspace = true } +sp-runtime = { default-features = false, workspace = true } +sp-state-machine = { workspace = true } +sp-trie = { default-features = false, workspace = true } + +frame-benchmarking = { workspace = true } + +sc-executor = { workspace = true } -opal-runtime.path = "../../runtime/opal" -quartz-runtime = { path = "../../runtime/quartz", optional = true } -unique-runtime = { path = "../../runtime/unique", optional = true } +opal-runtime = { workspace = true } +quartz-runtime = { workspace = true, optional = true } +unique-runtime = { workspace = true, optional = true } [features] pov-estimate = [ --- a/crates/evm-coder/Cargo.toml +++ b/crates/evm-coder/Cargo.toml @@ -7,21 +7,21 @@ [dependencies] sha3-const = { version = "0.1.1", default-features = false } # evm-coder reexports those proc-macro -evm-coder-procedural.path = "./procedural" +evm-coder-procedural = { path = "./procedural" } # Evm uses primitive-types for H160, H256 and others -primitive-types = { version = "0.12.1", default-features = false } +primitive-types = { workspace = true } # Evm doesn't have reexports for log and others -ethereum = { version = "0.14.0", default-features = false } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +ethereum = { workspace = true } +frame-support = { workspace = true } # Error types for execution -evm-core = { default-features = false, version = "0.37.0" } +evm-core = { workspace = true } # We have tuple-heavy code in solidity.rs -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } [dev-dependencies] # We want to assert some large binary blobs equality in tests hex = "0.4.3" -hex-literal = "0.3.4" +hex-literal = { workspace = true } similar-asserts = "1.4.2" trybuild = "1.0" --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -1,6 +1,3 @@ -[build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } - ################################################################################ # Package @@ -24,75 +21,82 @@ [dependencies] clap = "4.1" -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.2" } -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } futures = '0.3.17' -log = '0.4.17' -opal-runtime = { path = "../../runtime/opal", optional = true } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } -quartz-runtime = { path = "../../runtime/quartz", optional = true } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -serde = { features = ['derive'], version = "1.0" } +tokio = { version = "1.24", features = ["time"] } serde_json = "1.0" -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -tokio = { version = "1.24", features = ["time"] } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -unique-runtime = { path = "../../runtime/unique", optional = true } -up-common.path = "../../primitives/common" -up-data-structs = { path = "../../primitives/data-structs", default-features = false } -fc-consensus = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fc-db = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fc-mapping-sync = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fc-rpc = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fc-rpc-core = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-rpc = { git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +log = { workspace = true } + +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +cumulus-client-cli = { workspace = true } +cumulus-client-consensus-aura = { workspace = true } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-network = { workspace = true } +cumulus-client-service = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-relay-chain-inprocess-interface = { workspace = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-relay-chain-minimal-node = { workspace = true } +frame-benchmarking = { workspace = true } +frame-benchmarking-cli = { workspace = true } +opal-runtime = { workspace = true, optional = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +polkadot-cli = { workspace = true } +polkadot-primitives = { workspace = true } +polkadot-service = { workspace = true } +quartz-runtime = { workspace = true, optional = true } +sc-basic-authorship = { workspace = true } +sc-chain-spec = { workspace = true } +sc-cli = { workspace = true } +sc-client-api = { workspace = true } +sc-consensus = { workspace = true } +sc-consensus-manual-seal = { workspace = true } +sc-executor = { workspace = true } +sc-network = { workspace = true } +sc-service = { workspace = true } +sc-sysinfo = { workspace = true } +sc-telemetry = { workspace = true } +sc-tracing = { workspace = true } +sc-transaction-pool = { workspace = true } +serde = { workspace = true } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-blockchain = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-keystore = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-timestamp = { workspace = true } +sp-transaction-pool = { workspace = true } +substrate-frame-rpc-system = { workspace = true } +substrate-prometheus-endpoint = { workspace = true } +try-runtime-cli = { workspace = true } +unique-runtime = { workspace = true, optional = true } +up-common = { workspace = true } +up-data-structs = { workspace = true } + +fc-consensus = { workspace = true } +fc-db = { workspace = true } +fc-mapping-sync = { workspace = true } +fc-rpc = { workspace = true } +fc-rpc-core = { workspace = true } +fp-rpc = { workspace = true } + +app-promotion-rpc = { workspace = true } +rmrk-rpc = { workspace = true } +uc-rpc = { workspace = true } +unique-rpc = { workspace = true } +up-pov-estimate-rpc = { workspace = true } +up-rpc = { workspace = true } -app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false } -rmrk-rpc.path = "../../primitives/rmrk-rpc" -uc-rpc = { default-features = false, path = "../../client/rpc" } -unique-rpc = { default-features = false, path = "../rpc" } -up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false } -up-rpc.path = "../../primitives/rpc" +[build-dependencies] +substrate-build-script-utils = { workspace = true } [features] default = ["opal-runtime"] --- a/node/rpc/Cargo.toml +++ b/node/rpc/Cargo.toml @@ -10,36 +10,36 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] -jsonrpsee = { version = "0.16.2", features = ["macros", "server"] } +jsonrpsee = { workspace = true } # pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'master' } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-transaction-payment-rpc = { workspace = true } +sc-client-api = { workspace = true } +sc-finality-grandpa = { workspace = true } +sc-network = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-api = { workspace = true } +sc-service = { workspace = true } +sc-transaction-pool = { workspace = true } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-blockchain = { workspace = true } +sp-runtime = { workspace = true } +substrate-frame-rpc-system = { workspace = true } -fc-db = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +fc-db = { workspace = true } +fc-rpc = { workspace = true } +fc-rpc-core = { workspace = true } +fp-rpc = { workspace = true } +fp-storage = { workspace = true } -app-promotion-rpc.path = "../../primitives/app_promotion_rpc" -rmrk-rpc.path = "../../primitives/rmrk-rpc" -serde = { features = ['derive'], version = "1.0.130" } -uc-rpc.path = "../../client/rpc" -up-common.path = "../../primitives/common" -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } -up-pov-estimate-rpc.path = "../../primitives/pov-estimate-rpc" -up-rpc.path = "../../primitives/rpc" +app-promotion-rpc = { workspace = true } +rmrk-rpc = { workspace = true } +serde = { workspace = true } +uc-rpc = { workspace = true } +up-common = { workspace = true } +up-data-structs = { workspace = true } +up-pov-estimate-rpc = { workspace = true, default-features = true } +up-rpc = { workspace = true } [features] default = [] --- a/pallets/app-promotion/Cargo.toml +++ b/pallets/app-promotion/Cargo.toml @@ -40,27 +40,29 @@ ################################################################################ # Substrate Dependencies -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-balances = { workspace = true } +pallet-evm = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } ################################################################################ # local dependencies -pallet-common = { default-features = false, path = "../common" } -pallet-configuration = { default-features = false, path = "../configuration" } -pallet-evm-contract-helpers = { default-features = false, path = "../evm-contract-helpers" } -pallet-evm-migration = { default-features = false, path = "../evm-migration" } -pallet-unique = { default-features = false, path = "../unique" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +pallet-common = { workspace = true } +pallet-configuration = { workspace = true } +pallet-evm-contract-helpers = { workspace = true } +pallet-evm-migration = { workspace = true } +pallet-unique = { workspace = true } +up-data-structs = { workspace = true } # [dev-dependencies] --- a/pallets/collator-selection/Cargo.toml +++ b/pallets/collator-selection/Cargo.toml @@ -12,32 +12,34 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.0.0" } -log = { version = "0.4.17", default-features = false } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +log = { workspace = true } rand = { version = "0.8.5", features = ["std_rng"], default-features = false } -scale-info = { version = "2.2.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.145", default-features = false } +scale-info = { workspace = true } +serde = { workspace = true } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-configuration = { default-features = false, path = "../configuration" } -pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-staking = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-authorship = { workspace = true } +pallet-configuration = { workspace = true } +pallet-session = { workspace = true } +sp-runtime = { workspace = true } +sp-staking = { workspace = true } +sp-std = { workspace = true } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-aura = { workspace = true } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-tracing = { workspace = true } [features] default = ["std"] --- a/pallets/common/Cargo.toml +++ b/pallets/common/Cargo.toml @@ -5,21 +5,23 @@ version = "0.1.13" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -ethereum = { version = "0.14.0", default-features = false } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } -up-pov-estimate-rpc = { default-features = false, path = "../../primitives/pov-estimate-rpc" } +ethereum = { workspace = true } +evm-coder = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } +up-pov-estimate-rpc = { workspace = true } [features] default = ["std"] --- a/pallets/configuration/Cargo.toml +++ b/pallets/configuration/Cargo.toml @@ -4,17 +4,19 @@ version = "0.1.3" [dependencies] -fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -parity-scale-codec = { version = "3.2.2", features = ["derive"], default-features = false } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -smallvec = "1.6.1" -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -xcm = { default-features = false, git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37" } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +fp-evm = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true } +smallvec = { workspace = true } +sp-arithmetic = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } +xcm = { workspace = true } [features] default = ["std"] @@ -24,7 +26,7 @@ "frame-benchmarking/std", "frame-support/std", "frame-system/std", - "parity-scale-codec/std", + "codec/std", "sp-arithmetic/std", "sp-core/std", "sp-std/std", --- a/pallets/configuration/src/lib.rs +++ b/pallets/configuration/src/lib.rs @@ -23,7 +23,7 @@ weights::{WeightToFeePolynomial, WeightToFeeCoefficients, WeightToFeeCoefficient, Weight}, traits::Get, }; -use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; +use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use sp_arithmetic::{ per_things::{Perbill, PerThing}, --- a/pallets/evm-coder-substrate/Cargo.toml +++ b/pallets/evm-coder-substrate/Cargo.toml @@ -5,17 +5,19 @@ version = "0.1.3" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.2.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +evm-coder = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-evm = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] --- a/pallets/evm-contract-helpers/Cargo.toml +++ b/pallets/evm-contract-helpers/Cargo.toml @@ -5,25 +5,27 @@ version = "0.3.0" [dependencies] -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +scale-info = { workspace = true } # Substrate -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } # Unique -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +pallet-evm = { workspace = true } +up-sponsorship = { workspace = true } # Locals -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -pallet-common = { default-features = false, path = "../../pallets/common" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -pallet-evm-transaction-payment = { default-features = false, path = "../../pallets/evm-transaction-payment" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs", features = ['serde1'] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +evm-coder = { workspace = true } +pallet-common = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-evm-transaction-payment = { workspace = true } +up-data-structs = { workspace = true, features = ['serde1'] } [features] default = ["std"] --- a/pallets/evm-migration/Cargo.toml +++ b/pallets/evm-migration/Cargo.toml @@ -5,15 +5,17 @@ version = "0.1.1" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -ethereum = { version = "0.14.0", default-features = false } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +ethereum = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-evm = { workspace = true } +scale-info = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } [features] default = ["runtime-benchmarks", "std"] --- a/pallets/evm-transaction-payment/Cargo.toml +++ b/pallets/evm-transaction-payment/Cargo.toml @@ -5,17 +5,19 @@ version = "0.1.1" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +fp-evm = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-evm = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-sponsorship = { workspace = true } [features] default = ["std"] --- a/pallets/foreign-assets/Cargo.toml +++ b/pallets/foreign-assets/Cargo.toml @@ -5,23 +5,25 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -log = { version = "0.4.16", default-features = false } -orml-tokens.workspace = true -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-common = { default-features = false, path = "../common" } -pallet-fungible = { default-features = false, path = "../fungible" } -serde = { version = "1.0.136", default-features = false, optional = true } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +scale-info = { workspace = true } + +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +log = { workspace = true } +orml-tokens = { workspace = true } +pallet-balances = { workspace = true } +pallet-common = { workspace = true } +pallet-fungible = { workspace = true } +serde = { workspace = true, optional = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } +xcm = { workspace = true } +xcm-executor = { workspace = true } [features] default = ["std"] --- a/pallets/fungible/Cargo.toml +++ b/pallets/fungible/Cargo.toml @@ -5,21 +5,23 @@ version = "0.1.9" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-common = { default-features = false, path = "../common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../evm-coder-substrate" } -pallet-structure = { default-features = false, path = "../structure" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +evm-coder = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-structure = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] --- a/pallets/identity/Cargo.toml +++ b/pallets/identity/Cargo.toml @@ -13,22 +13,21 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ - "derive", - "max-encoded-len", -] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec", features = ["max-encoded-len"] } + enumflags2 = "0.7.4" -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-io = { version = "7.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { version = "7.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { version = "5.0.0", default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -pallet-balances = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { version = "7.0.0", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-balances = { workspace = true } +sp-core = { workspace = true } [features] default = ["std"] --- a/pallets/inflation/Cargo.toml +++ b/pallets/inflation/Cargo.toml @@ -29,14 +29,16 @@ try-runtime = ["frame-support/try-runtime"] [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-balances = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } --- a/pallets/maintenance/Cargo.toml +++ b/pallets/maintenance/Cargo.toml @@ -10,13 +10,15 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +scale-info = { workspace = true } + +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] --- a/pallets/nonfungible/Cargo.toml +++ b/pallets/nonfungible/Cargo.toml @@ -5,21 +5,23 @@ version = "0.1.13" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-common = { default-features = false, path = "../common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../evm-coder-substrate" } -pallet-structure = { default-features = false, path = "../structure" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -struct-versioning.path = "../../crates/struct-versioning" -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +evm-coder = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-structure = { workspace = true } +scale-info = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +struct-versioning = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] --- a/pallets/proxy-rmrk-core/Cargo.toml +++ b/pallets/proxy-rmrk-core/Cargo.toml @@ -5,20 +5,22 @@ version = "0.1.2" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-common = { default-features = false, path = "../common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" } -pallet-structure = { default-features = false, path = "../../pallets/structure" } -rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +scale-info = { workspace = true } + +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +pallet-nonfungible = { workspace = true } +pallet-structure = { workspace = true } +rmrk-traits = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] --- a/pallets/proxy-rmrk-equip/Cargo.toml +++ b/pallets/proxy-rmrk-equip/Cargo.toml @@ -5,19 +5,21 @@ version = "0.1.2" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-common = { default-features = false, path = "../common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" } -pallet-rmrk-core = { default-features = false, path = "../proxy-rmrk-core" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +scale-info = { workspace = true } + +frame-benchmarking = {workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +pallet-nonfungible = { workspace = true } +pallet-proxy-rmrk-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] @@ -28,7 +30,7 @@ "pallet-common/std", "pallet-evm/std", "pallet-nonfungible/std", - "pallet-rmrk-core/std", + "pallet-proxy-rmrk-core/std", "sp-runtime/std", "sp-std/std", "up-data-structs/std", --- a/pallets/proxy-rmrk-equip/src/lib.rs +++ b/pallets/proxy-rmrk-equip/src/lib.rs @@ -138,7 +138,7 @@ use sp_runtime::DispatchError; use up_data_structs::*; use pallet_common::{Pallet as PalletCommon, Error as CommonError}; -use pallet_rmrk_core::{ +use pallet_proxy_rmrk_core::{ Pallet as PalletCore, Error as CoreError, misc::{self, *}, property::RmrkProperty::*, @@ -161,7 +161,7 @@ use super::*; #[pallet::config] - pub trait Config: frame_system::Config + pallet_rmrk_core::Config { + pub trait Config: frame_system::Config + pallet_proxy_rmrk_core::Config { /// Overarching event type. type RuntimeEvent: From> + IsType<::RuntimeEvent>; --- a/pallets/proxy-rmrk-equip/src/rpc.rs +++ b/pallets/proxy-rmrk-equip/src/rpc.rs @@ -17,7 +17,7 @@ //! Realizations of RMRK RPCs (remote procedure calls) related to the Equip pallet. use super::*; -use pallet_rmrk_core::{misc, property::*}; +use pallet_proxy_rmrk_core::{misc, property::*}; use sp_std::vec::Vec; /// Get base info by its ID. --- a/pallets/refungible/Cargo.toml +++ b/pallets/refungible/Cargo.toml @@ -5,22 +5,24 @@ version = "0.2.12" [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-common = { default-features = false, path = "../common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -pallet-structure = { default-features = false, path = "../structure" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +evm-coder = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-structure = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +up-data-structs = { workspace = true } [features] default = ["std"] --- a/pallets/scheduler-v2/Cargo.toml +++ b/pallets/scheduler-v2/Cargo.toml @@ -10,20 +10,21 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -log = { version = "0.4.17", default-features = false } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +log = { workspace = true } +scale-info = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } + [dev-dependencies] pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } [features] --- a/pallets/structure/Cargo.toml +++ b/pallets/structure/Cargo.toml @@ -4,17 +4,19 @@ version = "0.1.2" [dependencies] -parity-scale-codec = { version = "3.2.2", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -log = { version = "0.4.17", default-features = false } -pallet-common = { path = "../common", default-features = false } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { path = "../../primitives/data-structs", default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +log = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] @@ -25,7 +27,7 @@ "frame-system/std", "pallet-common/std", "pallet-evm/std", - "parity-scale-codec/std", + "codec/std", "scale-info/std", "sp-std/std", "up-data-structs/std", --- a/pallets/unique/Cargo.toml +++ b/pallets/unique/Cargo.toml @@ -28,7 +28,6 @@ 'pallet-evm-coder-substrate/std', 'pallet-evm/std', 'pallet-nonfungible/std', - 'serde/std', 'sp-runtime/std', 'sp-std/std', 'up-data-structs/std', @@ -39,21 +38,22 @@ ################################################################################ # Local Dependencies [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -ethereum = { version = "0.12.0", default-features = false } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-common = { default-features = false, path = "../common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" } -pallet-refungible = { default-features = false, path = "../../pallets/refungible" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -serde = { default-features = false, features = ['derive'], version = "1.0.130" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../../primitives/data-structs" } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +ethereum = { workspace = true } +evm-coder = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-nonfungible = { workspace = true } +pallet-refungible = { workspace = true } +scale-info = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } --- a/primitives/app_promotion_rpc/Cargo.toml +++ b/primitives/app_promotion_rpc/Cargo.toml @@ -5,11 +5,11 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = ["derive"] } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +codec = { workspace = true } +pallet-evm = { workspace = true } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] --- a/primitives/common/Cargo.toml +++ b/primitives/common/Cargo.toml @@ -22,11 +22,11 @@ ] [dependencies] -cumulus-primitives-core = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +cumulus-primitives-core = { workspace = true } +fp-rpc = { workspace = true } +frame-support = { workspace = true } +pallet-evm = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } --- a/primitives/data-structs/Cargo.toml +++ b/primitives/data-structs/Cargo.toml @@ -9,18 +9,20 @@ version = "0.2.2" [dependencies] +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +derivative = { workspace = true } +frame-support = { workspace = true } +pallet-evm = { workspace = true } +rmrk-traits = { workspace = true } +scale-info = { workspace = true } +serde = { workspace = true, optional = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } bondrewd = { version = "0.1.14", features = ["derive"], default-features = false } -codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = ['derive'] } -derivative = { version = "2.2.0", features = ["use_core"] } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -rmrk-traits = { default-features = false, path = "../rmrk-traits" } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.130", features = ['derive'], default-features = false, optional = true } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -struct-versioning.path = "../../crates/struct-versioning" +struct-versioning = { workspace = true } [features] default = ["std"] --- a/primitives/pov-estimate-rpc/Cargo.toml +++ b/primitives/pov-estimate-rpc/Cargo.toml @@ -5,13 +5,13 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.130", features = ["derive"], default-features = false, optional = true } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +codec = { workspace = true } +scale-info = { workspace = true } +serde = { workspace = true, optional = true } +sp-api = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] --- a/primitives/rmrk-rpc/Cargo.toml +++ b/primitives/rmrk-rpc/Cargo.toml @@ -5,13 +5,12 @@ version = "0.0.2" [dependencies] -codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] } -rmrk-traits = { default-features = false, path = "../rmrk-traits" } -serde = { version = "1.0.130", default-features = false, features = ["derive"] } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +codec = { workspace = true } +rmrk-traits = { workspace = true } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] -std = ["codec/std", "rmrk-traits/std", "serde/std", "sp-api/std", "sp-runtime/std", "sp-std/std"] +std = ["codec/std", "rmrk-traits/std", "sp-api/std", "sp-runtime/std", "sp-std/std"] --- a/primitives/rmrk-traits/Cargo.toml +++ b/primitives/rmrk-traits/Cargo.toml @@ -1,5 +1,5 @@ [package] -authors = ["Unique Network "] +authors = ["RMRK Team", "Unique Network "] description = "RMRK proxy data structs definitions" edition = "2021" homepage = "https://unique.network" @@ -9,9 +9,11 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = ["derive"] } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.130", features = ["derive"], default-features = false, optional = true } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +scale-info = { workspace = true } +serde = { workspace = true, optional = true } [features] default = ["std"] --- a/primitives/rpc/Cargo.toml +++ b/primitives/rpc/Cargo.toml @@ -5,14 +5,14 @@ version = "0.1.3" [dependencies] -codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = ["derive"] } -pallet-common = { default-features = false, path = "../../pallets/common" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -up-data-structs = { default-features = false, path = "../data-structs" } +codec = { workspace = true } +pallet-common = { workspace = true } +pallet-evm = { workspace = true } +sp-api = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +up-data-structs = { workspace = true } [features] default = ["std"] --- a/runtime/opal/Cargo.toml +++ b/runtime/opal/Cargo.toml @@ -204,114 +204,120 @@ # local dependencies [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -hex-literal = { optional = true, version = "0.3.3" } -orml-tokens.workspace = true -orml-traits.workspace = true -orml-vesting.workspace = true -orml-xtokens.workspace = true -pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-treasury = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -parachain-info = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -serde = { default-features = false, features = ['derive'], optional = true, version = "1.0.130" } -smallvec = "1.6.1" -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-version = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +orml-tokens = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xtokens = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-randomness-collective-flip = { workspace = true } +pallet-session = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-xcm = { workspace = true } +parachain-info = { workspace = true } +polkadot-parachain = { workspace = true } +smallvec = { workspace = true } +sp-api = { workspace = true } +sp-arithmetic = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-inherents = { workspace = true } +sp-io = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-transaction-pool = { workspace = true } +sp-version = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } + +app-promotion-rpc = { workspace = true } +derivative = { workspace = true } +evm-coder = { workspace = true } +fp-evm = { workspace = true } +fp-evm-mapping = { workspace = true } +fp-rpc = { workspace = true } +fp-self-contained = { workspace = true } +log = { workspace = true } +num_enum = { workspace = true } +pallet-app-promotion = { workspace = true } +pallet-base-fee = { workspace = true } +pallet-charge-transaction = { workspace = true } +pallet-collator-selection = { workspace = true } +pallet-common = { workspace = true } +pallet-configuration = { workspace = true } +pallet-ethereum = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-evm-contract-helpers = { workspace = true } +pallet-evm-migration = { workspace = true } +pallet-evm-precompile-simple = { workspace = true } +pallet-evm-transaction-payment = { workspace = true } +pallet-foreign-assets = { workspace = true } +pallet-fungible = { workspace = true } +pallet-identity = { workspace = true } +pallet-inflation = { workspace = true } +pallet-maintenance = { workspace = true } +pallet-nonfungible = { workspace = true } +pallet-proxy-rmrk-core = { workspace = true } +pallet-proxy-rmrk-equip = { workspace = true } +pallet-refungible = { workspace = true } +pallet-structure = { workspace = true } +pallet-unique = { workspace = true } +pallet-unique-scheduler-v2 = { workspace = true } +precompile-utils-macro = { workspace = true } +rmrk-rpc = { workspace = true } +scale-info = { workspace = true } +up-common = { workspace = true } +up-data-structs = { workspace = true } +up-pov-estimate-rpc = { workspace = true } +up-rpc = { workspace = true } +up-sponsorship = { workspace = true } + +################################################################################ +# Optional dependencies -app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false } -derivative = "2.2.0" -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -log = { version = "0.4.16", default-features = false } -num_enum = { version = "0.5.3", default-features = false } -pallet-app-promotion = { path = "../../pallets/app-promotion", default-features = false } -pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-charge-transaction = { package = "pallet-template-transaction-payment", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } -pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" } -pallet-common = { default-features = false, path = "../../pallets/common" } -pallet-configuration = { default-features = false, path = "../../pallets/configuration" } -pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -pallet-evm-contract-helpers = { path = "../../pallets/evm-contract-helpers", default-features = false } -pallet-evm-migration = { path = "../../pallets/evm-migration", default-features = false } -pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-transaction-payment = { path = "../../pallets/evm-transaction-payment", default-features = false } -pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" } -pallet-fungible = { default-features = false, path = "../../pallets/fungible" } -pallet-identity = { default-features = false, path = "../../pallets/identity" } -pallet-inflation = { path = "../../pallets/inflation", default-features = false } -pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } -pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" } -pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" } -pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" } -pallet-refungible = { default-features = false, path = "../../pallets/refungible" } -pallet-structure = { default-features = false, path = "../../pallets/structure" } -pallet-unique = { path = "../../pallets/unique", default-features = false } -pallet-unique-scheduler-v2 = { path = "../../pallets/scheduler-v2", default-features = false } -precompile-utils-macro.path = "../common/ethereum/precompiles/utils/macro" -rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -up-common = { path = "../../primitives/common", default-features = false } -up-data-structs = { path = "../../primitives/data-structs", default-features = false } -up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false } -up-rpc = { path = "../../primitives/rpc", default-features = false } -up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +frame-system-benchmarking = { workspace = true, optional = true} +frame-benchmarking = { workspace = true, optional = true } +frame-try-runtime = { workspace = true, optional = true } +serde = { workspace = true, optional = true } +hex-literal = { workspace = true, optional = true } ################################################################################ # Test dependencies -pallet-test-utils = { default-features = false, path = "../../test-pallets/utils" } +pallet-test-utils = { workspace = true } ################################################################################ # Other Dependencies -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } [dev-dependencies] -logtest = "2.0.0" +logtest = { workspace = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-wasm-builder = { workspace = true } --- a/runtime/quartz/Cargo.toml +++ b/runtime/quartz/Cargo.toml @@ -196,114 +196,121 @@ # local dependencies [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -hex-literal = { optional = true, version = "0.3.3" } -orml-tokens.workspace = true -orml-traits.workspace = true -orml-vesting.workspace = true -orml-xtokens.workspace = true -pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-treasury = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -parachain-info = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -rmrk-rpc = { default-features = false, path = "../../primitives/rmrk-rpc" } -serde = { default-features = false, features = ['derive'], optional = true, version = "1.0.130" } -smallvec = "1.6.1" -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-version = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false } -derivative = "2.2.0" -fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -log = { version = "0.4.16", default-features = false } -pallet-app-promotion = { path = "../../pallets/app-promotion", default-features = false } -pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" } -pallet-common = { default-features = false, path = "../../pallets/common" } -pallet-configuration = { default-features = false, path = "../../pallets/configuration" } -pallet-fungible = { default-features = false, path = "../../pallets/fungible" } -pallet-identity = { default-features = false, path = "../../pallets/identity" } -pallet-inflation = { path = "../../pallets/inflation", default-features = false } -pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" } -pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" } -pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" } -pallet-refungible = { default-features = false, path = "../../pallets/refungible" } -pallet-structure = { default-features = false, path = "../../pallets/structure" } -pallet-unique = { path = "../../pallets/unique", default-features = false } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -up-common = { path = "../../primitives/common", default-features = false } -up-data-structs = { path = "../../primitives/data-structs", default-features = false } -up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false } -up-rpc = { path = "../../primitives/rpc", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +orml-tokens = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xtokens = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-randomness-collective-flip = { workspace = true } +pallet-session = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-xcm = { workspace = true } +parachain-info = { workspace = true } +polkadot-parachain = { workspace = true } +rmrk-rpc = { workspace = true } +smallvec = { workspace = true } +sp-api = { workspace = true } +sp-arithmetic = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-inherents = { workspace = true } +sp-io = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-transaction-pool = { workspace = true } +sp-version = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } + +app-promotion-rpc = { workspace = true } +derivative = { workspace = true } +fp-evm = { workspace = true } +fp-evm-mapping = { workspace = true } +log = { workspace = true } +pallet-app-promotion = { workspace = true } +pallet-collator-selection = { workspace = true } +pallet-common = { workspace = true } +pallet-configuration = { workspace = true } +pallet-fungible = { workspace = true } +pallet-identity = { workspace = true } +pallet-inflation = { workspace = true } +pallet-nonfungible = { workspace = true } +pallet-proxy-rmrk-core = { workspace = true } +pallet-proxy-rmrk-equip = { workspace = true } +pallet-refungible = { workspace = true } +pallet-structure = { workspace = true } +pallet-unique = { workspace = true } +scale-info = { workspace = true } +up-common = { workspace = true } +up-data-structs = { workspace = true } +up-pov-estimate-rpc = { workspace = true } +up-rpc = { workspace = true } # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } +evm-coder = { workspace = true } +fp-rpc = { workspace = true } +fp-self-contained = { workspace = true } num_enum = { version = "0.5.3", default-features = false } -pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-charge-transaction = { package = "pallet-template-transaction-payment", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } -pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -pallet-evm-contract-helpers = { path = "../../pallets/evm-contract-helpers", default-features = false } -pallet-evm-migration = { path = "../../pallets/evm-migration", default-features = false } -pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-transaction-payment = { path = "../../pallets/evm-transaction-payment", default-features = false } -pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" } -pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } -precompile-utils-macro.path = "../common/ethereum/precompiles/utils/macro" -up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +pallet-base-fee = { workspace = true } +pallet-charge-transaction = { workspace = true } +pallet-ethereum = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-evm-contract-helpers = { workspace = true } +pallet-evm-migration = { workspace = true } +pallet-evm-precompile-simple = { workspace = true } +pallet-evm-transaction-payment = { workspace = true } +pallet-foreign-assets = { workspace = true } +pallet-maintenance = { workspace = true } +precompile-utils-macro = { workspace = true } +up-sponsorship = { workspace = true } + +################################################################################ +# Optional dependencies + +frame-system-benchmarking = { workspace = true, optional = true } +frame-benchmarking = { workspace = true, optional = true } +frame-try-runtime = { workspace = true, optional = true } +serde = { workspace = true, optional = true } +hex-literal = { workspace = true, optional = true } + ################################################################################ # Test dependencies -pallet-test-utils = { default-features = false, path = "../../test-pallets/utils" } +pallet-test-utils = { workspace = true } ################################################################################ # Other Dependencies -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } [dev-dependencies] -logtest = "2.0.0" +logtest = { workspace = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-wasm-builder = { workspace = true } --- a/runtime/unique/Cargo.toml +++ b/runtime/unique/Cargo.toml @@ -194,113 +194,120 @@ # local dependencies [dependencies] -codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = "3.1.2" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.37" } -hex-literal = { optional = true, version = "0.3.3" } -orml-tokens.workspace = true -orml-traits.workspace = true -orml-vesting.workspace = true -orml-xtokens.workspace = true -pallet-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-authorship = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-treasury = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -parachain-info = { default-features = false, git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.37" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -smallvec = "1.6.1" -sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-session = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-version = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.37", default-features = false } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } -app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false } -derivative = "2.2.0" -log = { version = "0.4.16", default-features = false } -pallet-app-promotion = { path = "../../pallets/app-promotion", default-features = false } -pallet-collator-selection = { default-features = false, path = "../../pallets/collator-selection" } -pallet-common = { default-features = false, path = "../../pallets/common" } -pallet-configuration = { default-features = false, path = "../../pallets/configuration" } -pallet-fungible = { default-features = false, path = "../../pallets/fungible" } -pallet-identity = { default-features = false, path = "../../pallets/identity" } -pallet-inflation = { path = "../../pallets/inflation", default-features = false } -pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" } -pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" } -pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" } -pallet-refungible = { default-features = false, path = "../../pallets/refungible" } -pallet-structure = { default-features = false, path = "../../pallets/structure" } -pallet-unique = { path = "../../pallets/unique", default-features = false } -rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false } -scale-info = { version = "2.0.1", default-features = false, features = ["derive"] } -up-common = { path = "../../primitives/common", default-features = false } -up-data-structs = { path = "../../primitives/data-structs", default-features = false } -up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false } -up-rpc = { path = "../../primitives/rpc", default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +orml-tokens = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xtokens = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-randomness-collective-flip = { workspace = true } +pallet-session = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-xcm = { workspace = true } +parachain-info = { workspace = true } +polkadot-parachain = { workspace = true } +smallvec = { workspace = true } +sp-api = { workspace = true } +sp-arithmetic = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-inherents = { workspace = true } +sp-io = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-transaction-pool = { workspace = true } +sp-version = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } + +app-promotion-rpc = { workspace = true } +derivative = { workspace = true } +log = { workspace = true } +pallet-app-promotion = { workspace = true } +pallet-collator-selection = { workspace = true } +pallet-common = { workspace = true } +pallet-configuration = { workspace = true } +pallet-fungible = { workspace = true } +pallet-identity = { workspace = true } +pallet-inflation = { workspace = true } +pallet-nonfungible = { workspace = true } +pallet-proxy-rmrk-core = { workspace = true } +pallet-proxy-rmrk-equip = { workspace = true } +pallet-refungible = { workspace = true } +pallet-structure = { workspace = true } +pallet-unique = { workspace = true } +rmrk-rpc = { workspace = true } +scale-info = { workspace = true } +up-common = { workspace = true } +up-data-structs = { workspace = true } +up-pov-estimate-rpc = { workspace = true } +up-rpc = { workspace = true } # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' } -evm-coder = { default-features = false, path = "../../crates/evm-coder" } -fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -num_enum = { version = "0.5.3", default-features = false } -pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-charge-transaction = { package = "pallet-template-transaction-payment", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } -pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" } -pallet-evm-contract-helpers = { path = "../../pallets/evm-contract-helpers", default-features = false } -pallet-evm-migration = { path = "../../pallets/evm-migration", default-features = false } -pallet-evm-precompile-simple = { default-features = false, git = "https://github.com/uniquenetwork/unique-frontier", branch = "unique-polkadot-v0.9.37" } -pallet-evm-transaction-payment = { path = "../../pallets/evm-transaction-payment", default-features = false } -pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" } -pallet-maintenance = { default-features = false, path = "../../pallets/maintenance" } -precompile-utils-macro.path = "../common/ethereum/precompiles/utils/macro" -up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.37" } +evm-coder = { workspace = true } +fp-evm = { workspace = true } +fp-evm-mapping = { workspace = true } +fp-rpc = { workspace = true } +fp-self-contained = { workspace = true } +num_enum = { workspace = true } +pallet-base-fee = { workspace = true } +pallet-charge-transaction = { workspace = true } +pallet-ethereum = { workspace = true } +pallet-evm = { workspace = true } +pallet-evm-coder-substrate = { workspace = true } +pallet-evm-contract-helpers = { workspace = true } +pallet-evm-migration = { workspace = true } +pallet-evm-precompile-simple = { workspace = true } +pallet-evm-transaction-payment = { workspace = true } +pallet-foreign-assets = { workspace = true } +pallet-maintenance = { workspace = true } +precompile-utils-macro = { workspace = true } +up-sponsorship = { workspace = true } + +################################################################################ +# Optional dependencies + +frame-system-benchmarking = { workspace = true, optional = true } +frame-benchmarking = { workspace = true, optional = true } +frame-try-runtime = { workspace = true, optional = true } +serde = { workspace = true, optional = true } +hex-literal = { workspace = true, optional = true } ################################################################################ # Test dependencies -pallet-test-utils = { default-features = false, path = "../../test-pallets/utils" } +pallet-test-utils = { workspace = true } ################################################################################ # Other Dependencies -impl-trait-for-tuples = "0.2.2" +impl-trait-for-tuples = { workspace = true } [dev-dependencies] -logtest = "2.0.0" +logtest = { workspace = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-wasm-builder = { workspace = true } --- a/test-pallets/utils/Cargo.toml +++ b/test-pallets/utils/Cargo.toml @@ -6,13 +6,15 @@ version = "0.1.0" [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } +# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it. +codec = { workspace = true, package = "parity-scale-codec" } + +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true } # pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false } -pallet-unique-scheduler-v2 = { path = "../../pallets/scheduler-v2", default-features = false } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-unique-scheduler-v2 = { workspace = true } +sp-std = { workspace = true } [features] default = ["std"] -- gitstuff