git.delta.rocks / unique-network / refs/commits / 2cfa7afebcc0

difftreelog

CORE-345 Rename module

Trubnikov Sergey2022-05-17parent: #8eec169.patch.diff
in: master

5 files changed

addedpallets/unique/src/eth/mod.rsdiffbeforeafterboth

no changes

modifiedpallets/unique/src/lib.rsdiffbeforeafterboth
46 CollectionHandle, Pallet as PalletCommon, CommonWeightInfo, dispatch::dispatch_call,46 CollectionHandle, Pallet as PalletCommon, CommonWeightInfo, dispatch::dispatch_call,
47 dispatch::CollectionDispatch,47 dispatch::CollectionDispatch,
48};48};
49pub use eth::pallet_evm_collection;49pub use eth::evm_collection;
5050
51#[cfg(feature = "runtime-benchmarks")]51#[cfg(feature = "runtime-benchmarks")]
52mod benchmarking;52mod benchmarking;
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
80};80};
81use smallvec::smallvec;81use smallvec::smallvec;
82use codec::{Encode, Decode};82use codec::{Encode, Decode};
83use pallet_unique::pallet_evm_collection;83use pallet_unique::eth::evm_collection;
84use fp_rpc::TransactionStatus;84use fp_rpc::TransactionStatus;
85use sp_runtime::{85use sp_runtime::{
86 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},86 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
307 pallet_evm_migration::OnMethodCall<Self>,307 pallet_evm_migration::OnMethodCall<Self>,
308 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,308 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
309 CollectionDispatchT<Self>,309 CollectionDispatchT<Self>,
310 pallet_evm_collection::CollectionOnMethodCall<Self>,310 evm_collection::CollectionOnMethodCall<Self>,
311 );311 );
312 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;312 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;
313 type ChainId = ChainId;313 type ChainId = ChainId;
988 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;988 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;
989}989}
990990
991impl pallet_evm_collection::Config for Runtime {991impl evm_collection::Config for Runtime {
992 type ContractAddress = EvmCollectionAddress;992 type ContractAddress = EvmCollectionAddress;
993}993}
994994
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
80use smallvec::smallvec;80use smallvec::smallvec;
81use codec::{Encode, Decode};81use codec::{Encode, Decode};
82use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};82use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};
83use pallet_unique::pallet_evm_collection;83use pallet_unique::evm_collection;
84use fp_rpc::TransactionStatus;84use fp_rpc::TransactionStatus;
85use sp_runtime::{85use sp_runtime::{
86 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},86 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
279 pallet_evm_migration::OnMethodCall<Self>,279 pallet_evm_migration::OnMethodCall<Self>,
280 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,280 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
281 CollectionDispatchT<Self>,281 CollectionDispatchT<Self>,
282 pallet_evm_collection::CollectionOnMethodCall<Self>,282 evm_collection::CollectionOnMethodCall<Self>,
283 );283 );
284 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;284 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;
285 type ChainId = ChainId;285 type ChainId = ChainId;
965 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;965 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;
966}966}
967967
968impl pallet_evm_collection::Config for Runtime {968impl evm_collection::Config for Runtime {
969 type ContractAddress = EvmCollectionAddress;969 type ContractAddress = EvmCollectionAddress;
970}970}
971971
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
85use smallvec::smallvec;85use smallvec::smallvec;
86use codec::{Encode, Decode};86use codec::{Encode, Decode};
87use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};87use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};
88use pallet_unique::pallet_evm_collection;88use pallet_unique::evm_collection;
89use fp_rpc::TransactionStatus;89use fp_rpc::TransactionStatus;
90use sp_runtime::{90use sp_runtime::{
91 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},91 traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
283 pallet_evm_migration::OnMethodCall<Self>,283 pallet_evm_migration::OnMethodCall<Self>,
284 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,284 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
285 CollectionDispatchT<Self>,285 CollectionDispatchT<Self>,
286 pallet_evm_collection::CollectionOnMethodCall<Self>,286 evm_collection::CollectionOnMethodCall<Self>,
287 );287 );
288 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;288 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;
289 type ChainId = ChainId;289 type ChainId = ChainId;
970 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;970 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;
971}971}
972972
973impl pallet_evm_collection::Config for Runtime {973impl evm_collection::Config for Runtime {
974 type ContractAddress = EvmCollectionAddress;974 type ContractAddress = EvmCollectionAddress;
975}975}
976976