Commit 130db80
authored
v2.31 (#789)
* Rename blocks table
* Break everything
* Turn reorg checkpoints into general checkpoints
* Load relevant reorg checkpoints on restart
* Move a lot of logic to the Batch module
* Make tests compile
* Merge branch 'main' of github.com:enviodev/hyperindex into dz/track-blocks
* Rename last block scanned hashes to reorg detection module
* Fix next progress block number calculation
* Turn batch module into a single array
* Include reorg checkpoints to the batch
* Fix a few e2e tests
* Restore commited checkpoint id from the db
* Store checkpoint in the db
* Return back old prunning logic for checkpoints
* Make rollback logic work again
* Fix tests
* Fix tests
* Fix erc20 tests
* Fix coderabbit comments
* Find reorg depth concurrently
* Track safe checkpoint and optimize pruning
* Correctly rollback chains progress
* Correctly rollback checkpoints from db
* Pass checkpointId to every entity identifier
* Fix items iteration
* Move event identifier to internal
* Finish rollback on reorg rewrite
* Final touches and test fixes
* Merge main
* Multiple reorg&rollback fixes, tests and improvements
* Fix review comments and fuel tests
* Fix #786
* Fix [BigInt!]! precision loss in Hasura
* Fix #749
* Try to add hasura service for tests pipeline
* Add Effect cache load prom metrics
* Remove processing prom metrics and add envio_progress_batches_count
* Validate effect cache when loading it from db
* Improve batch processing log
* Sync chains
* Fix chains order1 parent d906825 commit 130db80
File tree
78 files changed
+6044
-6113
lines changed- .cursor/rules
- .github/workflows
- codegenerator/cli
- npm/envio/src
- db
- sources
- src/config_parsing
- templates
- dynamic
- codegen/src
- db
- contract_import_templates
- javascript/src
- typescript/src
- static/codegen/src
- db
- eventFetching
- globalState
- scenarios
- erc20_multichain_factory/test
- fuel_test
- helpers/src
- test_codegen
- test
- __mocks__
- helpers
- lib_tests
- rollback
- schema_types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
78 files changed
+6044
-6113
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
40 | 54 | | |
41 | 55 | | |
42 | 56 | | |
| |||
122 | 136 | | |
123 | 137 | | |
124 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
125 | 148 | | |
126 | 149 | | |
127 | 150 | | |
| |||
0 commit comments