Skip to content

Commit

Permalink
temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofdeepanshu committed Oct 17, 2023
1 parent abce24d commit 5039bf7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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 @@ -66,7 +66,7 @@ benchmarks! {
let fee_asset = Concrete(Here.into());

let instruction = Instruction::<XcmCallOf<T>>::BuyExecution {
fees: (fee_asset, 100_000_000u128).into(), // should be something inside of holding
fees: (fee_asset, 100_000_000_000u128).into(), // should be something inside of holding
weight_limit: WeightLimit::Limited(Weight::from_parts(1u64, 64*1024)),
};

Expand Down
3 changes: 3 additions & 0 deletions pallets/astar-xcm-benchmarks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ use xcm_executor::{traits::Convert, Config as XcmConfig};
pub mod fungible;
pub mod generic;

#[cfg(feature = "runtime-benchmarks")]
pub use generic::{benchmarking, Pallet};

#[cfg(test)]
mod mock;

Expand Down
2 changes: 1 addition & 1 deletion runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ mod benches {
[pallet_xvm, Xvm]
[pallet_dynamic_evm_base_fee, DynamicEvmBaseFee]
[pallet_unified_accounts, UnifiedAccounts]
[astar_xcm_benchmarks::generic, astar_xcm_benchmarks::generic::Pallet::<Runtime>]
[astar_xcm_benchmarks, astar_xcm_benchmarks::Pallet::<Runtime>]
);
}

Expand Down

0 comments on commit 5039bf7

Please sign in to comment.