diff --git a/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs b/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs index 4336dcd3bf..0a56832391 100644 --- a/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs +++ b/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs @@ -66,7 +66,7 @@ benchmarks! { let fee_asset = Concrete(Here.into()); let instruction = Instruction::>::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)), }; diff --git a/pallets/astar-xcm-benchmarks/src/lib.rs b/pallets/astar-xcm-benchmarks/src/lib.rs index 30df67e0ef..4de6e2aaf2 100644 --- a/pallets/astar-xcm-benchmarks/src/lib.rs +++ b/pallets/astar-xcm-benchmarks/src/lib.rs @@ -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; diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index b891eec371..53fcc474e5 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -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::] + [astar_xcm_benchmarks, astar_xcm_benchmarks::Pallet::] ); }