File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/core/pyspec/eth2spec/test/eip7594/unittests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ We define the following Python custom types for type hinting and readability:
5454
5555| Name | Value | Description |
5656| - | - | - |
57- | ` NUMBER_OF_COLUMNS ` | ` uint64((FIELD_ELEMENTS_PER_BLOB * 2) // FIELD_ELEMENTS_PER_CELL) ` (= 128) | Number of columns in the extended data matrix. |
57+ | ` NUMBER_OF_COLUMNS ` | ` uint64(FIELD_ELEMENTS_PER_EXT_BLOB // FIELD_ELEMENTS_PER_CELL) ` (= 128) | Number of columns in the extended data matrix. |
5858
5959### Networking
6060
Original file line number Diff line number Diff line change 1010@single_phase
1111def test_invariants (spec ):
1212 assert spec .FIELD_ELEMENTS_PER_BLOB % spec .FIELD_ELEMENTS_PER_CELL == 0
13- assert spec .FIELD_ELEMENTS_PER_BLOB * 2 % spec .config .NUMBER_OF_COLUMNS == 0
13+ assert spec .FIELD_ELEMENTS_PER_EXT_BLOB % spec .config .NUMBER_OF_COLUMNS == 0
1414 assert spec .SAMPLES_PER_SLOT <= spec .config .NUMBER_OF_COLUMNS
1515 assert spec .CUSTODY_REQUIREMENT <= spec .config .DATA_COLUMN_SIDECAR_SUBNET_COUNT
1616 assert spec .config .DATA_COLUMN_SIDECAR_SUBNET_COUNT <= spec .config .NUMBER_OF_COLUMNS
You can’t perform that action at this time.
0 commit comments