Skip to content

Commit

Permalink
runtime: Update benchmarks and weight info
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Jul 29, 2024
1 parent 9c44e90 commit bd5c49a
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions runtime/altair/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ std = [
"pallet-xcm-transactor/std",
"pallet-message-queue/std",
"staging-parachain-info/std",
"pallet-liquidity-pools-gateway-queue/std",
]

runtime-benchmarks = [
Expand Down Expand Up @@ -357,6 +358,7 @@ runtime-benchmarks = [
"pallet-xcm/runtime-benchmarks",
"pallet-xcm-transactor/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-liquidity-pools-gateway-queue/runtime-benchmarks",
]

try-runtime = [
Expand Down Expand Up @@ -447,6 +449,7 @@ try-runtime = [
"pallet-xcm-transactor/try-runtime",
"pallet-message-queue/try-runtime",
"staging-parachain-info/try-runtime",
"pallet-liquidity-pools-gateway-queue/try-runtime",
]

# Enable the metadata hash generation.
Expand Down
1 change: 1 addition & 0 deletions runtime/altair/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2880,6 +2880,7 @@ mod benches {
[pallet_membership, TechnicalCommitteeMembership]
[pallet_referenda, Referenda]
[pallet_whitelist, Whitelist]
[pallet_liquidity_pools_gateway_queue, LiquidityPoolsGatewayQueue]
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::marker::PhantomData;
use core::marker::PhantomData;

use frame_support::weights::Weight;

Expand Down
3 changes: 3 additions & 0 deletions runtime/centrifuge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ std = [
"pallet-xcm-transactor/std",
"pallet-message-queue/std",
"staging-parachain-info/std",
"pallet-liquidity-pools-gateway-queue/std",
]

runtime-benchmarks = [
Expand Down Expand Up @@ -343,6 +344,7 @@ runtime-benchmarks = [
"pallet-xcm/runtime-benchmarks",
"pallet-xcm-transactor/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-liquidity-pools-gateway-queue/runtime-benchmarks",
]

try-runtime = [
Expand Down Expand Up @@ -429,6 +431,7 @@ try-runtime = [
"pallet-xcm-transactor/try-runtime",
"pallet-message-queue/try-runtime",
"staging-parachain-info/try-runtime",
"pallet-liquidity-pools-gateway-queue/try-runtime",
]

# Enable the metadata hash generation.
Expand Down
1 change: 1 addition & 0 deletions runtime/centrifuge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2817,6 +2817,7 @@ mod benches {
[pallet_remarks, Remarks]
[pallet_pool_fees, PoolFees]
[pallet_token_mux, TokenMux]
[pallet_liquidity_pools_gateway_queue, LiquidityPoolsGatewayQueue]
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::marker::PhantomData;
use core::marker::PhantomData;

use frame_support::weights::Weight;

Expand Down
2 changes: 2 additions & 0 deletions runtime/development/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ runtime-benchmarks = [
"pallet-xcm/runtime-benchmarks",
"pallet-xcm-transactor/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-liquidity-pools-gateway-queue/runtime-benchmarks",
]

try-runtime = [
Expand Down Expand Up @@ -451,6 +452,7 @@ try-runtime = [
"pallet-xcm-transactor/try-runtime",
"pallet-message-queue/try-runtime",
"staging-parachain-info/try-runtime",
"pallet-liquidity-pools-gateway-queue/try-runtime",
]

# Enable the metadata hash generation.
Expand Down
1 change: 1 addition & 0 deletions runtime/development/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2984,6 +2984,7 @@ mod benches {
[pallet_membership, TechnicalCommitteeMembership]
[pallet_referenda, Referenda]
[pallet_whitelist, Whitelist]
[pallet_liquidity_pools_gateway_queue, LiquidityPoolsGatewayQueue]
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::marker::PhantomData;
use core::marker::PhantomData;

use frame_support::weights::Weight;

Expand Down

0 comments on commit bd5c49a

Please sign in to comment.