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

Don't panic. #1629

Merged
merged 1 commit into from
Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Don't panic.
  • Loading branch information
gilescope committed Sep 16, 2022
commit 9d4b7e961968b01f77ed6ebb354e56a23ac86b58
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl<Call> XcmWeightInfo<Call> for StatemineXcmWeight<Call> {
}
// Currently there is no trusted reserve
fn reserve_asset_deposited(_assets: &MultiAssets) -> XCMWeight {
unimplemented!()
u64::MAX
}
fn receive_teleported_asset(assets: &MultiAssets) -> XCMWeight {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::receive_teleported_asset())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl<Call> XcmWeightInfo<Call> for StatemintXcmWeight<Call> {
}
// Currently there is no trusted reserve
fn reserve_asset_deposited(_assets: &MultiAssets) -> XCMWeight {
unimplemented!()
u64::MAX
}
fn receive_teleported_asset(assets: &MultiAssets) -> XCMWeight {
assets.weigh_multi_assets(XcmFungibleWeight::<Runtime>::receive_teleported_asset())
Expand Down