From a7fe2533e0cfccfe4878af9b275c2bc99896b66b Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 18 May 2022 17:56:59 +0000 Subject: [PATCH] feat: integrate rmrk proxy into opal runtime --- --- 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" } --- a/runtime/opal/src/lib.rs +++ b/runtime/opal/src/lib.rs @@ -901,6 +901,10 @@ type WeightInfo = pallet_nonfungible::weights::SubstrateWeight; } +impl pallet_rmrk_proxy::Config for Runtime { + type Event = Event; +} + impl pallet_unique::Config for Runtime { type Event = Event; type WeightInfo = pallet_unique::weights::SubstrateWeight; @@ -1013,6 +1017,7 @@ Refungible: pallet_refungible::{Pallet, Storage} = 68, Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69, Structure: pallet_structure::{Pallet, Call, Storage, Event} = 70, + RmrkProxy: pallet_rmrk_proxy::{Pallet, Call, Storage, Event} = 71, // Frontier EVM: pallet_evm::{Pallet, Config, Call, Storage, Event} = 100, -- gitstuff