Skip to content

Commit

Permalink
fix fork versions in runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Jan 19, 2024
1 parent 0318d80 commit f1eaeb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime {
type Channels = EthereumSystem;
}

#[cfg(feature = "fast-runtime")]
#[cfg(any(feature = "fast-runtime", feature = "runtime-benchmarks"))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand All @@ -616,7 +616,7 @@ parameter_types! {
};
}

#[cfg(not(feature = "fast-runtime"))]
#[cfg(all(not(feature = "fast-runtime"), not(feature = "runtime-benchmarks")))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand Down

0 comments on commit f1eaeb7

Please sign in to comment.