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

fix feature flags #32

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading