PeerDAS: Use FIELD_ELEMENTS_PER_EXT_BLOB in def of PolynomialCoeff
This commit is contained in:
parent
c71fb00c8e
commit
4b6b07b73e
|
@ -4,3 +4,5 @@
|
|||
# ---------------------------------------------------------------
|
||||
# `uint64(2**6)` (= 64)
|
||||
FIELD_ELEMENTS_PER_CELL: 64
|
||||
# `uint64(2 * 4096)` (= 8192)
|
||||
FIELD_ELEMENTS_PER_EXT_BLOB: 8192
|
||||
|
|
|
@ -4,3 +4,5 @@
|
|||
# ---------------------------------------------------------------
|
||||
# `uint64(2**6)` (= 64)
|
||||
FIELD_ELEMENTS_PER_CELL: 64
|
||||
# `uint64(2 * 4096)` (= 8192)
|
||||
FIELD_ELEMENTS_PER_EXT_BLOB: 8192
|
||||
|
|
|
@ -17,4 +17,5 @@ from eth2spec.deneb import {preset_name} as deneb
|
|||
def hardcoded_custom_type_dep_constants(cls, spec_object) -> Dict[str, str]:
|
||||
return {
|
||||
'FIELD_ELEMENTS_PER_CELL': spec_object.preset_vars['FIELD_ELEMENTS_PER_CELL'].value,
|
||||
'FIELD_ELEMENTS_PER_EXT_BLOB': spec_object.preset_vars['FIELD_ELEMENTS_PER_EXT_BLOB'].value,
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ Public functions MUST accept raw bytes as input and perform the required cryptog
|
|||
|
||||
| Name | SSZ equivalent | Description |
|
||||
| - | - | - |
|
||||
| `PolynomialCoeff` | `List[BLSFieldElement, 2 * FIELD_ELEMENTS_PER_BLOB]` | A polynomial in coefficient form |
|
||||
| `PolynomialCoeff` | `List[BLSFieldElement, FIELD_ELEMENTS_PER_EXT_BLOB]` | A polynomial in coefficient form |
|
||||
| `Cell` | `Vector[BLSFieldElement, FIELD_ELEMENTS_PER_CELL]` | The unit of blob data that can come with their own KZG proofs |
|
||||
| `CellID` | `uint64` | Cell identifier |
|
||||
|
||||
|
|
Loading…
Reference in New Issue