Commit Graph

282 Commits

Author SHA1 Message Date
Roman Krasiuk
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
Roman Krasiuk
ed209f6cb4 chore(engine): remove db attribute (#2917) 2023-05-30 13:44:41 +00:00
Matthias Seitz
3347da091f feat(cli): add stage unwind command (#2913) 2023-05-30 11:26:24 +00:00
Roman Krasiuk
fba2adf8c1 feat(provider): stage checkpoint provider (#2907) 2023-05-30 11:10:26 +00:00
Alexey Shekhirin
32772ca5dc perf(storage): use delete_current when possible (#2909) 2023-05-30 08:52:07 +00:00
Alexey Shekhirin
cb3e221273 fix(stages): unwind receipts in execution stage (#2900) 2023-05-30 07:15:58 +00:00
Roman Krasiuk
2478c9f11c chore(stage): cleanup stage id (#2898) 2023-05-29 19:22:49 +00:00
Matthias Seitz
e848dcd675 perf(rpc): use block hash or number (#2892) 2023-05-29 14:11:37 +00:00
Matthias Seitz
223f5cb9cc perf: optimize block provider function (#2880) 2023-05-29 12:25:39 +00:00
Matthias Seitz
2711178ee9 perf: use single tx for converting hash to number (#2870) 2023-05-26 16:59:39 +00:00
Matthias Seitz
e05f655928 perf: store canonical number in atomic (#2859) 2023-05-26 13:02:07 +00:00
Matthias Seitz
be5850488c docs: a few additional tree docs (#2852) 2023-05-26 12:24:27 +00:00
Roman Krasiuk
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
chirag-bgh
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
Bjerg
6d0d2104ce perf: disable mdbx debug on release builds (#2841) 2023-05-25 16:40:29 +00:00
Mateusz
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
Matthias Seitz
455eead32f test: fix flaky arbitrary test (#2832) 2023-05-25 14:09:19 +02:00
chirag-bgh
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
Matthias Seitz
42683b8949 perf: use canonical block number from mem (#2829) 2023-05-25 12:07:09 +02:00
Alexey Shekhirin
0b81096f8b feat(stages): checkpoint downloaded headers (#2798) 2023-05-24 20:51:41 +04:00
Roman Krasiuk
d7e013c4f2 fix(transaction): block poststate range zip (#2808) 2023-05-24 01:56:27 -07:00
Roman Krasiuk
7eaabeb0d4 fix(transaction): tx iterator for block range (#2804) 2023-05-24 01:51:53 -07:00
Bjerg
1e53d5fafa fix: really encode windows paths for mdbx this time (#2806) 2023-05-24 10:35:23 +02:00
Dan Cline
5039122c35 feat: add sealed_header to HeaderProvider for single headers (#2801) 2023-05-23 16:03:02 -04:00
Bjerg
4e1f0a909b fix(mdbx): use windows symbols on windows (#2780) 2023-05-22 16:59:28 +03:00
Matthias Seitz
44348b4e48 feat: add canonical outcome type (#2765) 2023-05-22 15:30:13 +02:00
Matthias Seitz
337579176d feat: add sealed headers range (#2769) 2023-05-22 15:30:00 +02:00
Bjerg
71589119ab refactor: remove unused Transaction fns (#2739) 2023-05-19 11:20:52 +02:00
Alexey Shekhirin
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +02:00
Matthias Seitz
8fee5d3e28 refactor: dedicated blockchain insert errors (#2712) 2023-05-18 15:00:47 +02:00
Matthias Seitz
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
Matthias Seitz
fd45c8726d chore: executor error cleanup (#2709) 2023-05-17 11:13:08 +02:00
Matthias Seitz
9a4244867f refactor: cleanup Providererror (#2710) 2023-05-17 11:00:55 +02:00
Dan Cline
ca6724f106 fix: update bindgen in libmdbx-rs (#2703) 2023-05-16 18:21:02 -07:00
rakita
ce50db0b1d chore(mdbx): Bump to v0.12.6 (#2692) 2023-05-16 15:39:46 +02:00
Georgios Konstantopoulos
ae2b0954c6 perf: do not compile traces in release mode (#2652) 2023-05-15 17:06:10 -07:00
Roman Krasiuk
d91f1d1c50 fix(poststate): collapse account changes (#2670) 2023-05-15 14:49:58 -07:00
Matthias Seitz
85e6d9ac5b feat(rpc): set starting block to latest at launch (#2668) 2023-05-15 15:49:09 +02:00
Matthias Seitz
7292384913 perf: read ChainInfo from in-memory canonical block (#2669) 2023-05-15 15:45:13 +02:00
Roman Krasiuk
ae6691dd36 chore: make clippy happy, tests edition (#2675) 2023-05-15 15:09:03 +02:00
Matthias Seitz
4d0406b383 perf(rpc): improve gas price perf by skipping hash (#2657) 2023-05-13 12:34:06 -04:00
Roman Krasiuk
a0b6b207a6 chore(poststate): size hint (#2653) 2023-05-12 14:22:58 -07:00
Dan Cline
cc601dbe9f feat: add safe and finalized tags to StateProviderFactory (#2654) 2023-05-12 16:00:16 -04:00
Roman Krasiuk
e2c7b38d55 fix(poststate): storage revert before selfdestruct (#2636) 2023-05-12 10:45:20 -07:00
Roman Krasiuk
b16678da1d fix(poststate): handle secondary selfdestructs (#2634) 2023-05-12 10:32:43 -07:00
Roman Krasiuk
8c1a1e0e06 fix(poststate): duplicate receipts (#2632) 2023-05-12 10:31:01 -07:00
joshieDo
047f1e513c feat(db): add zstd and CompactZstd to Transactions and Receipts (#2483)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-05-12 10:30:15 -07:00
joshieDo
4056b15882 fix: remove Account length from compact on AccountBeforeTx (#2622) 2023-05-12 10:29:56 -07:00
Dan Cline
45caab8052 feat: impl BlockIdProvider for BlockchainProvider (#2650) 2023-05-12 18:28:27 +02:00
Matthias Seitz
afcc66c39a feat: add getter for last FCU timestamp (#2647) 2023-05-12 12:15:16 -04:00