Commit 1774df6
ERA: Add ERA file support package (#3853)
* add new era package
* era: add helper functions for export as era1
* update spelling
* update packagelock
* client: add era package dependency
* client: add utility functions to export history
* client: export export history as RPC method
* era: add types file
* era: add file for compression / uncompression functions
* era: add file for e2store functions
* era: add functions for block tuples
* era: add functions for reading and validating era1 files
* update packagelock
* update spelling
* export from index.ts
* add test for reading era1
* fix spelling error
* update tsconfig
* move function to era package
* era: switch ssz dependency
* fix ssz usage
* era: functions for export history directly from dataDir
* era: add level and blockchain dependencies
* client: remove era functions from client package
* update packagelock
* era: add function to reconstruct block from tuple
* era: add function to getHeaderRecords from file
* era: add helper for readBinaryFile
* update README
* update README
* update README
* Update packages/era/src/exportHistory.ts
Co-authored-by: acolytec3 <17355484+acolytec3@users.noreply.github.com>
* update tsconfig
* fix import
* check for directory existence first
---------
Co-authored-by: acolytec3 <17355484+acolytec3@users.noreply.github.com>1 parent cac7cc4 commit 1774df6
File tree
26 files changed
+2085
-4
lines changed- config
- packages
- client/src/util
- era
- src
- test
26 files changed
+2085
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
325 | 332 | | |
326 | 333 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
625 | 633 | | |
626 | | - | |
| 634 | + | |
0 commit comments