Commit Graph

254 Commits

Author SHA1 Message Date
Matthias Seitz
90fa586ced refactor: remove SyncstateUpdater generics and use boxed instead (#2534) 2023-05-03 04:57:28 -07:00
Matthias Seitz
159a856373 fix: sync to max block (#2527) 2023-05-02 20:51:53 +02:00
Roman Krasiuk
be87dcc682 fix(stage): merkle checkpoint target (#2512) 2023-05-02 06:04:00 -07:00
Roman Krasiuk
7f764028d2 feat(cli): consensus engine events (#2473) 2023-05-01 17:46:03 +02:00
Roman Krasiuk
1651009c19 fix(stages): transaction block lookup (#2481) 2023-04-30 14:32:45 +02:00
Matthias Seitz
d146bb86f6 chore(clippy): make clippy happy (#2475) 2023-04-30 11:40:43 +02:00
Roman Krasiuk
576f33b151 fix: consensus validation method typo (#2432) 2023-04-27 16:04:50 +02:00
Matthias Seitz
d6aa7e0f91 feat: add stagekind enum and initialise syncstage table (#2426) 2023-04-27 14:18:10 +02:00
rakita
837555e296 chore(consensus): Clear up the naming and intention behind checks (#2415)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-26 18:04:36 +02:00
Roman Krasiuk
57a19f91f0 nit: fix typo in merkle stage (#2413) 2023-04-26 18:37:50 +03:00
Dan Cline
ccdaa74e41 fix: drive pipeline forever in debug.continuous (#2375)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-04-25 10:39:51 -07:00
Matthias Seitz
f373731262 feat: add StateRootProvider trait (#2383) 2023-04-25 05:54:01 -07:00
Roman Krasiuk
b4d69e68dc perf: remove redundant ommers sealing (#2386) 2023-04-25 05:53:16 -07:00
Bjerg
e2c27073e6 fix: use a gauge for mgas_processed metric (#2353) 2023-04-23 14:06:44 +02:00
rakita
370c39525a feat(stages): Simplify TD stage (#2344) 2023-04-21 20:56:13 +02:00
Matthias Seitz
1169d75d1d fix: track exact number of transactions (#2343) 2023-04-21 20:14:39 +02:00
Matthias Seitz
6d54baefdf style: use clear over truncate(0) (#2338) 2023-04-21 14:19:23 +02:00
Roman Krasiuk
ec94783e96 perf(trie): swap trie updates BTreeMap for HashMap (#2330) 2023-04-21 05:07:07 -07:00
rakita
a739fab3f6 fix: Stage bench generation of data (#2329) 2023-04-21 12:35:31 +02:00
Roman Krasiuk
ec418d924d feat(trie): read-only root calculation (#2233) 2023-04-21 02:36:48 -07:00
joshieDo
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
Bjerg
68d8506d8e feat: block level indexing (#2275)
Co-authored-by: rakita <dragan0rakita@gmail.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-20 15:03:48 -04:00
Matthias Seitz
db1e6cbeea chore: rename executor -> blockchain-tree (#2285) 2023-04-17 16:32:18 +02:00
Matthias Seitz
e27ed92d1e fix(cli): event reporting (#2273) 2023-04-16 18:56:12 +02:00
Matthias Seitz
154ece7665 fix: simplify SyncState and fix wrong update (#2256) 2023-04-15 01:31:09 +02:00
Roman Krasiuk
9a5e15f33d fix(merkle): small merkle test flake (#2234) 2023-04-13 14:47:28 -04:00
Roman Krasiuk
0759b30404 feat(trie): state root (#2206)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 09:48:33 -07:00
joshieDo
0a34f28bfb perf: use par_sort on TxLookup stage (#2137) 2023-04-11 15:56:54 +02:00
Matthias Seitz
c1d128eb7a chore: add some traces (#2127) 2023-04-05 18:22:09 +03:00
rakita
7c18ba8ed3 perf(db): RawTable, decode/encode only if needed (#2081) 2023-04-05 14:46:10 +02:00
rakita
633d84ded0 feat: Refactor TransitionId tables, BlockBodyIndices table. (#2039) 2023-04-05 13:10:18 +02:00
Bjerg
e4a428e29b refactor: move executors to revm crate (#2076) 2023-04-03 17:01:36 +02:00
Matthias Seitz
7576ee33f0 feat: Add autoseal consensus and downloaders (#1880)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-03-31 11:51:52 -07:00
Bjerg
b1643f4ca6 refactor: simplify fetching blocks (#2060) 2023-03-31 10:27:21 -07:00
Bjerg
8eba4cad2c perf: don't execute empty blocks (#2064)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-31 10:22:59 -07:00
Bjerg
ff6eb5a499 fix: make transaction errors in stages fatal (#2062) 2023-03-31 16:24:50 +02:00
Bjerg
1e3583aee8 refactor: remove magic constant (#2061) 2023-03-31 16:24:27 +02:00
rakita
efbaf6474c feat(BlockchainTree): ShareableBlockchainTree and pending state (#2007) 2023-03-29 20:59:24 +02:00
Matthias Seitz
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
Matthias Seitz
7263c9a644 chore: use downloader and client traits where possible (#1992) 2023-03-27 19:45:17 +02:00
Roman Krasiuk
934b78b496 test(sync): pipeline intermediate unwind (#1970) 2023-03-24 07:26:19 -07:00
Roman Krasiuk
95815c7e99 fix(consensus-engine): handle pipeline unwind (#1938) 2023-03-23 14:13:58 -07:00
Roman Krasiuk
ce40bea46e feat(sync): beacon consensus engine (#1845) 2023-03-23 11:18:19 -07:00
Roman Krasiuk
1d3cf5a86c fix(pipeline): ensure unwind across stages (#1934) 2023-03-23 10:17:05 -07:00
Roman Krasiuk
c29d733f5c fix(sync): done flag for index history stages (#1935) 2023-03-23 10:15:16 -07:00
Roman Krasiuk
b34ab3dc1f chore(pipeline): unwind tracing target (#1933) 2023-03-23 09:29:47 -07:00
rakita
8ac2b84c01 perf: Optimize and simplify sender recovery (#1900) 2023-03-22 17:28:31 +01:00
Dan Cline
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
Bjerg
72f59d222b feat: sync.execution.mgas_processed_total metric (#1868) 2023-03-20 11:49:16 -07:00
rakita
38b0bf6d1a feat: Add transaction to block number index (#1866) 2023-03-20 11:16:28 -07:00