Commit Graph

52 Commits

Author SHA1 Message Date
b7ef60b899 Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 23:29:19 +00:00
3861bc05fa Enable clippy's derive_partial_eq_without_eq linter (#7203)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:33:53 +00:00
610731ced8 feat(db): record client version history (#7119) 2024-03-13 12:07:13 +00:00
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
4fe0f27974 fix(ci): allow non_local_definitions on false positives (#6790) 2024-02-26 12:20:08 +00:00
613b6f08a2 chore: use Table::TABLE in more places (#6563) 2024-02-12 14:53:16 +00:00
2a5efb2a99 refactor(db): unify table macros (#6552) 2024-02-12 13:48:01 +00:00
43b795163c perf(db): introduce environment-level cache for metric handles (#6550) 2024-02-12 12:13:57 +00:00
cbf6324594 chore(primitives): extract trie HashBuilder implementation (#5832) 2023-12-26 07:48:55 +00:00
b37cd833a4 Feature: Support db get for duptables (CLI) (#4653)
Co-authored-by: Dragan Pilipovic <admin@Admins-MacBook-Pro.local>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-12-21 14:45:46 +00:00
26a91c69f4 feat: use nybbles crate (#5766) 2023-12-15 11:27:49 +00:00
0d522e8472 chore: improve Nibbles-related code (#5631) 2023-11-30 19:28:50 +00:00
470449ff24 fmt: format doc comments (#5308) 2023-11-05 13:06:30 +00:00
e05dba69ce chore: rewrite all error messages for consistency (#5176)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-10-25 20:12:03 +00:00
1e7d028d53 refactor(prune): segment trait, receipts impl (#4887) 2023-10-05 11:56:47 +00:00
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
c743acde77 feat(db): add search to reth db list command (#4165) 2023-08-15 17:28:30 +00:00
1ca7f3ae40 feat(pruner, storage): prune receipts & save checkpoints to database (#3733)
Co-authored-by: joshieDo <ranriver@protonmail.com>
2023-07-24 16:39:02 +00:00
94129631cb feat(primitives, storage): save prune checkpoints in database (#3628) 2023-07-11 15:12:20 +00:00
6810cd1295 feat(db): add helper enum for table name (#2935)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-22 18:04:01 +00:00
a2004f06ae chore(db): fix dupsort typo (#3014) 2023-06-06 10:16:47 +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
5d7eba6fb2 chore(primitives): move checkpoints under stage mod (#2906) 2023-05-30 17:14:13 +00:00
3347da091f feat(cli): add stage unwind command (#2913) 2023-05-30 11:26:24 +00:00
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +02:00
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
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
019ddd1edc perf(db): reduce different repeated allocations (#2103) 2023-04-13 11:33:53 -04:00
0759b30404 feat(trie): state root (#2206)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 09:48:33 -07:00
7c18ba8ed3 perf(db): RawTable, decode/encode only if needed (#2081) 2023-04-05 14:46:10 +02:00
633d84ded0 feat: Refactor TransitionId tables, BlockBodyIndices table. (#2039) 2023-04-05 13:10:18 +02:00
bb3f9b6d57 fix: db doc links (#2020) 2023-03-28 16:22:54 -07:00
44f5f7d269 docs: add more docs to reth-db (#2002) 2023-03-28 10:40:58 -07:00
aa6f2cb061 chore: export dupsort macro (#1981) 2023-03-25 19:37:26 -07:00
c4f80b2997 feat: Store receipts (#1860)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-03-21 12:27:37 +01:00
38b0bf6d1a feat: Add transaction to block number index (#1866) 2023-03-20 11:16:28 -07:00
06db495d96 fix: use string instead of Vec<u8> for stageId. (#1495)
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2023-03-14 09:57:19 -07:00
5b90cbc411 fix(stages): add commit threshold to merkle stage v2 (#1656)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-13 21:47:16 -07:00
161de9aadf feat: persist contract analysis in db (#1640) 2023-03-08 16:25:14 +01:00
1ae74feeb5 chore: remove unused config table (#1611)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-03-02 17:25:06 +01:00
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00
fd7dc11960 feat(sync): MerkleStage (#994)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
2023-02-03 18:50:33 -08:00
6dcced0cfb feat: index account/storage history (#978)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-01-26 17:03:02 +01:00
899d011bfd feat: add AccountHashingStage and StorageHashingStage (#756)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-18 10:22:39 -08:00
a8b7a089b6 feat(bin): Format db list & db status subcommands (#667)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-18 09:59:09 -08:00
4f91344b5b feat: BlockTransition remove hash from NumHash db index (#894) 2023-01-17 16:18:31 -08:00
3bd1458df6 Rename cursor functions (#787) 2023-01-10 20:08:30 +01:00
c68a850c70 chore(db): modify state transition docs (#515) 2022-12-20 11:31:23 +02:00
daaf039fbf feat(sync): state transition indexes (#449)
* introduce state transitions and revert/modify block bodies table

* init refactor

* revamp transaction iteration based on bodies and add state transition mappings

* change expected return on empty db execution

* interim commit

* fix body downloader & stage

* refactor(bodies/dl): make fetch bodies fn more clear

* chore: disable unused vars/fns temporarily until exec is back

* chore: fmt

* test: fix tests

* use transitions in execution stage

* clarify empty unwind test

* remove last_tx_index fn

* rename fn and var names

* fix full block response comment

* rename fetcher`s get_block_body to get_block_bodies

* Update crates/stages/src/db.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

* fmt

* fix index overlap check error

* uncomment eth chain command

* fix doc comment

* typos

* cleanup

* any_last_tx_index -> last_tx_index

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2022-12-16 08:37:49 -08:00