Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix report_error
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Sep 27, 2021
1 parent 161906f commit 3f394c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/westend/src/weights/xcm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ impl<Call> XcmWeightInfo<Call> for WestendXcmWeight<Call> {
fn report_error(
_query_id: &QueryId,
_dest: &MultiLocation,
max_response_weight: &u64,
_max_response_weight: &u64,
) -> Weight {
*max_response_weight
XcmGeneric::<Runtime>::report_error()
}
fn relayed_from(_who: &Junctions, _message: &Box<Xcm<Call>>) -> Weight {
XcmGeneric::<Runtime>::relayed_from()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
pub fn initiate_reserve_withdraw() -> Weight {
1_000_000_000
}

pub fn report_error() -> Weight {
1_000_000_000
}
}

0 comments on commit 3f394c0

Please sign in to comment.