Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
fix feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizdave97 committed Oct 2, 2023
1 parent c22405c commit 86fcc2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions primitives/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ pub const NEXT_SYNC_COMMITTEE_INDEX_LOG2: u64 = 5;
pub const BLOCK_ROOTS_INDEX_LOG2: u64 = 5;
pub const HISTORICAL_ROOTS_INDEX_LOG2: u64 = 5;

#[cfg(feature = "testnet")]
#[cfg(feature = "goerli")]
pub use goerli::*;

#[cfg(feature = "mainnet")]
pub use mainnet::*;

use crate::ssz::ByteVector;
#[cfg(all(not(feature = "mainnet"), not(feature = "testnet")))]
#[cfg(all(not(feature = "mainnet"), not(feature = "goerli")))]
pub use devnet::*;

#[cfg(feature = "goerli")]
Expand Down Expand Up @@ -115,7 +115,7 @@ pub mod mainnet {
pub const CAPELLA_FORK_VERSION: Version = hex_literal::hex!("03000000");
}

#[cfg(all(not(feature = "mainnet"), not(feature = "testnet")))]
#[cfg(all(not(feature = "mainnet"), not(feature = "goerli")))]
pub mod devnet {
use super::*;
use hex_literal::hex;
Expand Down

0 comments on commit 86fcc2d

Please sign in to comment.