Commit Graph

114 Commits

Author SHA1 Message Date
Federico Gimenez
27e609df1e fix: only persist the canonical chain (#9908) 2024-07-30 16:43:02 +00:00
Matthias Seitz
cf10543d6d fix: update tracked canonical head on backfill finish (#9902) 2024-07-30 13:59:34 +00:00
joshieDo
624f5d5614 fix: set finalized & safe block information on startup (#9898)
Co-authored-by: Danyal Prout <me@dany.al>
2024-07-30 12:06:57 +00:00
Matthias Seitz
e3d375a8f3 fix: check if head block is already canonical (#9900) 2024-07-30 12:01:21 +00:00
Matthias Seitz
4f8721aff2 fix: use correct range to persist (#9896) 2024-07-30 11:24:56 +00:00
Matthias Seitz
f72eab2997 fix: ensure backfill and persistence dont happen at the same time (#9895)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-07-30 11:14:41 +00:00
Matthias Seitz
3a088a9ec7 fix: also update persisted height after backfill run (#9894) 2024-07-30 10:38:40 +00:00
Matthias Seitz
cd430121dd fix: overflow on persistence check (#9892) 2024-07-30 10:29:50 +00:00
Federico Gimenez
de467c9f7e test: add engine tree test, FCU with missing head (#9890) 2024-07-30 10:05:50 +00:00
Matthias Seitz
ba1c6fcf46 feat: connect buffered blocks on backfill sync finish (#9876) 2024-07-30 07:48:45 +00:00
Federico Gimenez
c2410606c4 test: refactor engine tree TestHarness (#9871) 2024-07-29 18:54:44 +00:00
Matthias Seitz
0b91e03ff4 feat: state housekeeping after backfill finished (#9870) 2024-07-29 17:38:20 +00:00
Matthias Seitz
8eba1286d8 feat: support make canonical on demand (#9867) 2024-07-29 13:43:52 +00:00
Matthias Seitz
067dad79d2 feat: update backfill sync state to pending when we request it (#9865) 2024-07-29 13:13:23 +00:00
Federico Gimenez
365809c079 chore: enable unused deps check in reth-engine-tree (#9861) 2024-07-29 09:54:01 +00:00
nk_ysg
7df42454c0 chore: fix clippy errors (#9845)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-27 05:33:29 +00:00
Dan Cline
800e247f97 fix(engine): use provider to initialize persistence state (#9785) 2024-07-26 23:46:59 +00:00
Federico Gimenez
77f5ed1a7b feat: add TreeConfig (#9833) 2024-07-26 15:16:51 +00:00
Federico Gimenez
7475f4f0fa chore: reverse MemoryOverlayStateProvider block order (#9826) 2024-07-26 12:37:02 +00:00
Dan Cline
f734e614d7 chore: use readonly providers in StorageWriter (#9822) 2024-07-26 00:11:17 +00:00
Dan Cline
18ebc5eaee chore: rename to PersistenceHandle::spawn_service (#9824) 2024-07-25 23:52:02 +00:00
Thomas Coratger
aa4cc4843f engine: improve backfill state tracking (#9820) 2024-07-25 22:32:00 +00:00
Matthias Seitz
2766c355e6 feat: invole on_request trackers (#9814)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-07-25 18:34:31 +00:00
Matthias Seitz
05135c41ef chore: more misc tracing (#9809) 2024-07-25 16:44:03 +00:00
Miguel
6aea07105a FatalError in EngineHandlerEvent (#9800)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-25 13:49:17 +00:00
Federico Gimenez
f74e996c5e chore: move tree module to single file (#9802) 2024-07-25 13:34:30 +00:00
Federico Gimenez
115a58b327 feat: improve in memory block tracking (#9773) 2024-07-25 12:30:11 +00:00
Matthias Seitz
6faa7f9630 chore: add some request instrumentation (#9797) 2024-07-25 12:05:31 +00:00
Matthias Seitz
ec505b22cd fix: set pipeline state back to idel (#9795) 2024-07-25 10:52:41 +00:00
Matthias Seitz
e230517409 fix: use parent hash for chain traversal (#9790) 2024-07-25 09:15:18 +00:00
Federico Gimenez
6b1fbf82b7 chore: move MemoryOverlayStateProvider to chain-state crate (#9779) 2024-07-24 19:34:06 +00:00
Federico Gimenez
bd7004a06a chore: replace generic state provider with boxed trait (#9780) 2024-07-24 19:02:37 +00:00
Matthias Seitz
9b8506f935 feat: remove persisted blocks from canonical in mem chain (#9776) 2024-07-24 17:08:57 +00:00
Matthias Seitz
d395df29fc feat: add missing canonical checks for safe+finalized block (#9765) 2024-07-24 15:52:20 +00:00
Federico Gimenez
bacc61e567 feat: provide CanonicalInMemory state as input to EngineHandler (#9764) 2024-07-24 14:29:39 +00:00
Dan Cline
21335d65d0 feat: move hashed state and trie writing to provider (#9636) 2024-07-24 14:26:03 +00:00
Matthias Seitz
7ad93d5ae4 feat: perform canonical in memory state update (#9763) 2024-07-24 14:17:52 +00:00
Matthias Seitz
3eeca7650b chore: use dl single block (#9751) 2024-07-24 11:57:07 +02:00
Matthias Seitz
70a0cea941 feat: add skeletons for safe+finalized checks (#9744) 2024-07-24 09:17:25 +00:00
Dan Cline
6ce7c9e3a3 chore: add static file helpers on StorageWriter (#9740) 2024-07-23 22:15:08 +00:00
Matthias Seitz
d107827b69 test: add holesky sync test (#9742) 2024-07-23 20:11:45 +00:00
Matthias Seitz
5a9de035bf fix: properly convert canon chain event (#9736) 2024-07-23 17:55:07 +00:00
Matthias Seitz
a6f6346ffe feat: emit chain notifications (#9732) 2024-07-23 17:36:24 +00:00
Matthias Seitz
545bf99f76 chore: convert block to named field (#9733) 2024-07-23 17:36:14 +00:00
Matthias Seitz
48c96356ba feat: process fcu new head (#9728) 2024-07-23 14:44:02 +00:00
Dan Cline
23ff37124d chore: combine static file and database services (#9713) 2024-07-23 13:59:20 +00:00
Matthias Seitz
283e2d5a8a feat: process payload attributes (#9729) 2024-07-23 13:53:05 +00:00
Matthias Seitz
48c42f5630 feat: some progress on FCU handling (#9727) 2024-07-23 12:05:54 +00:00
Dan Cline
8c690eef95 chore: remove ownership requirement for static file methods (#9709) 2024-07-22 19:07:50 +00:00
Matthias Seitz
86ddf4d4cd test: add test for fcu during backfill (#9712) 2024-07-22 19:07:25 +00:00