Companion of paritytech/substrate#12157 (#5964)

* Remove RefTimeWeight

* Fixes

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Keith Yeung
2022-09-03 03:12:06 +08:00
committed by GitHub
parent f0c74f6bc5
commit 41eff346cb
138 changed files with 4123 additions and 4123 deletions
+3 -3
View File
@@ -1274,7 +1274,7 @@ pub mod pallet {
}
impl<T: Config> DropAssets for Pallet<T> {
fn drop_assets(origin: &MultiLocation, assets: Assets) -> RefTimeWeight {
fn drop_assets(origin: &MultiLocation, assets: Assets) -> u64 {
if assets.is_empty() {
return 0
}
@@ -1328,8 +1328,8 @@ pub mod pallet {
origin: &MultiLocation,
query_id: QueryId,
response: Response,
max_weight: RefTimeWeight,
) -> RefTimeWeight {
max_weight: u64,
) -> u64 {
match (response, Queries::<T>::get(query_id)) {
(
Response::Version(v),