Skip to content

Commit

Permalink
Move DATA_COLUMN_SIDECAR_SUBNET_COUNT const to types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tumas committed May 10, 2024
1 parent 5593b44 commit 7692d57
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions eip_7594/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ use types::{
},
traits::{BeaconState, PostDenebBeaconBlockBody},
};
use types::{eip7594::Cell, preset::Preset};
use types::{eip7594::{Cell, DATA_COLUMN_SIDECAR_SUBNET_COUNT}, preset::Preset};

pub const DATA_COLUMN_SIDECAR_SUBNET_COUNT: u64 = 32;
const SAMPLES_PER_SLOT: u64 = 8;
const CUSTODY_REQUIREMENT: u64 = 1;
const TARGET_NUMBER_OF_PEERS: u64 = 70;
Expand Down
2 changes: 1 addition & 1 deletion eth2_libp2p
2 changes: 2 additions & 0 deletions types/src/eip7594.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub type KzgCommitmentsInclusionProofDepth = U4;

pub type BlobCommitmentsInclusionProof = ContiguousVector<H256, KzgCommitmentsInclusionProofDepth>;

pub const DATA_COLUMN_SIDECAR_SUBNET_COUNT: u64 = 32;

#[derive(PartialEq, Eq, Debug, Deserialize, Serialize, Ssz)]
#[serde(deny_unknown_fields)]
pub struct DataColumnIdentifier {
Expand Down

0 comments on commit 7692d57

Please sign in to comment.