mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 16:11:05 +00:00
Remove BoundedVec half-impls in xcm (#6636)
* Replace sp-core dependency with more primitive crates * Remove BoundedVec half-impls in xcm * Fixes * Bump bounded-collections * Address review comments * Bump bounded-collections * Fix benchmarks * Fixes * Fixes * cargo fmt * Fix tests * Update url * Bump url to 2.3.1 * Bump anyhow * Use bounded-collections in pallet-xcm * Update substrate
This commit is contained in:
@@ -773,7 +773,8 @@ impl<Config: config::Config> XcmExecutor<Config> {
|
||||
})
|
||||
.collect::<Result<Vec<_>, XcmError>>()?;
|
||||
let QueryResponseInfo { destination, query_id, max_weight } = response_info;
|
||||
let response = Response::PalletsInfo(pallets.try_into()?);
|
||||
let response =
|
||||
Response::PalletsInfo(pallets.try_into().map_err(|_| XcmError::Overflow)?);
|
||||
let querier = Self::to_querier(self.cloned_origin(), &destination)?;
|
||||
let instruction = QueryResponse { query_id, response, max_weight, querier };
|
||||
let message = Xcm(vec![instruction]);
|
||||
|
||||
Reference in New Issue
Block a user