File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ //! Constants for PeerDAS.
2
+ //!
3
+ //! See also [EIP-7594](https://eips.ethereum.org/EIPS/eip-7594): PeerDAS - Peer Data Availability Sampling
4
+
5
+ use crate :: eip4844:: FIELD_ELEMENTS_PER_BLOB ;
6
+
7
+ /// Number of field elements in a Reed-Solomon extended blob.
8
+ pub const FIELD_ELEMENTS_PER_EXT_BLOB : u64 = FIELD_ELEMENTS_PER_BLOB * 2 ;
9
+
10
+ /// Number of field elements in a cell.
11
+ pub const FIELD_ELEMENTS_PER_CELL : u64 = 64 ;
12
+
13
+ /// The number of cells in an extended blob.
14
+ pub const CELLS_PER_EXT_BLOB : u64 = FIELD_ELEMENTS_PER_EXT_BLOB / FIELD_ELEMENTS_PER_CELL ;
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ pub mod eip7002;
42
42
43
43
pub mod eip7251;
44
44
45
+ pub mod eip7594;
46
+
45
47
pub mod eip7685;
46
48
47
49
pub mod eip7691;
You can’t perform that action at this time.
0 commit comments