difftreelog
feat enable refungible on unique
in: master
2 files changed
runtime/unique/Cargo.tomldiffbeforeafterboth1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Unique Runtime'8edition = '2021'9homepage = 'https://unique.network'10license = 'GPLv3'11name = 'unique-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version.workspace = true1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std', 'unique-runtime']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21pov-estimate = []22runtime-benchmarks = [23 'frame-benchmarking',24 'frame-support/runtime-benchmarks',25 'frame-system-benchmarking',26 'frame-system/runtime-benchmarks',27 'hex-literal',28 'pallet-app-promotion/runtime-benchmarks',29 'pallet-balances/runtime-benchmarks',30 'pallet-collator-selection/runtime-benchmarks',31 'pallet-common/runtime-benchmarks',32 'pallet-configuration/runtime-benchmarks',33 'pallet-ethereum/runtime-benchmarks',34 'pallet-evm-coder-substrate/runtime-benchmarks',35 'pallet-evm-migration/runtime-benchmarks',36 'pallet-foreign-assets/runtime-benchmarks',37 'pallet-fungible/runtime-benchmarks',38 'pallet-identity/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',40 'pallet-maintenance/runtime-benchmarks',41 'pallet-nonfungible/runtime-benchmarks',42 'pallet-refungible/runtime-benchmarks',43 'pallet-structure/runtime-benchmarks',44 'pallet-timestamp/runtime-benchmarks',45 'pallet-unique/runtime-benchmarks',46 'pallet-xcm/runtime-benchmarks',47 'sp-runtime/runtime-benchmarks',48 'up-data-structs/runtime-benchmarks',49 'xcm-builder/runtime-benchmarks',50]51std = [52 'codec/std',53 'cumulus-pallet-aura-ext/std',54 'cumulus-pallet-parachain-system/std',55 'cumulus-pallet-xcm/std',56 'cumulus-pallet-xcmp-queue/std',57 'cumulus-primitives-core/std',58 'cumulus-primitives-utility/std',59 'frame-executive/std',60 'frame-support/std',61 'frame-system-rpc-runtime-api/std',62 'frame-system/std',63 'frame-try-runtime/std',64 'pallet-aura/std',65 'pallet-balances/std',66 # 'pallet-contracts/std',67 # 'pallet-contracts-primitives/std',68 # 'pallet-contracts-rpc-runtime-api/std',69 # 'pallet-contract-helpers/std',70 "pallet-authorship/std",71 "pallet-identity/std",72 "pallet-session/std",73 "sp-consensus-aura/std",74 'app-promotion-rpc/std',75 'evm-coder/std',76 'fp-evm-mapping/std',77 'fp-rpc/std',78 'fp-self-contained/std',79 'pallet-app-promotion/std',80 'pallet-base-fee/std',81 'pallet-charge-transaction/std',82 'pallet-collator-selection/std',83 'pallet-common/std',84 'pallet-configuration/std',85 'pallet-ethereum/std',86 'pallet-evm-coder-substrate/std',87 'pallet-evm-contract-helpers/std',88 'pallet-evm-migration/std',89 'pallet-evm-transaction-payment/std',90 'pallet-evm/std',91 'pallet-fungible/std',92 'pallet-inflation/std',93 'pallet-nonfungible/std',94 'pallet-randomness-collective-flip/std',95 'pallet-refungible/std',96 'pallet-structure/std',97 'pallet-sudo/std',98 'pallet-timestamp/std',99 'pallet-transaction-payment-rpc-runtime-api/std',100 'pallet-transaction-payment/std',101 'pallet-treasury/std',102 'pallet-unique/std',103 'parachain-info/std',104 'sp-api/std',105 'sp-block-builder/std',106 'sp-core/std',107 'sp-inherents/std',108 'sp-io/std',109 'sp-offchain/std',110 'sp-runtime/std',111 'sp-session/std',112 'sp-std/std',113 'sp-transaction-pool/std',114 'sp-version/std',115 'up-common/std',116 'up-data-structs/std',117 'up-pov-estimate-rpc/std',118 'up-rpc/std',119 'up-sponsorship/std',120 'xcm-builder/std',121 'xcm-executor/std',122 'xcm/std',123124 "orml-tokens/std",125 "orml-traits/std",126 "orml-vesting/std",127 "orml-xtokens/std",128 "pallet-foreign-assets/std",129 "pallet-maintenance/std",130]131stubgen = ["evm-coder/stubgen"]132try-runtime = [133 "pallet-authorship/try-runtime",134 "pallet-collator-selection/try-runtime",135 "pallet-identity/try-runtime",136 "pallet-session/try-runtime",137 'cumulus-pallet-aura-ext/try-runtime',138 'cumulus-pallet-dmp-queue/try-runtime',139 'cumulus-pallet-parachain-system/try-runtime',140 'cumulus-pallet-xcm/try-runtime',141 'cumulus-pallet-xcmp-queue/try-runtime',142 'fp-self-contained/try-runtime',143 'frame-executive/try-runtime',144 'frame-support/try-runtime',145 'frame-system/try-runtime',146 'frame-try-runtime',147 'orml-tokens/try-runtime',148 'orml-vesting/try-runtime',149 'orml-xtokens/try-runtime',150 'pallet-app-promotion/try-runtime',151 'pallet-aura/try-runtime',152 'pallet-balances/try-runtime',153 'pallet-charge-transaction/try-runtime',154 'pallet-common/try-runtime',155 'pallet-configuration/try-runtime',156 'pallet-ethereum/try-runtime',157 'pallet-evm-coder-substrate/try-runtime',158 'pallet-evm-contract-helpers/try-runtime',159 'pallet-evm-migration/try-runtime',160 'pallet-evm-transaction-payment/try-runtime',161 'pallet-evm/try-runtime',162 'pallet-foreign-assets/try-runtime',163 'pallet-fungible/try-runtime',164 'pallet-inflation/try-runtime',165 'pallet-maintenance/try-runtime',166 'pallet-nonfungible/try-runtime',167 'pallet-randomness-collective-flip/try-runtime',168 'pallet-refungible/try-runtime',169 'pallet-structure/try-runtime',170 'pallet-sudo/try-runtime',171 'pallet-timestamp/try-runtime',172 'pallet-transaction-payment/try-runtime',173 'pallet-treasury/try-runtime',174 'pallet-unique/try-runtime',175 'pallet-xcm/try-runtime',176 'parachain-info/try-runtime',177]178unique-runtime = ['foreign-assets']179180collator-selection = []181foreign-assets = []182refungible = []183scheduler = []184185################################################################################186# local dependencies187188[dependencies]189# Note: `package = "parity-scale-codec"` must be supplied since the `Encode` macro searches for it.190codec = { workspace = true, package = "parity-scale-codec" }191192cumulus-pallet-aura-ext = { workspace = true }193cumulus-pallet-dmp-queue = { workspace = true }194cumulus-pallet-parachain-system = { workspace = true }195cumulus-pallet-xcm = { workspace = true }196cumulus-pallet-xcmp-queue = { workspace = true }197cumulus-primitives-core = { workspace = true }198cumulus-primitives-timestamp = { workspace = true }199cumulus-primitives-utility = { workspace = true }200frame-executive = { workspace = true }201frame-support = { workspace = true }202frame-system = { workspace = true }203frame-system-rpc-runtime-api = { workspace = true }204orml-tokens = { workspace = true }205orml-traits = { workspace = true }206orml-vesting = { workspace = true }207orml-xtokens = { workspace = true }208pallet-aura = { workspace = true }209pallet-authorship = { workspace = true }210pallet-balances = { workspace = true }211pallet-randomness-collective-flip = { workspace = true }212pallet-session = { workspace = true }213pallet-sudo = { workspace = true }214pallet-timestamp = { workspace = true }215pallet-transaction-payment = { workspace = true }216pallet-transaction-payment-rpc-runtime-api = { workspace = true }217pallet-treasury = { workspace = true }218pallet-xcm = { workspace = true }219parachain-info = { workspace = true }220polkadot-parachain = { workspace = true }221smallvec = { workspace = true }222sp-api = { workspace = true }223sp-arithmetic = { workspace = true }224sp-block-builder = { workspace = true }225sp-consensus-aura = { workspace = true }226sp-core = { workspace = true }227sp-inherents = { workspace = true }228sp-io = { workspace = true }229sp-offchain = { workspace = true }230sp-runtime = { workspace = true }231sp-session = { workspace = true }232sp-std = { workspace = true }233sp-transaction-pool = { workspace = true }234sp-version = { workspace = true }235xcm = { workspace = true }236xcm-builder = { workspace = true }237xcm-executor = { workspace = true }238239app-promotion-rpc = { workspace = true }240derivative = { workspace = true }241log = { workspace = true }242pallet-app-promotion = { workspace = true }243pallet-collator-selection = { workspace = true }244pallet-common = { workspace = true }245pallet-configuration = { workspace = true }246pallet-fungible = { workspace = true }247pallet-identity = { workspace = true }248pallet-inflation = { workspace = true }249pallet-nonfungible = { workspace = true }250pallet-refungible = { workspace = true }251pallet-structure = { workspace = true }252pallet-unique = { workspace = true }253scale-info = { workspace = true }254up-common = { workspace = true }255up-data-structs = { workspace = true }256up-pov-estimate-rpc = { workspace = true }257up-rpc = { workspace = true }258# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }259evm-coder = { workspace = true }260fp-evm = { workspace = true }261fp-evm-mapping = { workspace = true }262fp-rpc = { workspace = true }263fp-self-contained = { workspace = true }264num_enum = { workspace = true }265pallet-base-fee = { workspace = true }266pallet-charge-transaction = { workspace = true }267pallet-ethereum = { workspace = true }268pallet-evm = { workspace = true }269pallet-evm-coder-substrate = { workspace = true }270pallet-evm-contract-helpers = { workspace = true }271pallet-evm-migration = { workspace = true }272pallet-evm-precompile-simple = { workspace = true }273pallet-evm-transaction-payment = { workspace = true }274pallet-foreign-assets = { workspace = true }275pallet-maintenance = { workspace = true }276precompile-utils-macro = { workspace = true }277up-sponsorship = { workspace = true }278279################################################################################280# Optional dependencies281282frame-system-benchmarking = { workspace = true, optional = true }283frame-benchmarking = { workspace = true, optional = true }284frame-try-runtime = { workspace = true, optional = true }285serde = { workspace = true, optional = true }286hex-literal = { workspace = true, optional = true }287288################################################################################289# Test dependencies290291pallet-test-utils = { workspace = true }292293################################################################################294# Other Dependencies295296impl-trait-for-tuples = { workspace = true }297298[dev-dependencies]299logtest = { workspace = true }300301[build-dependencies]302substrate-wasm-builder = { workspace = true }tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -85,7 +85,10 @@
);
} else if (chain.eq('UNIQUE')) {
// Insert Unique additional pallets here
- requiredPallets.push(foreignAssets);
+ requiredPallets.push(
+ refungible,
+ foreignAssets,
+ );
}
});
});