zeitgeist icon indicating copy to clipboard operation
zeitgeist copied to clipboard

[swaps] Fix `swap_exact_amount_*` benchmarks for Rikiddo

Open maltekliemann opened this issue 2 years ago • 0 comments

We need to replace

#[pallet::weight(T::WeightInfo::swap_exact_amount_in_cpmm())]

with

#[pallet::weight(T::WeightInfo::swap_exact_amount_in_cpmm().max(T::WeightInfo::swap_exact_amount_in_rikiddo(T::MaxAssets::get())))]

maltekliemann avatar Sep 12 '22 09:09 maltekliemann