Skip to content

Commit eaca99a

Browse files
committed
setup bench
1 parent 78fc4ab commit eaca99a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

runtime/astar/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ impl frame_system::Config for Runtime {
289289
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
290290
type MaxConsumers = frame_support::traits::ConstU32<16>;
291291
type SingleBlockMigrations = ();
292-
type MultiBlockMigrator = Migrations;
292+
type MultiBlockMigrator = MultiBlockMigrations;
293293
type PreInherents = ();
294294
type PostInherents = ();
295295
type PostTransactions = ();
@@ -1257,8 +1257,7 @@ construct_runtime!(
12571257

12581258
Sudo: pallet_sudo = 99,
12591259

1260-
// Multi-block migrator
1261-
Migrations: pallet_migrations = 120,
1260+
MultiBlockMigrations: pallet_migrations = 120,
12621261
}
12631262
);
12641263

@@ -1429,6 +1428,7 @@ mod benches {
14291428
[pallet_timestamp, Timestamp]
14301429
[pallet_dapp_staking_v3, DappStaking]
14311430
[pallet_inflation, Inflation]
1431+
[pallet_migrations, MultiBlockMigrations]
14321432
[pallet_xc_asset_config, XcAssetConfig]
14331433
[pallet_collator_selection, CollatorSelection]
14341434
[pallet_xcm, PalletXcmExtrinsicsBenchmark::<Runtime>]

runtime/shibuya/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ impl frame_system::Config for Runtime {
326326
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
327327
type MaxConsumers = frame_support::traits::ConstU32<16>;
328328
type SingleBlockMigrations = ();
329-
type MultiBlockMigrator = Migrations;
329+
type MultiBlockMigrator = MultiBlockMigrations;
330330
type PreInherents = ();
331331
type PostInherents = ();
332332
type PostTransactions = ();
@@ -1598,8 +1598,7 @@ construct_runtime!(
15981598
CommunityTreasury: pallet_treasury::<Instance2> = 108,
15991599
CollectiveProxy: pallet_collective_proxy = 109,
16001600

1601-
// Multi-block migrator
1602-
Migrations: pallet_migrations = 120,
1601+
MultiBlockMigrations: pallet_migrations = 120,
16031602
}
16041603
);
16051604

@@ -1770,6 +1769,7 @@ mod benches {
17701769
[pallet_timestamp, Timestamp]
17711770
[pallet_dapp_staking_v3, DappStaking]
17721771
[pallet_inflation, Inflation]
1772+
[pallet_migrations, MultiBlockMigrations]
17731773
[pallet_xc_asset_config, XcAssetConfig]
17741774
[pallet_collator_selection, CollatorSelection]
17751775
[pallet_xcm, PalletXcmExtrinsicsBenchmark::<Runtime>]

runtime/shiden/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl frame_system::Config for Runtime {
291291
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
292292
type MaxConsumers = frame_support::traits::ConstU32<16>;
293293
type SingleBlockMigrations = ();
294-
type MultiBlockMigrator = Migrations;
294+
type MultiBlockMigrator = MultiBlockMigrations;
295295
type PreInherents = ();
296296
type PostInherents = ();
297297
type PostTransactions = ();
@@ -1257,8 +1257,7 @@ construct_runtime!(
12571257

12581258
Sudo: pallet_sudo = 99,
12591259

1260-
// Multi-block migrator
1261-
Migrations: pallet_migrations = 120,
1260+
MultiBlockMigrations: pallet_migrations = 120,
12621261
}
12631262
);
12641263

@@ -1429,6 +1428,7 @@ mod benches {
14291428
[pallet_timestamp, Timestamp]
14301429
[pallet_dapp_staking_v3, DappStaking]
14311430
[pallet_inflation, Inflation]
1431+
[pallet_migrations, MultiBlockMigrations]
14321432
[pallet_xc_asset_config, XcAssetConfig]
14331433
[pallet_collator_selection, CollatorSelection]
14341434
[pallet_xcm, PalletXcmExtrinsicsBenchmark::<Runtime>]

0 commit comments

Comments
 (0)