Commit 4727125
authored
New Data Column Sidecar Storage Design, Data Columns as a First-Class Citizen & Unit Testing (#15061)
* DB Filesystem: Move all data column related code to `data_columns.go`
Only code move.
* Implement data columns storage
* Kasey comment: Fix typo
* Kasey comment: Fix clutter
* Kasey comment: `IsDataAvailable`: Remove `nodeID`.
* Kasey comment: indice ==> index
* Kasey comment: Move `CreateTestVerifiedRoDataColumnSidecars` in `beacon-chain/verification/fake`.
* `Store` ==> `Save`.
* Kasey comment: AAAA!
* Kasey comment: Fix typo.
* Kasey comment: Add comment.
* Kasey commnet: Stop exporting errors for nothing.
* Kasey comment: Read all metadata at once.
* Kasey comment: Compute file size instead of reading it from stats.
* Kasey comment: Lock mutexes before checking if the file exists.
* Kasey comment: `limit` ==> `nonZeroOffset`.
* Kasey comment: `DataColumnStorage.Get`: Set verified into the `verification package`.
* Kasey comment: `prune` - Flatten the `==` case.
* Kasey comment: Implement and use `storageIndices`.
* `DataColumnsAlignWithBlock`: Move into its own file.
* `DataColumnSidecar`: Rename variables to stick with
https://github.com/ethereum/consensus-specs/blob/dev/specs/fulu/das-core.md#datacolumnsidecar
* Kasey comment: Add `file.Sync`.
* `DataColumnStorage.Get`: Remove useless cast.
* (Internal) Kasey comment: Set automatically the count of saved data columns.1 parent f304028 commit 4727125
File tree
102 files changed
+4958
-1715
lines changed- beacon-chain
- blockchain
- kzg
- testing
- core/peerdas
- das
- db/filesystem
- node
- p2p/types
- rpc
- lookup
- prysm/v1alpha1/validator
- sync
- backfill
- initial-sync
- verify
- verification
- cmd/beacon-chain
- storage
- consensus-types/blocks
- proto
- engine/v1
- eth/v1
- prysm/v1alpha1
- runtime/logging
- testing
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
102 files changed
+4958
-1715
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| 169 | + | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
447 | 450 | | |
448 | 451 | | |
449 | 452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
211 | 221 | | |
212 | 222 | | |
213 | 223 | | |
| |||
221 | 231 | | |
222 | 232 | | |
223 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
0 commit comments