Commit Graph

300 Commits

Author SHA1 Message Date
2163095921 chore: dont set bad-function-cast warning on linux (#3026) 2023-06-06 14:03:29 +00:00
df9dfa6b6f chore(deps): use revm and revm-primitives as workspace deps (#3017) 2023-06-06 11:47:55 +00:00
a2004f06ae chore(db): fix dupsort typo (#3014) 2023-06-06 10:16:47 +00:00
b3bd98c370 chore(tree): first block naming (#3009) 2023-06-06 09:32:06 +00:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
3bd26b0441 feat: Increment history shard size (#2844) 2023-06-05 13:00:31 -07:00
e1148c81a7 chore(consensus): emit warnings if no CL found (#2961)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-05 16:48:40 +00:00
08900740bc feat: Better progress reporting for stage checkpoints (#2982)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-06-05 16:10:46 +00:00
6fab79bbc2 bug(Tree): Commit from tree now calculates history indices (#2978) 2023-06-05 08:32:46 -07:00
37fe44750d Avoid querying unwritten values from changesets during historical lookups (#2966) 2023-06-05 03:09:11 +00:00
25dd544468 fix: implement pending evm env (#2968) 2023-06-05 02:51:26 +00:00
f042548689 perf: use final paris difficulty if configured (#2969) 2023-06-05 02:47:28 +00:00
5c7c6608d1 chore(clippy): make clippy happy (#2963) 2023-06-02 15:22:42 +00:00
7d14525307 feat: improve block downloads (#2941) 2023-06-02 14:28:03 +00:00
a2287c68a6 chore: dont get plain state if not shard is there (#2959) 2023-06-02 12:50:19 +00:00
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
1641f555f2 feat: use buffered ancestor to determine sync target (#2802)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-31 18:06:16 +00:00
9cd32e516a feat: Add general database::Provider and move implementations from ShareableDatabase to it (#2902) 2023-05-31 16:06:01 +00:00
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
ed209f6cb4 chore(engine): remove db attribute (#2917) 2023-05-30 13:44:41 +00:00
3347da091f feat(cli): add stage unwind command (#2913) 2023-05-30 11:26:24 +00:00
fba2adf8c1 feat(provider): stage checkpoint provider (#2907) 2023-05-30 11:10:26 +00:00
32772ca5dc perf(storage): use delete_current when possible (#2909) 2023-05-30 08:52:07 +00:00
cb3e221273 fix(stages): unwind receipts in execution stage (#2900) 2023-05-30 07:15:58 +00:00
2478c9f11c chore(stage): cleanup stage id (#2898) 2023-05-29 19:22:49 +00:00
e848dcd675 perf(rpc): use block hash or number (#2892) 2023-05-29 14:11:37 +00:00
223f5cb9cc perf: optimize block provider function (#2880) 2023-05-29 12:25:39 +00:00
2711178ee9 perf: use single tx for converting hash to number (#2870) 2023-05-26 16:59:39 +00:00
e05f655928 perf: store canonical number in atomic (#2859) 2023-05-26 13:02:07 +00:00
be5850488c docs: a few additional tree docs (#2852) 2023-05-26 12:24:27 +00:00
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
cdd446aba0 feat: Return an error if requested block is not synced yet (#2833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-25 16:44:16 +00:00
6d0d2104ce perf: disable mdbx debug on release builds (#2841) 2023-05-25 16:40:29 +00:00
d05ba97858 feat: add db get subcommand (#2772)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-25 15:57:41 +02:00
455eead32f test: fix flaky arbitrary test (#2832) 2023-05-25 14:09:19 +02:00
2305310ef8 perf/test: run malformed header test separately (#2750)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-25 12:54:54 +02:00
42683b8949 perf: use canonical block number from mem (#2829) 2023-05-25 12:07:09 +02:00
0b81096f8b feat(stages): checkpoint downloaded headers (#2798) 2023-05-24 20:51:41 +04:00
d7e013c4f2 fix(transaction): block poststate range zip (#2808) 2023-05-24 01:56:27 -07:00
7eaabeb0d4 fix(transaction): tx iterator for block range (#2804) 2023-05-24 01:51:53 -07:00
1e53d5fafa fix: really encode windows paths for mdbx this time (#2806) 2023-05-24 10:35:23 +02:00
5039122c35 feat: add sealed_header to HeaderProvider for single headers (#2801) 2023-05-23 16:03:02 -04:00
4e1f0a909b fix(mdbx): use windows symbols on windows (#2780) 2023-05-22 16:59:28 +03:00
44348b4e48 feat: add canonical outcome type (#2765) 2023-05-22 15:30:13 +02:00
337579176d feat: add sealed headers range (#2769) 2023-05-22 15:30:00 +02:00
71589119ab refactor: remove unused Transaction fns (#2739) 2023-05-19 11:20:52 +02:00
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +02:00
8fee5d3e28 refactor: dedicated blockchain insert errors (#2712) 2023-05-18 15:00:47 +02:00
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
fd45c8726d chore: executor error cleanup (#2709) 2023-05-17 11:13:08 +02:00