git.delta.rocks / unique-network / refs/commits / 773312d15af5

difftreelog

build do not build stubgen by default

Yaroslav Bolyukin2022-11-02parent: #912e503.patch.diff
in: master

11 files changed

modified.maintain/scripts/generate_sol.shdiffbeforeafterboth
--- a/.maintain/scripts/generate_sol.sh
+++ b/.maintain/scripts/generate_sol.sh
@@ -4,7 +4,7 @@
 PRETTIER_CONFIG="$(pwd)""/.prettierrc"
 
 tmp=$(mktemp)
-cargo test --package $PACKAGE -- $NAME --exact --nocapture --ignored | tee $tmp
+cargo test --package=$PACKAGE --features=stubgen -- $NAME --exact --nocapture --ignored | tee $tmp
 raw=$(mktemp --suffix .sol)
 sed -n '/=== SNIP START ===/, /=== SNIP END ===/{ /=== SNIP START ===/! { /=== SNIP END ===/! p } }' $tmp > $raw
 
modifiedcrates/evm-coder/Cargo.tomldiffbeforeafterboth
--- a/crates/evm-coder/Cargo.toml
+++ b/crates/evm-coder/Cargo.toml
@@ -37,3 +37,5 @@
     "evm-core/std",
     "frame-support/std",
 ]
+# Stub/interface generation
+stubgen = []
modifiedcrates/evm-coder/procedural/src/solidity_interface.rsdiffbeforeafterboth
--- a/crates/evm-coder/procedural/src/solidity_interface.rs
+++ b/crates/evm-coder/procedural/src/solidity_interface.rs
@@ -951,6 +951,7 @@
 					u32::to_be_bytes(interface_id)
 				}
 				/// Generate solidity definitions for methods described in this interface
+				#[cfg(feature = "stubgen")]
 				pub fn generate_solidity_interface(tc: &evm_coder::solidity::TypeCollector, is_impl: bool) {
 					use evm_coder::solidity::*;
 					use core::fmt::Write;
modifiedcrates/evm-coder/procedural/src/to_log.rsdiffbeforeafterboth
--- a/crates/evm-coder/procedural/src/to_log.rs
+++ b/crates/evm-coder/procedural/src/to_log.rs
@@ -195,6 +195,7 @@
 					#consts
 				)*
 
+				#[cfg(feature = "stubgen")]
 				pub fn generate_solidity_interface(tc: &evm_coder::solidity::TypeCollector, is_impl: bool) {
 					use evm_coder::solidity::*;
 					use core::fmt::Write;
modifiedcrates/evm-coder/src/lib.rsdiffbeforeafterboth
--- a/crates/evm-coder/src/lib.rs
+++ b/crates/evm-coder/src/lib.rs
@@ -108,6 +108,7 @@
 #[doc(hidden)]
 pub mod events;
 #[doc(hidden)]
+#[cfg(feature = "stubgen")]
 pub mod solidity;
 
 /// Solidity type definitions (aliases from solidity name to rust type)
@@ -354,6 +355,7 @@
 #[macro_export]
 macro_rules! generate_stubgen {
 	($name:ident, $decl:ty, $is_impl:literal) => {
+		#[cfg(feature = "stubgen")]
 		#[test]
 		#[ignore]
 		fn $name() {
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -45,3 +45,4 @@
     "up-data-structs/runtime-benchmarks",
 ]
 try-runtime = ["frame-support/try-runtime"]
+stubgen = ["evm-coder/stubgen"]
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -52,3 +52,4 @@
     "up-sponsorship/std",
 ]
 try-runtime = ["frame-support/try-runtime"]
+stubgen = ["evm-coder/stubgen"]
modifiedpallets/fungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -46,3 +46,4 @@
 ]
 runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']
 try-runtime = ["frame-support/try-runtime"]
+stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]
modifiedpallets/nonfungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -52,3 +52,4 @@
     'up-data-structs/runtime-benchmarks',
 ]
 try-runtime = ["frame-support/try-runtime"]
+stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]
modifiedpallets/refungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -54,3 +54,4 @@
     'up-data-structs/runtime-benchmarks',
 ]
 try-runtime = ["frame-support/try-runtime"]
+stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
before · runtime/unique/Cargo.toml
1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Unique Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'unique-runtime'14repository = 'https://github.com/UniqueNetwork/unique-chain'15version = '0.9.30'1617[package.metadata.docs.rs]18targets = ['x86_64-unknown-linux-gnu']1920[features]21default = ['std', 'unique-runtime']22runtime-benchmarks = [23    'hex-literal',24    'frame-benchmarking',25    'frame-support/runtime-benchmarks',26    'frame-system-benchmarking',27    'frame-system/runtime-benchmarks',28    'pallet-ethereum/runtime-benchmarks',29    'pallet-evm-migration/runtime-benchmarks',30    'pallet-evm-coder-substrate/runtime-benchmarks',31    'pallet-balances/runtime-benchmarks',32    'pallet-timestamp/runtime-benchmarks',33    'pallet-common/runtime-benchmarks',34    'pallet-structure/runtime-benchmarks',35    'pallet-fungible/runtime-benchmarks',36    'pallet-refungible/runtime-benchmarks',37    'pallet-nonfungible/runtime-benchmarks',38    'pallet-proxy-rmrk-core/runtime-benchmarks',39    'pallet-proxy-rmrk-equip/runtime-benchmarks',40    'pallet-unique/runtime-benchmarks',41    'pallet-foreign-assets/runtime-benchmarks',42    'pallet-inflation/runtime-benchmarks',43    'pallet-unique-scheduler/runtime-benchmarks',44    'pallet-xcm/runtime-benchmarks',45    'sp-runtime/runtime-benchmarks',46    'xcm-builder/runtime-benchmarks',47    'up-data-structs/runtime-benchmarks',48]49try-runtime = [50    'frame-try-runtime',51    'frame-executive/try-runtime',52    'frame-support/try-runtime',53    'frame-system/try-runtime',54    'cumulus-pallet-parachain-system/try-runtime',55    'parachain-info/try-runtime',56    'pallet-aura/try-runtime',57    'cumulus-pallet-aura-ext/try-runtime',58    'pallet-balances/try-runtime',59    'pallet-randomness-collective-flip/try-runtime',60    'pallet-timestamp/try-runtime',61    'pallet-transaction-payment/try-runtime',62    'pallet-treasury/try-runtime',63    'pallet-sudo/try-runtime',64    'orml-vesting/try-runtime',65    'orml-xtokens/try-runtime',66    'orml-tokens/try-runtime',67    'cumulus-pallet-xcmp-queue/try-runtime',68    'pallet-xcm/try-runtime',69    'cumulus-pallet-xcm/try-runtime',70    'cumulus-pallet-dmp-queue/try-runtime',71    'pallet-inflation/try-runtime',72    'pallet-unique/try-runtime',73    'pallet-unique-scheduler/try-runtime',74    'pallet-configuration/try-runtime',75    'pallet-charge-transaction/try-runtime',76    'pallet-common/try-runtime',77    'pallet-fungible/try-runtime',78    'pallet-refungible/try-runtime',79    'pallet-nonfungible/try-runtime',80    'pallet-structure/try-runtime',81    'pallet-proxy-rmrk-core/try-runtime',82    'pallet-proxy-rmrk-equip/try-runtime',83    'pallet-app-promotion/try-runtime',84    'pallet-foreign-assets/try-runtime',85    'pallet-evm/try-runtime',86    'pallet-ethereum/try-runtime',87    'pallet-evm-coder-substrate/try-runtime',88    'pallet-evm-contract-helpers/try-runtime',89    'pallet-evm-transaction-payment/try-runtime',90    'pallet-evm-migration/try-runtime',91]92std = [93    'codec/std',94    'cumulus-pallet-aura-ext/std',95    'cumulus-pallet-parachain-system/std',96    'cumulus-pallet-xcm/std',97    'cumulus-pallet-xcmp-queue/std',98    'cumulus-primitives-core/std',99    'cumulus-primitives-utility/std',100    'frame-try-runtime/std',101    'frame-executive/std',102    'frame-support/std',103    'frame-system/std',104    'frame-system-rpc-runtime-api/std',105    'pallet-aura/std',106    'pallet-balances/std',107    # 'pallet-contracts/std',108    # 'pallet-contracts-primitives/std',109    # 'pallet-contracts-rpc-runtime-api/std',110    # 'pallet-contract-helpers/std',111    'pallet-randomness-collective-flip/std',112    'pallet-sudo/std',113    'pallet-timestamp/std',114    'pallet-transaction-payment/std',115    'pallet-transaction-payment-rpc-runtime-api/std',116    'pallet-treasury/std',117    'pallet-evm/std',118    'pallet-evm-migration/std',119    'pallet-evm-contract-helpers/std',120    'pallet-evm-transaction-payment/std',121    'pallet-evm-coder-substrate/std',122    'pallet-ethereum/std',123    'pallet-base-fee/std',124    'fp-rpc/std',125    'up-rpc/std',126    'app-promotion-rpc/std',127    'fp-evm-mapping/std',128    'fp-self-contained/std',129    'parachain-info/std',130    'serde',131    'pallet-inflation/std',132    'pallet-configuration/std',133    'pallet-common/std',134    'pallet-structure/std',135    'pallet-fungible/std',136    'pallet-refungible/std',137    'pallet-nonfungible/std',138    'pallet-proxy-rmrk-core/std',139    'pallet-proxy-rmrk-equip/std',140    'pallet-unique/std',141    'pallet-unique-scheduler/std',142    'pallet-charge-transaction/std',143    'up-data-structs/std',144    'sp-api/std',145    'sp-block-builder/std',146    "sp-consensus-aura/std",147    'sp-core/std',148    'sp-inherents/std',149    'sp-io/std',150    'sp-offchain/std',151    'sp-runtime/std',152    'sp-session/std',153    'sp-std/std',154    'sp-transaction-pool/std',155    'sp-version/std',156    'xcm/std',157    'xcm-builder/std',158    'xcm-executor/std',159    'up-common/std',160    'rmrk-rpc/std',161    'evm-coder/std',162    'up-sponsorship/std',163164    "orml-vesting/std",165    "orml-tokens/std",166    "orml-xtokens/std",167    "orml-traits/std",168    "pallet-foreign-assets/std",169]170limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']171unique-runtime = []172173refungible = []174scheduler = []175rmrk = []176foreign-assets = []177178################################################################################179# Substrate Dependencies180181[dependencies.codec]182default-features = false183features = ['derive']184package = 'parity-scale-codec'185version = '3.1.2'186187[dependencies.frame-benchmarking]188default-features = false189git = "https://github.com/paritytech/substrate"190optional = true191branch = "polkadot-v0.9.30"192193[dependencies.frame-try-runtime]194default-features = false195git = "https://github.com/paritytech/substrate"196optional = true197branch = "polkadot-v0.9.30"198199[dependencies.frame-executive]200default-features = false201git = "https://github.com/paritytech/substrate"202branch = "polkadot-v0.9.30"203204[dependencies.frame-support]205default-features = false206git = "https://github.com/paritytech/substrate"207branch = "polkadot-v0.9.30"208209[dependencies.frame-system]210default-features = false211git = "https://github.com/paritytech/substrate"212branch = "polkadot-v0.9.30"213214[dependencies.frame-system-benchmarking]215default-features = false216git = "https://github.com/paritytech/substrate"217optional = true218branch = "polkadot-v0.9.30"219220[dependencies.frame-system-rpc-runtime-api]221default-features = false222git = "https://github.com/paritytech/substrate"223branch = "polkadot-v0.9.30"224225[dependencies.hex-literal]226optional = true227version = '0.3.3'228229[dependencies.serde]230default-features = false231features = ['derive']232optional = true233version = '1.0.130'234235[dependencies.pallet-aura]236default-features = false237git = "https://github.com/paritytech/substrate"238branch = "polkadot-v0.9.30"239240[dependencies.pallet-balances]241default-features = false242git = "https://github.com/paritytech/substrate"243branch = "polkadot-v0.9.30"244245# Contracts specific packages246# [dependencies.pallet-contracts]247# git = 'https://github.com/paritytech/substrate'248# default-features = false249# branch = 'master'250# version = '4.0.0-dev'251252# [dependencies.pallet-contracts-primitives]253# git = 'https://github.com/paritytech/substrate'254# default-features = false255# branch = 'master'256# version = '4.0.0-dev'257258# [dependencies.pallet-contracts-rpc-runtime-api]259# git = 'https://github.com/paritytech/substrate'260# default-features = false261# branch = 'master'262# version = '4.0.0-dev'263264[dependencies.pallet-randomness-collective-flip]265default-features = false266git = "https://github.com/paritytech/substrate"267branch = "polkadot-v0.9.30"268269[dependencies.pallet-sudo]270default-features = false271git = "https://github.com/paritytech/substrate"272branch = "polkadot-v0.9.30"273274[dependencies.pallet-timestamp]275default-features = false276git = "https://github.com/paritytech/substrate"277branch = "polkadot-v0.9.30"278279[dependencies.pallet-transaction-payment]280default-features = false281git = "https://github.com/paritytech/substrate"282branch = "polkadot-v0.9.30"283284[dependencies.pallet-transaction-payment-rpc-runtime-api]285default-features = false286git = "https://github.com/paritytech/substrate"287branch = "polkadot-v0.9.30"288289[dependencies.pallet-treasury]290default-features = false291git = "https://github.com/paritytech/substrate"292branch = "polkadot-v0.9.30"293294[dependencies.sp-arithmetic]295default-features = false296git = "https://github.com/paritytech/substrate"297branch = "polkadot-v0.9.30"298299[dependencies.sp-api]300default-features = false301git = "https://github.com/paritytech/substrate"302branch = "polkadot-v0.9.30"303304[dependencies.sp-block-builder]305default-features = false306git = "https://github.com/paritytech/substrate"307branch = "polkadot-v0.9.30"308309[dependencies.sp-core]310default-features = false311git = "https://github.com/paritytech/substrate"312branch = "polkadot-v0.9.30"313314[dependencies.sp-consensus-aura]315default-features = false316git = "https://github.com/paritytech/substrate"317branch = "polkadot-v0.9.30"318319[dependencies.sp-inherents]320default-features = false321git = "https://github.com/paritytech/substrate"322branch = "polkadot-v0.9.30"323324[dependencies.sp-io]325default-features = false326git = "https://github.com/paritytech/substrate"327branch = "polkadot-v0.9.30"328329[dependencies.sp-offchain]330default-features = false331git = "https://github.com/paritytech/substrate"332branch = "polkadot-v0.9.30"333334[dependencies.sp-runtime]335default-features = false336git = "https://github.com/paritytech/substrate"337branch = "polkadot-v0.9.30"338339[dependencies.sp-session]340default-features = false341git = "https://github.com/paritytech/substrate"342branch = "polkadot-v0.9.30"343344[dependencies.sp-std]345default-features = false346git = "https://github.com/paritytech/substrate"347branch = "polkadot-v0.9.30"348349[dependencies.sp-transaction-pool]350default-features = false351git = "https://github.com/paritytech/substrate"352branch = "polkadot-v0.9.30"353354[dependencies.sp-version]355default-features = false356git = "https://github.com/paritytech/substrate"357branch = "polkadot-v0.9.30"358359[dependencies.smallvec]360version = '1.6.1'361362################################################################################363# Cumulus dependencies364365[dependencies.parachain-info]366default-features = false367git = "https://github.com/paritytech/cumulus"368branch = "polkadot-v0.9.30"369370[dependencies.cumulus-pallet-aura-ext]371git = "https://github.com/paritytech/cumulus"372branch = "polkadot-v0.9.30"373default-features = false374375[dependencies.cumulus-pallet-parachain-system]376git = "https://github.com/paritytech/cumulus"377branch = "polkadot-v0.9.30"378default-features = false379380[dependencies.cumulus-primitives-core]381git = "https://github.com/paritytech/cumulus"382branch = "polkadot-v0.9.30"383default-features = false384385[dependencies.cumulus-pallet-xcm]386git = "https://github.com/paritytech/cumulus"387branch = "polkadot-v0.9.30"388default-features = false389390[dependencies.cumulus-pallet-dmp-queue]391git = "https://github.com/paritytech/cumulus"392branch = "polkadot-v0.9.30"393default-features = false394395[dependencies.cumulus-pallet-xcmp-queue]396git = "https://github.com/paritytech/cumulus"397branch = "polkadot-v0.9.30"398default-features = false399400[dependencies.cumulus-primitives-utility]401git = "https://github.com/paritytech/cumulus"402branch = "polkadot-v0.9.30"403default-features = false404405[dependencies.cumulus-primitives-timestamp]406git = "https://github.com/paritytech/cumulus"407branch = "polkadot-v0.9.30"408default-features = false409410################################################################################411# Polkadot dependencies412413[dependencies.polkadot-parachain]414git = "https://github.com/paritytech/polkadot"415branch = "release-v0.9.30"416default-features = false417418[dependencies.xcm]419git = "https://github.com/paritytech/polkadot"420branch = "release-v0.9.30"421default-features = false422423[dependencies.xcm-builder]424git = "https://github.com/paritytech/polkadot"425branch = "release-v0.9.30"426default-features = false427428[dependencies.xcm-executor]429git = "https://github.com/paritytech/polkadot"430branch = "release-v0.9.30"431default-features = false432433[dependencies.pallet-xcm]434git = "https://github.com/paritytech/polkadot"435branch = "release-v0.9.30"436default-features = false437438################################################################################439# local dependencies440441[dependencies]442orml-vesting.workspace = true443orml-xtokens.workspace = true444orml-tokens.workspace = true445orml-traits.workspace = true446447log = { version = "0.4.16", default-features = false }448up-common = { path = "../../primitives/common", default-features = false }449scale-info = { version = "2.0.1", default-features = false, features = [450    "derive",451] }452derivative = "2.2.0"453pallet-unique = { path = '../../pallets/unique', default-features = false }454up-rpc = { path = "../../primitives/rpc", default-features = false }455app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }456rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }457pallet-inflation = { path = '../../pallets/inflation', default-features = false }458pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }459up-data-structs = { path = '../../primitives/data-structs', default-features = false }460pallet-configuration = { default-features = false, path = "../../pallets/configuration" }461pallet-common = { default-features = false, path = "../../pallets/common" }462pallet-structure = { default-features = false, path = "../../pallets/structure" }463pallet-fungible = { default-features = false, path = "../../pallets/fungible" }464pallet-refungible = { default-features = false, path = "../../pallets/refungible" }465pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }466pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }467pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }468pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }469# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }470pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.30", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }471pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }472pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }473pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }474pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }475pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }476pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }477pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }478fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }479fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }480fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }481evm-coder = { default-features = false, path = '../../crates/evm-coder' }482up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }483pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }484485################################################################################486# Other Dependencies487488impl-trait-for-tuples = "0.2.2"489490################################################################################491# Dev Dependencies492493[dev-dependencies.logtest]494version = "2.0.0"495496################################################################################497# Build Dependencies498499[build-dependencies.substrate-wasm-builder]500git = "https://github.com/paritytech/substrate"501branch = "polkadot-v0.9.30"
after · runtime/unique/Cargo.toml
1################################################################################2# Package34cargo-features = ["workspace-inheritance"]56[package]7authors = ['Unique Network <support@uniquenetwork.io>']8build = 'build.rs'9description = 'Unique Runtime'10edition = '2021'11homepage = 'https://unique.network'12license = 'GPLv3'13name = 'unique-runtime'14repository = 'https://github.com/UniqueNetwork/unique-chain'15version = '0.9.30'1617[package.metadata.docs.rs]18targets = ['x86_64-unknown-linux-gnu']1920[features]21default = ['std', 'unique-runtime']22runtime-benchmarks = [23    'hex-literal',24    'frame-benchmarking',25    'frame-support/runtime-benchmarks',26    'frame-system-benchmarking',27    'frame-system/runtime-benchmarks',28    'pallet-ethereum/runtime-benchmarks',29    'pallet-evm-migration/runtime-benchmarks',30    'pallet-evm-coder-substrate/runtime-benchmarks',31    'pallet-balances/runtime-benchmarks',32    'pallet-timestamp/runtime-benchmarks',33    'pallet-common/runtime-benchmarks',34    'pallet-structure/runtime-benchmarks',35    'pallet-fungible/runtime-benchmarks',36    'pallet-refungible/runtime-benchmarks',37    'pallet-nonfungible/runtime-benchmarks',38    'pallet-proxy-rmrk-core/runtime-benchmarks',39    'pallet-proxy-rmrk-equip/runtime-benchmarks',40    'pallet-unique/runtime-benchmarks',41    'pallet-foreign-assets/runtime-benchmarks',42    'pallet-inflation/runtime-benchmarks',43    'pallet-unique-scheduler/runtime-benchmarks',44    'pallet-xcm/runtime-benchmarks',45    'sp-runtime/runtime-benchmarks',46    'xcm-builder/runtime-benchmarks',47    'up-data-structs/runtime-benchmarks',48]49try-runtime = [50    'frame-try-runtime',51    'frame-executive/try-runtime',52    'frame-support/try-runtime',53    'frame-system/try-runtime',54    'cumulus-pallet-parachain-system/try-runtime',55    'parachain-info/try-runtime',56    'pallet-aura/try-runtime',57    'cumulus-pallet-aura-ext/try-runtime',58    'pallet-balances/try-runtime',59    'pallet-randomness-collective-flip/try-runtime',60    'pallet-timestamp/try-runtime',61    'pallet-transaction-payment/try-runtime',62    'pallet-treasury/try-runtime',63    'pallet-sudo/try-runtime',64    'orml-vesting/try-runtime',65    'orml-xtokens/try-runtime',66    'orml-tokens/try-runtime',67    'cumulus-pallet-xcmp-queue/try-runtime',68    'pallet-xcm/try-runtime',69    'cumulus-pallet-xcm/try-runtime',70    'cumulus-pallet-dmp-queue/try-runtime',71    'pallet-inflation/try-runtime',72    'pallet-unique/try-runtime',73    'pallet-unique-scheduler/try-runtime',74    'pallet-configuration/try-runtime',75    'pallet-charge-transaction/try-runtime',76    'pallet-common/try-runtime',77    'pallet-fungible/try-runtime',78    'pallet-refungible/try-runtime',79    'pallet-nonfungible/try-runtime',80    'pallet-structure/try-runtime',81    'pallet-proxy-rmrk-core/try-runtime',82    'pallet-proxy-rmrk-equip/try-runtime',83    'pallet-app-promotion/try-runtime',84    'pallet-foreign-assets/try-runtime',85    'pallet-evm/try-runtime',86    'pallet-ethereum/try-runtime',87    'pallet-evm-coder-substrate/try-runtime',88    'pallet-evm-contract-helpers/try-runtime',89    'pallet-evm-transaction-payment/try-runtime',90    'pallet-evm-migration/try-runtime',91]92std = [93    'codec/std',94    'cumulus-pallet-aura-ext/std',95    'cumulus-pallet-parachain-system/std',96    'cumulus-pallet-xcm/std',97    'cumulus-pallet-xcmp-queue/std',98    'cumulus-primitives-core/std',99    'cumulus-primitives-utility/std',100    'frame-try-runtime/std',101    'frame-executive/std',102    'frame-support/std',103    'frame-system/std',104    'frame-system-rpc-runtime-api/std',105    'pallet-aura/std',106    'pallet-balances/std',107    # 'pallet-contracts/std',108    # 'pallet-contracts-primitives/std',109    # 'pallet-contracts-rpc-runtime-api/std',110    # 'pallet-contract-helpers/std',111    'pallet-randomness-collective-flip/std',112    'pallet-sudo/std',113    'pallet-timestamp/std',114    'pallet-transaction-payment/std',115    'pallet-transaction-payment-rpc-runtime-api/std',116    'pallet-treasury/std',117    'pallet-evm/std',118    'pallet-evm-migration/std',119    'pallet-evm-contract-helpers/std',120    'pallet-evm-transaction-payment/std',121    'pallet-evm-coder-substrate/std',122    'pallet-ethereum/std',123    'pallet-base-fee/std',124    'fp-rpc/std',125    'up-rpc/std',126    'app-promotion-rpc/std',127    'fp-evm-mapping/std',128    'fp-self-contained/std',129    'parachain-info/std',130    'serde',131    'pallet-inflation/std',132    'pallet-configuration/std',133    'pallet-common/std',134    'pallet-structure/std',135    'pallet-fungible/std',136    'pallet-refungible/std',137    'pallet-nonfungible/std',138    'pallet-proxy-rmrk-core/std',139    'pallet-proxy-rmrk-equip/std',140    'pallet-unique/std',141    'pallet-unique-scheduler/std',142    'pallet-charge-transaction/std',143    'up-data-structs/std',144    'sp-api/std',145    'sp-block-builder/std',146    "sp-consensus-aura/std",147    'sp-core/std',148    'sp-inherents/std',149    'sp-io/std',150    'sp-offchain/std',151    'sp-runtime/std',152    'sp-session/std',153    'sp-std/std',154    'sp-transaction-pool/std',155    'sp-version/std',156    'xcm/std',157    'xcm-builder/std',158    'xcm-executor/std',159    'up-common/std',160    'rmrk-rpc/std',161    'evm-coder/std',162    'up-sponsorship/std',163164    "orml-vesting/std",165    "orml-tokens/std",166    "orml-xtokens/std",167    "orml-traits/std",168    "pallet-foreign-assets/std",169]170limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']171unique-runtime = []172stubgen = ["evm-coder/stubgen"]173174refungible = []175scheduler = []176rmrk = []177foreign-assets = []178179################################################################################180# Substrate Dependencies181182[dependencies.codec]183default-features = false184features = ['derive']185package = 'parity-scale-codec'186version = '3.1.2'187188[dependencies.frame-benchmarking]189default-features = false190git = "https://github.com/paritytech/substrate"191optional = true192branch = "polkadot-v0.9.30"193194[dependencies.frame-try-runtime]195default-features = false196git = "https://github.com/paritytech/substrate"197optional = true198branch = "polkadot-v0.9.30"199200[dependencies.frame-executive]201default-features = false202git = "https://github.com/paritytech/substrate"203branch = "polkadot-v0.9.30"204205[dependencies.frame-support]206default-features = false207git = "https://github.com/paritytech/substrate"208branch = "polkadot-v0.9.30"209210[dependencies.frame-system]211default-features = false212git = "https://github.com/paritytech/substrate"213branch = "polkadot-v0.9.30"214215[dependencies.frame-system-benchmarking]216default-features = false217git = "https://github.com/paritytech/substrate"218optional = true219branch = "polkadot-v0.9.30"220221[dependencies.frame-system-rpc-runtime-api]222default-features = false223git = "https://github.com/paritytech/substrate"224branch = "polkadot-v0.9.30"225226[dependencies.hex-literal]227optional = true228version = '0.3.3'229230[dependencies.serde]231default-features = false232features = ['derive']233optional = true234version = '1.0.130'235236[dependencies.pallet-aura]237default-features = false238git = "https://github.com/paritytech/substrate"239branch = "polkadot-v0.9.30"240241[dependencies.pallet-balances]242default-features = false243git = "https://github.com/paritytech/substrate"244branch = "polkadot-v0.9.30"245246# Contracts specific packages247# [dependencies.pallet-contracts]248# git = 'https://github.com/paritytech/substrate'249# default-features = false250# branch = 'master'251# version = '4.0.0-dev'252253# [dependencies.pallet-contracts-primitives]254# git = 'https://github.com/paritytech/substrate'255# default-features = false256# branch = 'master'257# version = '4.0.0-dev'258259# [dependencies.pallet-contracts-rpc-runtime-api]260# git = 'https://github.com/paritytech/substrate'261# default-features = false262# branch = 'master'263# version = '4.0.0-dev'264265[dependencies.pallet-randomness-collective-flip]266default-features = false267git = "https://github.com/paritytech/substrate"268branch = "polkadot-v0.9.30"269270[dependencies.pallet-sudo]271default-features = false272git = "https://github.com/paritytech/substrate"273branch = "polkadot-v0.9.30"274275[dependencies.pallet-timestamp]276default-features = false277git = "https://github.com/paritytech/substrate"278branch = "polkadot-v0.9.30"279280[dependencies.pallet-transaction-payment]281default-features = false282git = "https://github.com/paritytech/substrate"283branch = "polkadot-v0.9.30"284285[dependencies.pallet-transaction-payment-rpc-runtime-api]286default-features = false287git = "https://github.com/paritytech/substrate"288branch = "polkadot-v0.9.30"289290[dependencies.pallet-treasury]291default-features = false292git = "https://github.com/paritytech/substrate"293branch = "polkadot-v0.9.30"294295[dependencies.sp-arithmetic]296default-features = false297git = "https://github.com/paritytech/substrate"298branch = "polkadot-v0.9.30"299300[dependencies.sp-api]301default-features = false302git = "https://github.com/paritytech/substrate"303branch = "polkadot-v0.9.30"304305[dependencies.sp-block-builder]306default-features = false307git = "https://github.com/paritytech/substrate"308branch = "polkadot-v0.9.30"309310[dependencies.sp-core]311default-features = false312git = "https://github.com/paritytech/substrate"313branch = "polkadot-v0.9.30"314315[dependencies.sp-consensus-aura]316default-features = false317git = "https://github.com/paritytech/substrate"318branch = "polkadot-v0.9.30"319320[dependencies.sp-inherents]321default-features = false322git = "https://github.com/paritytech/substrate"323branch = "polkadot-v0.9.30"324325[dependencies.sp-io]326default-features = false327git = "https://github.com/paritytech/substrate"328branch = "polkadot-v0.9.30"329330[dependencies.sp-offchain]331default-features = false332git = "https://github.com/paritytech/substrate"333branch = "polkadot-v0.9.30"334335[dependencies.sp-runtime]336default-features = false337git = "https://github.com/paritytech/substrate"338branch = "polkadot-v0.9.30"339340[dependencies.sp-session]341default-features = false342git = "https://github.com/paritytech/substrate"343branch = "polkadot-v0.9.30"344345[dependencies.sp-std]346default-features = false347git = "https://github.com/paritytech/substrate"348branch = "polkadot-v0.9.30"349350[dependencies.sp-transaction-pool]351default-features = false352git = "https://github.com/paritytech/substrate"353branch = "polkadot-v0.9.30"354355[dependencies.sp-version]356default-features = false357git = "https://github.com/paritytech/substrate"358branch = "polkadot-v0.9.30"359360[dependencies.smallvec]361version = '1.6.1'362363################################################################################364# Cumulus dependencies365366[dependencies.parachain-info]367default-features = false368git = "https://github.com/paritytech/cumulus"369branch = "polkadot-v0.9.30"370371[dependencies.cumulus-pallet-aura-ext]372git = "https://github.com/paritytech/cumulus"373branch = "polkadot-v0.9.30"374default-features = false375376[dependencies.cumulus-pallet-parachain-system]377git = "https://github.com/paritytech/cumulus"378branch = "polkadot-v0.9.30"379default-features = false380381[dependencies.cumulus-primitives-core]382git = "https://github.com/paritytech/cumulus"383branch = "polkadot-v0.9.30"384default-features = false385386[dependencies.cumulus-pallet-xcm]387git = "https://github.com/paritytech/cumulus"388branch = "polkadot-v0.9.30"389default-features = false390391[dependencies.cumulus-pallet-dmp-queue]392git = "https://github.com/paritytech/cumulus"393branch = "polkadot-v0.9.30"394default-features = false395396[dependencies.cumulus-pallet-xcmp-queue]397git = "https://github.com/paritytech/cumulus"398branch = "polkadot-v0.9.30"399default-features = false400401[dependencies.cumulus-primitives-utility]402git = "https://github.com/paritytech/cumulus"403branch = "polkadot-v0.9.30"404default-features = false405406[dependencies.cumulus-primitives-timestamp]407git = "https://github.com/paritytech/cumulus"408branch = "polkadot-v0.9.30"409default-features = false410411################################################################################412# Polkadot dependencies413414[dependencies.polkadot-parachain]415git = "https://github.com/paritytech/polkadot"416branch = "release-v0.9.30"417default-features = false418419[dependencies.xcm]420git = "https://github.com/paritytech/polkadot"421branch = "release-v0.9.30"422default-features = false423424[dependencies.xcm-builder]425git = "https://github.com/paritytech/polkadot"426branch = "release-v0.9.30"427default-features = false428429[dependencies.xcm-executor]430git = "https://github.com/paritytech/polkadot"431branch = "release-v0.9.30"432default-features = false433434[dependencies.pallet-xcm]435git = "https://github.com/paritytech/polkadot"436branch = "release-v0.9.30"437default-features = false438439################################################################################440# local dependencies441442[dependencies]443orml-vesting.workspace = true444orml-xtokens.workspace = true445orml-tokens.workspace = true446orml-traits.workspace = true447448log = { version = "0.4.16", default-features = false }449up-common = { path = "../../primitives/common", default-features = false }450scale-info = { version = "2.0.1", default-features = false, features = [451    "derive",452] }453derivative = "2.2.0"454pallet-unique = { path = '../../pallets/unique', default-features = false }455up-rpc = { path = "../../primitives/rpc", default-features = false }456app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }457rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }458pallet-inflation = { path = '../../pallets/inflation', default-features = false }459pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }460up-data-structs = { path = '../../primitives/data-structs', default-features = false }461pallet-configuration = { default-features = false, path = "../../pallets/configuration" }462pallet-common = { default-features = false, path = "../../pallets/common" }463pallet-structure = { default-features = false, path = "../../pallets/structure" }464pallet-fungible = { default-features = false, path = "../../pallets/fungible" }465pallet-refungible = { default-features = false, path = "../../pallets/refungible" }466pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }467pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }468pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }469pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }470# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }471pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.30", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }472pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }473pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }474pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }475pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }476pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }477pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }478pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }479fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }480fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }481fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.30" }482evm-coder = { default-features = false, path = '../../crates/evm-coder' }483up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = 'polkadot-v0.9.30' }484pallet-foreign-assets = { default-features = false, path = "../../pallets/foreign-assets" }485486################################################################################487# Other Dependencies488489impl-trait-for-tuples = "0.2.2"490491################################################################################492# Dev Dependencies493494[dev-dependencies.logtest]495version = "2.0.0"496497################################################################################498# Build Dependencies499500[build-dependencies.substrate-wasm-builder]501git = "https://github.com/paritytech/substrate"502branch = "polkadot-v0.9.30"