Skip to content

Commit

Permalink
comments edit
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofdeepanshu committed Oct 20, 2023
1 parent 1ee6bc4 commit f4fcec2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ benchmarks! {
}: {
executor.bench_process(xcm)?;
} verify {
// TODO Make the assertion configurable?
// The assert above is enough to show this XCM succeeded
}

refund_surplus {
Expand Down
4 changes: 0 additions & 4 deletions runtime/shibuya/src/weights/xcm_instruction_benchmarks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ impl<RuntimeCall> XcmWeightInfo<RuntimeCall> for ShibuyaXcmWeight<RuntimeCall> {
_reserve: &MultiLocation,
_xcm: &Xcm<()>,
) -> XCMWeight {
// TODO: Clear wrong
// This is not correct. initiate reserve withdraw does not to that many db reads
// the only thing it does based on number of assets is a take from a local variable
//assets.weigh_multi_assets(XcmGeneric::<Runtime>::initiate_reserve_withdraw())
XcmGeneric::<Runtime>::initiate_reserve_withdraw()
}
fn initiate_teleport(
Expand Down

0 comments on commit f4fcec2

Please sign in to comment.