difftreelog
CORE-345 Rename module
in: master
5 files changed
pallets/unique/src/eth/mod.rsdiffbeforeafterbothno changes
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -46,7 +46,7 @@
CollectionHandle, Pallet as PalletCommon, CommonWeightInfo, dispatch::dispatch_call,
dispatch::CollectionDispatch,
};
-pub use eth::pallet_evm_collection;
+pub use eth::evm_collection;
#[cfg(feature = "runtime-benchmarks")]
mod benchmarking;
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -80,7 +80,7 @@
};
use smallvec::smallvec;
use codec::{Encode, Decode};
-use pallet_unique::pallet_evm_collection;
+use pallet_unique::eth::evm_collection;
use fp_rpc::TransactionStatus;
use sp_runtime::{
traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
@@ -307,7 +307,7 @@
pallet_evm_migration::OnMethodCall<Self>,
pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
CollectionDispatchT<Self>,
- pallet_evm_collection::CollectionOnMethodCall<Self>,
+ evm_collection::CollectionOnMethodCall<Self>,
);
type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;
type ChainId = ChainId;
@@ -988,7 +988,7 @@
type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;
}
-impl pallet_evm_collection::Config for Runtime {
+impl evm_collection::Config for Runtime {
type ContractAddress = EvmCollectionAddress;
}
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -80,7 +80,7 @@
use smallvec::smallvec;
use codec::{Encode, Decode};
use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};
-use pallet_unique::pallet_evm_collection;
+use pallet_unique::evm_collection;
use fp_rpc::TransactionStatus;
use sp_runtime::{
traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
@@ -279,7 +279,7 @@
pallet_evm_migration::OnMethodCall<Self>,
pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
CollectionDispatchT<Self>,
- pallet_evm_collection::CollectionOnMethodCall<Self>,
+ evm_collection::CollectionOnMethodCall<Self>,
);
type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;
type ChainId = ChainId;
@@ -965,7 +965,7 @@
type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;
}
-impl pallet_evm_collection::Config for Runtime {
+impl evm_collection::Config for Runtime {
type ContractAddress = EvmCollectionAddress;
}
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -85,7 +85,7 @@
use smallvec::smallvec;
use codec::{Encode, Decode};
use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};
-use pallet_unique::pallet_evm_collection;
+use pallet_unique::evm_collection;
use fp_rpc::TransactionStatus;
use sp_runtime::{
traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
@@ -283,7 +283,7 @@
pallet_evm_migration::OnMethodCall<Self>,
pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
CollectionDispatchT<Self>,
- pallet_evm_collection::CollectionOnMethodCall<Self>,
+ evm_collection::CollectionOnMethodCall<Self>,
);
type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;
type ChainId = ChainId;
@@ -970,7 +970,7 @@
type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;
}
-impl pallet_evm_collection::Config for Runtime {
+impl evm_collection::Config for Runtime {
type ContractAddress = EvmCollectionAddress;
}