Skip to content

Commit

Permalink
Reintroduce benchmark migration
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann committed Aug 12, 2024
1 parent 796596f commit 8b7abe6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,10 @@ macro_rules! impl_config_traits {
type MaxDebugBufferLen = ContractsMaxDebugBufferLen;
type MaxDelegateDependencies = ContractsMaxDelegateDependencies;
type MaxStorageKeyLen = ContractsMaxStorageKeyLen;
#[cfg(not(feature = "runtime-benchmarks"))]
type Migrations = ();
#[cfg(feature = "runtime-benchmarks")]
type Migrations = pallet_contracts::migration::codegen::BenchMigrations;
type Randomness = RandomnessCollectiveFlip;
type RuntimeCall = RuntimeCall;
type RuntimeEvent = RuntimeEvent;
Expand Down

0 comments on commit 8b7abe6

Please sign in to comment.