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

difftreelog

feat integrate rmrk proxy into opal runtime

Daniel Shiposha2022-05-18parent: #7faf112.patch.diff
in: master

2 files changed

modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -33,6 +33,7 @@
     'pallet-fungible/runtime-benchmarks',
     'pallet-refungible/runtime-benchmarks',
     'pallet-nonfungible/runtime-benchmarks',
+    'pallet-rmrk-proxy/runtime-benchmarks',
     'pallet-unique/runtime-benchmarks',
     'pallet-inflation/runtime-benchmarks',
     'pallet-xcm/runtime-benchmarks',
@@ -89,6 +90,7 @@
     'pallet-fungible/std',
     'pallet-refungible/std',
     'pallet-nonfungible/std',
+    'pallet-rmrk-proxy/std',
     'pallet-unique/std',
     'pallet-unq-scheduler/std',
     'pallet-charge-transaction/std',
@@ -415,6 +417,7 @@
 pallet-fungible = { default-features = false, path = "../../pallets/fungible" }
 pallet-refungible = { default-features = false, path = "../../pallets/refungible" }
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
+pallet-rmrk-proxy = { default-features = false, path = "../../pallets/rmrk-proxy" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
 pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
901 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;901 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;
902}902}
903
904impl pallet_rmrk_proxy::Config for Runtime {
905 type Event = Event;
906}
903907
904impl pallet_unique::Config for Runtime {908impl pallet_unique::Config for Runtime {
905 type Event = Event;909 type Event = Event;
1013 Refungible: pallet_refungible::{Pallet, Storage} = 68,1017 Refungible: pallet_refungible::{Pallet, Storage} = 68,
1014 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,1018 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,
1015 Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,1019 Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,
1020 RmrkProxy: pallet_rmrk_proxy::{Pallet, Call, Storage, Event<T>} = 71,
10161021
1017 // Frontier1022 // Frontier
1018 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1023 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,