Skip to content

Commit

Permalink
fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadkaouk committed Dec 4, 2024
1 parent e7195b5 commit 445d85d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pallets/moonbeam-lazy-migrations/src/benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ benchmarks! {

start_foreign_assets_migration {
let asset_id = setup_foreign_asset::<T>(1);

Pallet::<T>::approve_assets_to_migrate(
RawOrigin::Root.into(),
BoundedVec::try_from(vec![asset_id.clone().into()]).unwrap()
)?;
}: _(RawOrigin::Signed(account("caller", 0, 0)), asset_id.into())
verify {
assert!(matches!(
Expand Down

0 comments on commit 445d85d

Please sign in to comment.