difftreelog
feat enable sponsorship primitives
in: master
2 files changed
runtime/Cargo.tomldiffbeforeafterboth1################################################################################2# Package 34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Substrate node nft'8edition = '2018'9homepage = 'https://unique.network'10license = 'All Rights Reserved'11name = 'nft-runtime'12repository = 'https://github.com/usetech-llc/nft_private/'13version = '3.0.0'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std']20runtime-benchmarks = [21 'hex-literal',22 'frame-benchmarking',23 'frame-support/runtime-benchmarks',24 'frame-system-benchmarking',25 'frame-system/runtime-benchmarks',26 'pallet-balances/runtime-benchmarks',27 'pallet-timestamp/runtime-benchmarks',28 'pallet-nft/runtime-benchmarks',29 'pallet-inflation/runtime-benchmarks',30 'sp-runtime/runtime-benchmarks',31]32std = [33 'codec/std',34 'cumulus-pallet-aura-ext/std',35 'cumulus-pallet-parachain-system/std',36 'cumulus-pallet-xcm/std',37 'cumulus-pallet-xcmp-queue/std',38 'cumulus-primitives-core/std',39 'cumulus-primitives-utility/std',40 'frame-executive/std',41 'frame-support/std',42 'frame-system/std',43 'frame-system-rpc-runtime-api/std',44 'pallet-aura/std',45 'pallet-balances/std',46 'pallet-contracts/std',47 'pallet-contracts-primitives/std',48 'pallet-contracts-rpc-runtime-api/std',49 'pallet-randomness-collective-flip/std',50 'pallet-sudo/std',51 'pallet-timestamp/std',52 'pallet-transaction-payment/std',53 'pallet-transaction-payment-rpc-runtime-api/std',54 'pallet-treasury/std',55 'pallet-vesting/std',56 'pallet-evm/std',57 'pallet-ethereum/std',58 'fp-rpc/std',59 'parachain-info/std',60 'serde',61 'pallet-inflation/std',62 'pallet-nft/std',63 'pallet-scheduler/std',64 'pallet-nft-charge-transaction/std',65 'pallet-nft-transaction-payment/std', 66 'nft-data-structs/std',67 'sp-api/std',68 'sp-block-builder/std',69 "sp-consensus-aura/std",70 'sp-core/std',71 'sp-inherents/std',72 'sp-io/std',73 'sp-offchain/std',74 'sp-runtime/std',75 'sp-session/std',76 'sp-std/std',77 'sp-transaction-pool/std',78 'sp-version/std',79 'xcm/std',80 'xcm-builder/std',81 'xcm-executor/std',82]8384################################################################################85# Substrate Dependencies8687[dependencies.codec]88default-features = false89features = ['derive']90package = 'parity-scale-codec'91version = '2.0.0'9293[dependencies.frame-benchmarking]94default-features = false95git = 'https://github.com/paritytech/substrate.git'96optional = true97branch = 'polkadot-v0.9.3'98version = '3.0.0'99100[dependencies.frame-executive]101default-features = false102git = 'https://github.com/paritytech/substrate.git'103branch = 'polkadot-v0.9.3'104version = '3.0.0'105106[dependencies.frame-support]107default-features = false108git = 'https://github.com/paritytech/substrate.git'109branch = 'polkadot-v0.9.3'110version = '3.0.0'111112[dependencies.frame-system]113default-features = false114git = 'https://github.com/paritytech/substrate.git'115branch = 'polkadot-v0.9.3'116version = '3.0.0'117118[dependencies.frame-system-benchmarking]119default-features = false120git = 'https://github.com/paritytech/substrate.git'121optional = true122branch = 'polkadot-v0.9.3'123version = '3.0.0'124125[dependencies.frame-system-rpc-runtime-api]126default-features = false127git = 'https://github.com/paritytech/substrate.git'128branch = 'polkadot-v0.9.3'129version = '3.0.0'130131[dependencies.hex-literal]132optional = true133version = '0.3.1'134135[dependencies.serde]136default-features = false137features = ['derive']138optional = true139version = '1.0.119'140141[dependencies.pallet-aura]142default-features = false143git = 'https://github.com/paritytech/substrate.git'144branch = 'polkadot-v0.9.3'145version = '3.0.0'146147[dependencies.pallet-balances]148default-features = false149git = 'https://github.com/paritytech/substrate.git'150branch = 'polkadot-v0.9.3'151version = '3.0.0'152153# Contracts specific packages154[dependencies.pallet-contracts]155git = 'https://github.com/paritytech/substrate.git'156default-features = false157branch = 'polkadot-v0.9.3'158version = '3.0.0'159160[dependencies.pallet-contracts-primitives]161git = 'https://github.com/paritytech/substrate.git'162default-features = false163branch = 'polkadot-v0.9.3'164version = '3.0.0'165166[dependencies.pallet-contracts-rpc-runtime-api]167git = 'https://github.com/paritytech/substrate.git'168default-features = false169branch = 'polkadot-v0.9.3'170version = '3.0.0'171172[dependencies.pallet-randomness-collective-flip]173default-features = false174git = 'https://github.com/paritytech/substrate.git'175branch = 'polkadot-v0.9.3'176version = '3.0.0'177178[dependencies.pallet-sudo]179default-features = false180git = 'https://github.com/paritytech/substrate.git'181branch = 'polkadot-v0.9.3'182version = '3.0.0'183184[dependencies.pallet-timestamp]185default-features = false186git = 'https://github.com/paritytech/substrate.git'187branch = 'polkadot-v0.9.3'188version = '3.0.0'189190[dependencies.pallet-transaction-payment]191default-features = false192git = 'https://github.com/paritytech/substrate.git'193branch = 'polkadot-v0.9.3'194version = '3.0.0'195196[dependencies.pallet-transaction-payment-rpc-runtime-api]197default-features = false198git = 'https://github.com/paritytech/substrate.git'199branch = 'polkadot-v0.9.3'200version = '3.0.0'201202[dependencies.pallet-treasury]203default-features = false204git = 'https://github.com/paritytech/substrate.git'205branch = 'polkadot-v0.9.3'206version = '3.0.0'207208[dependencies.pallet-vesting]209default-features = false210git = 'https://github.com/paritytech/substrate.git'211branch = 'polkadot-v0.9.3'212version = '3.0.0'213214[dependencies.sp-arithmetic]215default-features = false216git = 'https://github.com/paritytech/substrate.git'217branch = 'polkadot-v0.9.3'218version = '3.0.0'219220[dependencies.sp-api]221default-features = false222git = 'https://github.com/paritytech/substrate.git'223branch = 'polkadot-v0.9.3'224version = '3.0.0'225226[dependencies.sp-block-builder]227default-features = false228git = 'https://github.com/paritytech/substrate.git'229branch = 'polkadot-v0.9.3'230version = '3.0.0'231232[dependencies.sp-core]233default-features = false234git = 'https://github.com/paritytech/substrate.git'235branch = 'polkadot-v0.9.3'236version = '3.0.0'237238[dependencies.sp-consensus-aura]239default-features = false240git = 'https://github.com/paritytech/substrate.git'241branch = 'polkadot-v0.9.3'242version = '0.9.0'243244[dependencies.sp-inherents]245default-features = false246git = 'https://github.com/paritytech/substrate.git'247branch = 'polkadot-v0.9.3'248version = '3.0.0'249250[dependencies.sp-io]251default-features = false252git = 'https://github.com/paritytech/substrate.git'253branch = 'polkadot-v0.9.3'254version = '3.0.0'255256[dependencies.sp-offchain]257default-features = false258git = 'https://github.com/paritytech/substrate.git'259branch = 'polkadot-v0.9.3'260version = '3.0.0'261262[dependencies.sp-runtime]263default-features = false264git = 'https://github.com/paritytech/substrate.git'265branch = 'polkadot-v0.9.3'266version = '3.0.0'267268[dependencies.sp-session]269default-features = false270git = 'https://github.com/paritytech/substrate.git'271branch = 'polkadot-v0.9.3'272version = '3.0.0'273274[dependencies.sp-std]275default-features = false276git = 'https://github.com/paritytech/substrate.git'277branch = 'polkadot-v0.9.3'278version = '3.0.0'279280[dependencies.sp-transaction-pool]281default-features = false282git = 'https://github.com/paritytech/substrate.git'283branch = 'polkadot-v0.9.3'284version = '3.0.0'285286[dependencies.sp-version]287default-features = false288git = 'https://github.com/paritytech/substrate.git'289branch = 'polkadot-v0.9.3'290version = '3.0.0'291292[dependencies.smallvec]293version = '1.4.1'294295################################################################################296# Cumulus dependencies297298[dependencies.parachain-info]299default-features = false300git = 'https://github.com/paritytech/cumulus.git'301branch = 'polkadot-v0.9.3'302version = '0.1.0'303304[dependencies.cumulus-pallet-aura-ext]305git = 'https://github.com/paritytech/cumulus.git'306branch = 'polkadot-v0.9.3'307default-features = false308309[dependencies.cumulus-pallet-parachain-system]310git = 'https://github.com/paritytech/cumulus.git'311branch = 'polkadot-v0.9.3'312default-features = false313314[dependencies.cumulus-primitives-core]315git = 'https://github.com/paritytech/cumulus.git'316branch = 'polkadot-v0.9.3'317default-features = false318319[dependencies.cumulus-pallet-xcm]320git = 'https://github.com/paritytech/cumulus.git'321branch = 'polkadot-v0.9.3'322default-features = false323324[dependencies.cumulus-pallet-dmp-queue]325git = 'https://github.com/paritytech/cumulus.git'326branch = 'polkadot-v0.9.3'327default-features = false328329[dependencies.cumulus-pallet-xcmp-queue]330git = 'https://github.com/paritytech/cumulus.git'331branch = 'polkadot-v0.9.3'332default-features = false333334[dependencies.cumulus-primitives-utility]335git = 'https://github.com/paritytech/cumulus.git'336branch = 'polkadot-v0.9.3'337default-features = false338339################################################################################340# Polkadot dependencies341342[dependencies.polkadot-parachain]343git = 'https://github.com/paritytech/polkadot'344branch = 'release-v0.9.3'345default-features = false346347[dependencies.xcm]348git = 'https://github.com/paritytech/polkadot'349branch = 'release-v0.9.3'350default-features = false351352[dependencies.xcm-builder]353git = 'https://github.com/paritytech/polkadot'354branch = 'release-v0.9.3'355default-features = false356357[dependencies.xcm-executor]358git = 'https://github.com/paritytech/polkadot'359branch = 'release-v0.9.3'360default-features = false361362[dependencies.pallet-xcm]363git = 'https://github.com/paritytech/polkadot'364branch = 'release-v0.9.3'365default-features = false366367368369################################################################################370# local dependencies371372[dependencies]373pallet-nft = { path = '../pallets/nft', default-features = false, version = '3.0.0' }374pallet-inflation = { path = '../pallets/inflation', default-features = false, version = '3.0.0' }375nft-data-structs = { path = '../primitives', default-features = false, version = '0.9.0' }376pallet-scheduler = { path = '../pallets/scheduler', default-features = false, version = '3.0.0' }377pallet-nft-transaction-payment = { path = '../pallets/nft-transaction-payment', default-features = false, version = '3.0.0' }378pallet-nft-charge-transaction = { path = '../pallets/nft-charge-transaction', default-features = false, version = '3.0.0' }379380pallet-evm = { default-features = false, version = "4.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }381pallet-ethereum = { default-features = false, version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }382fp-rpc = { default-features = false, version = "2.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }383384################################################################################385# Build Dependencies386387[build-dependencies]388substrate-wasm-builder = '4.0.0'1################################################################################2# Package 34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6build = 'build.rs'7description = 'Substrate node nft'8edition = '2018'9homepage = 'https://unique.network'10license = 'All Rights Reserved'11name = 'nft-runtime'12repository = 'https://github.com/usetech-llc/nft_private/'13version = '3.0.0'1415[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']1718[features]19default = ['std']20runtime-benchmarks = [21 'hex-literal',22 'frame-benchmarking',23 'frame-support/runtime-benchmarks',24 'frame-system-benchmarking',25 'frame-system/runtime-benchmarks',26 'pallet-balances/runtime-benchmarks',27 'pallet-timestamp/runtime-benchmarks',28 'pallet-nft/runtime-benchmarks',29 'pallet-inflation/runtime-benchmarks',30 'sp-runtime/runtime-benchmarks',31]32std = [33 'codec/std',34 'cumulus-pallet-aura-ext/std',35 'cumulus-pallet-parachain-system/std',36 'cumulus-pallet-xcm/std',37 'cumulus-pallet-xcmp-queue/std',38 'cumulus-primitives-core/std',39 'cumulus-primitives-utility/std',40 'frame-executive/std',41 'frame-support/std',42 'frame-system/std',43 'frame-system-rpc-runtime-api/std',44 'pallet-aura/std',45 'pallet-balances/std',46 'pallet-contracts/std',47 'pallet-contracts-primitives/std',48 'pallet-contracts-rpc-runtime-api/std',49 'pallet-contract-helpers/std',50 'pallet-randomness-collective-flip/std',51 'pallet-sudo/std',52 'pallet-timestamp/std',53 'pallet-transaction-payment/std',54 'pallet-transaction-payment-rpc-runtime-api/std',55 'pallet-treasury/std',56 'pallet-vesting/std',57 'pallet-evm/std',58 'pallet-ethereum/std',59 'fp-rpc/std',60 'parachain-info/std',61 'serde',62 'pallet-inflation/std',63 'pallet-nft/std',64 'pallet-scheduler/std',65 'pallet-nft-charge-transaction/std',66 'pallet-nft-transaction-payment/std', 67 'nft-data-structs/std',68 'sp-api/std',69 'sp-block-builder/std',70 "sp-consensus-aura/std",71 'sp-core/std',72 'sp-inherents/std',73 'sp-io/std',74 'sp-offchain/std',75 'sp-runtime/std',76 'sp-session/std',77 'sp-std/std',78 'sp-transaction-pool/std',79 'sp-version/std',80 'xcm/std',81 'xcm-builder/std',82 'xcm-executor/std',83]8485################################################################################86# Substrate Dependencies8788[dependencies.codec]89default-features = false90features = ['derive']91package = 'parity-scale-codec'92version = '2.0.0'9394[dependencies.frame-benchmarking]95default-features = false96git = 'https://github.com/paritytech/substrate.git'97optional = true98branch = 'polkadot-v0.9.3'99version = '3.0.0'100101[dependencies.frame-executive]102default-features = false103git = 'https://github.com/paritytech/substrate.git'104branch = 'polkadot-v0.9.3'105version = '3.0.0'106107[dependencies.frame-support]108default-features = false109git = 'https://github.com/paritytech/substrate.git'110branch = 'polkadot-v0.9.3'111version = '3.0.0'112113[dependencies.frame-system]114default-features = false115git = 'https://github.com/paritytech/substrate.git'116branch = 'polkadot-v0.9.3'117version = '3.0.0'118119[dependencies.frame-system-benchmarking]120default-features = false121git = 'https://github.com/paritytech/substrate.git'122optional = true123branch = 'polkadot-v0.9.3'124version = '3.0.0'125126[dependencies.frame-system-rpc-runtime-api]127default-features = false128git = 'https://github.com/paritytech/substrate.git'129branch = 'polkadot-v0.9.3'130version = '3.0.0'131132[dependencies.hex-literal]133optional = true134version = '0.3.1'135136[dependencies.serde]137default-features = false138features = ['derive']139optional = true140version = '1.0.119'141142[dependencies.pallet-aura]143default-features = false144git = 'https://github.com/paritytech/substrate.git'145branch = 'polkadot-v0.9.3'146version = '3.0.0'147148[dependencies.pallet-balances]149default-features = false150git = 'https://github.com/paritytech/substrate.git'151branch = 'polkadot-v0.9.3'152version = '3.0.0'153154# Contracts specific packages155[dependencies.pallet-contracts]156git = 'https://github.com/paritytech/substrate.git'157default-features = false158branch = 'polkadot-v0.9.3'159version = '3.0.0'160161[dependencies.pallet-contracts-primitives]162git = 'https://github.com/paritytech/substrate.git'163default-features = false164branch = 'polkadot-v0.9.3'165version = '3.0.0'166167[dependencies.pallet-contracts-rpc-runtime-api]168git = 'https://github.com/paritytech/substrate.git'169default-features = false170branch = 'polkadot-v0.9.3'171version = '3.0.0'172173[dependencies.pallet-randomness-collective-flip]174default-features = false175git = 'https://github.com/paritytech/substrate.git'176branch = 'polkadot-v0.9.3'177version = '3.0.0'178179[dependencies.pallet-sudo]180default-features = false181git = 'https://github.com/paritytech/substrate.git'182branch = 'polkadot-v0.9.3'183version = '3.0.0'184185[dependencies.pallet-timestamp]186default-features = false187git = 'https://github.com/paritytech/substrate.git'188branch = 'polkadot-v0.9.3'189version = '3.0.0'190191[dependencies.pallet-transaction-payment]192default-features = false193git = 'https://github.com/paritytech/substrate.git'194branch = 'polkadot-v0.9.3'195version = '3.0.0'196197[dependencies.pallet-transaction-payment-rpc-runtime-api]198default-features = false199git = 'https://github.com/paritytech/substrate.git'200branch = 'polkadot-v0.9.3'201version = '3.0.0'202203[dependencies.pallet-treasury]204default-features = false205git = 'https://github.com/paritytech/substrate.git'206branch = 'polkadot-v0.9.3'207version = '3.0.0'208209[dependencies.pallet-vesting]210default-features = false211git = 'https://github.com/paritytech/substrate.git'212branch = 'polkadot-v0.9.3'213version = '3.0.0'214215[dependencies.sp-arithmetic]216default-features = false217git = 'https://github.com/paritytech/substrate.git'218branch = 'polkadot-v0.9.3'219version = '3.0.0'220221[dependencies.sp-api]222default-features = false223git = 'https://github.com/paritytech/substrate.git'224branch = 'polkadot-v0.9.3'225version = '3.0.0'226227[dependencies.sp-block-builder]228default-features = false229git = 'https://github.com/paritytech/substrate.git'230branch = 'polkadot-v0.9.3'231version = '3.0.0'232233[dependencies.sp-core]234default-features = false235git = 'https://github.com/paritytech/substrate.git'236branch = 'polkadot-v0.9.3'237version = '3.0.0'238239[dependencies.sp-consensus-aura]240default-features = false241git = 'https://github.com/paritytech/substrate.git'242branch = 'polkadot-v0.9.3'243version = '0.9.0'244245[dependencies.sp-inherents]246default-features = false247git = 'https://github.com/paritytech/substrate.git'248branch = 'polkadot-v0.9.3'249version = '3.0.0'250251[dependencies.sp-io]252default-features = false253git = 'https://github.com/paritytech/substrate.git'254branch = 'polkadot-v0.9.3'255version = '3.0.0'256257[dependencies.sp-offchain]258default-features = false259git = 'https://github.com/paritytech/substrate.git'260branch = 'polkadot-v0.9.3'261version = '3.0.0'262263[dependencies.sp-runtime]264default-features = false265git = 'https://github.com/paritytech/substrate.git'266branch = 'polkadot-v0.9.3'267version = '3.0.0'268269[dependencies.sp-session]270default-features = false271git = 'https://github.com/paritytech/substrate.git'272branch = 'polkadot-v0.9.3'273version = '3.0.0'274275[dependencies.sp-std]276default-features = false277git = 'https://github.com/paritytech/substrate.git'278branch = 'polkadot-v0.9.3'279version = '3.0.0'280281[dependencies.sp-transaction-pool]282default-features = false283git = 'https://github.com/paritytech/substrate.git'284branch = 'polkadot-v0.9.3'285version = '3.0.0'286287[dependencies.sp-version]288default-features = false289git = 'https://github.com/paritytech/substrate.git'290branch = 'polkadot-v0.9.3'291version = '3.0.0'292293[dependencies.smallvec]294version = '1.4.1'295296################################################################################297# Cumulus dependencies298299[dependencies.parachain-info]300default-features = false301git = 'https://github.com/paritytech/cumulus.git'302branch = 'polkadot-v0.9.3'303version = '0.1.0'304305[dependencies.cumulus-pallet-aura-ext]306git = 'https://github.com/paritytech/cumulus.git'307branch = 'polkadot-v0.9.3'308default-features = false309310[dependencies.cumulus-pallet-parachain-system]311git = 'https://github.com/paritytech/cumulus.git'312branch = 'polkadot-v0.9.3'313default-features = false314315[dependencies.cumulus-primitives-core]316git = 'https://github.com/paritytech/cumulus.git'317branch = 'polkadot-v0.9.3'318default-features = false319320[dependencies.cumulus-pallet-xcm]321git = 'https://github.com/paritytech/cumulus.git'322branch = 'polkadot-v0.9.3'323default-features = false324325[dependencies.cumulus-pallet-dmp-queue]326git = 'https://github.com/paritytech/cumulus.git'327branch = 'polkadot-v0.9.3'328default-features = false329330[dependencies.cumulus-pallet-xcmp-queue]331git = 'https://github.com/paritytech/cumulus.git'332branch = 'polkadot-v0.9.3'333default-features = false334335[dependencies.cumulus-primitives-utility]336git = 'https://github.com/paritytech/cumulus.git'337branch = 'polkadot-v0.9.3'338default-features = false339340################################################################################341# Polkadot dependencies342343[dependencies.polkadot-parachain]344git = 'https://github.com/paritytech/polkadot'345branch = 'release-v0.9.3'346default-features = false347348[dependencies.xcm]349git = 'https://github.com/paritytech/polkadot'350branch = 'release-v0.9.3'351default-features = false352353[dependencies.xcm-builder]354git = 'https://github.com/paritytech/polkadot'355branch = 'release-v0.9.3'356default-features = false357358[dependencies.xcm-executor]359git = 'https://github.com/paritytech/polkadot'360branch = 'release-v0.9.3'361default-features = false362363[dependencies.pallet-xcm]364git = 'https://github.com/paritytech/polkadot'365branch = 'release-v0.9.3'366default-features = false367368369370################################################################################371# local dependencies372373[dependencies]374pallet-nft = { path = '../pallets/nft', default-features = false, version = '3.0.0' }375pallet-inflation = { path = '../pallets/inflation', default-features = false, version = '3.0.0' }376nft-data-structs = { path = '../primitives/nft', default-features = false, version = '0.9.0' }377pallet-scheduler = { path = '../pallets/scheduler', default-features = false, version = '3.0.0' }378pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }379pallet-nft-transaction-payment = { path = '../pallets/nft-transaction-payment', default-features = false, version = '3.0.0' }380pallet-nft-charge-transaction = { path = '../pallets/nft-charge-transaction', default-features = false, version = '3.0.0' }381382pallet-evm = { default-features = false, version = "4.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }383pallet-ethereum = { default-features = false, version = "2.0.0-dev", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }384fp-rpc = { default-features = false, version = "2.0.0", git = "https://github.com/usetech-llc/frontier.git", branch = "injected-transactions-parachain" }385386################################################################################387# Build Dependencies388389[build-dependencies]390substrate-wasm-builder = '4.0.0'runtime/src/lib.rsdiffbeforeafterboth--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -734,6 +734,11 @@
}
}
+type SponsorshipHandler = (
+ pallet_nft::NftSponsorshipHandler<Runtime>,
+ pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,
+);
+
impl pallet_scheduler::Config for Runtime {
type Event = Event;
type Origin = Origin;
@@ -742,16 +747,18 @@
type MaximumWeight = MaximumSchedulerWeight;
type ScheduleOrigin = EnsureSigned<AccountId>;
type MaxScheduledPerBlock = MaxScheduledPerBlock;
- type Sponsoring = Sponsoring;
+ type SponsorshipHandler = SponsorshipHandler;
type WeightInfo = ();
}
impl pallet_nft_transaction_payment::Config for Runtime {
+ type SponsorshipHandler = SponsorshipHandler;
}
-impl pallet_nft_charge_transaction::Config for Runtime {
-}
+impl pallet_nft_charge_transaction::Config for Runtime {}
+impl pallet_contract_helpers::Config for Runtime {}
+
construct_runtime!(
pub enum Runtime where
Block = Block,
@@ -791,6 +798,7 @@
Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event<T>},
NftPayment: pallet_nft_transaction_payment::{Pallet, Call, Storage},
Charging: pallet_nft_charge_transaction::{Pallet, Call, Storage },
+ ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage},
}
);
@@ -829,6 +837,7 @@
system::CheckNonce<Runtime>,
system::CheckWeight<Runtime>,
pallet_nft_charge_transaction::ChargeTransactionPayment<Runtime>,
+ pallet_contract_helpers::ContractHelpersExtension<Runtime>,
);
/// Unchecked extrinsic type as expected by this runtime.
pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;