Commit Graph

512 Commits

Author SHA1 Message Date
Matthias Seitz
3553cd5076 chore: remove cursed env lifetime (#5474) 2023-11-17 14:07:46 +00:00
Roman Krasiuk
30dfc070e1 chore(provider): migrate providers to ProviderError (#5473) 2023-11-17 14:07:28 +00:00
Roman Krasiuk
eadbe5dce9 feat(provider): HeaderProvider::sealed_headers_while (#5470) 2023-11-17 10:21:35 +00:00
Matthias Seitz
fb981cec4d chore: move criterion and pprof to workspace (#5461) 2023-11-16 14:13:24 +00:00
Matthias Seitz
1b39096edd chore: more libmdbx cleanup (#5455) 2023-11-16 14:12:40 +00:00
Matthias Seitz
8459fb0ada chore: make inner private (#5445) 2023-11-15 19:03:54 +00:00
Matthias Seitz
0583a967df chore: make it harder to misuse raw pointers (#5447) 2023-11-15 19:01:31 +00:00
joshieDo
a389a2b42d feat: search for a snapshot that fulfills a queried BlockHash or TxHash (#5373)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-15 16:53:28 +00:00
Matthias Seitz
dc72cad838 feat: phase out environment trait (#5439) 2023-11-15 16:42:34 +00:00
Matthias Seitz
de0cca2488 refactor: transaction internals (#5437) 2023-11-15 14:46:07 +00:00
Matthias Seitz
f42db5b4a2 chore: put env types into container type (#5436)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2023-11-15 14:30:09 +00:00
Alexey Shekhirin
b98d7c8c12 chore(storage): rebuild MDBX if sources changed (#5435) 2023-11-15 13:22:35 +00:00
Matthias Seitz
365fbb18c2 chore: add a few tx related helper functions (#5430) 2023-11-14 23:09:07 +00:00
joshieDo
7b781eb602 feat: add directory paths to Snapshotter and SnapshotProvider (#5283)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-11-14 20:54:13 +00:00
Roman Krasiuk
fd392ba0b9 chore: decriptive panic on non-existing block indices (#5425) 2023-11-14 19:31:24 +00:00
joshieDo
d21e346c04 feat: share SnapshotProvider through ProviderFactory (#5249)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-11-14 17:50:12 +00:00
Matthias Seitz
efc5277964 chore: make txn manager private (#5426) 2023-11-14 17:07:04 +00:00
Matthias Seitz
fbc44e3cfb docs: some tree doc cleanup (#5423) 2023-11-14 15:35:47 +00:00
Roman Krasiuk
2bd8c7e7e6 chore(state): split_at refactor (#5419) 2023-11-14 11:59:17 +00:00
Luca Provini
5baa158fbc Mock eth provider implementation for EvmEnvProvider trait (#5414) 2023-11-13 17:20:35 +00:00
Luca Provini
e11ddef273 feat: changesetreader for mockethprovider (#5410) 2023-11-13 12:31:36 +00:00
Supernovahs.eth
475c42eb0a feat:Support BlockHashOrNumber with block_with_senders (#5356) 2023-11-09 16:39:45 +00:00
DaniPopes
e897764ad4 chore(meta): manifest maintenance (#5353) 2023-11-08 19:53:50 +00:00
Alexey Shekhirin
aa9a8dcad8 feat(bin): report freelist in db stats (#5355) 2023-11-08 13:05:55 +00:00
Alexey Shekhirin
47669c5886 feat(rpc): record call metrics per method (#5338) 2023-11-07 19:01:39 +00:00
DaniPopes
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
clabby
52670a8b24 feat: op-reth (#4377)
Co-authored-by: Roberto Bayardo <bayardo@alum.mit.edu>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: refcell <refcell@oplabs.co>
Co-authored-by: nicolas <48695862+merklefruit@users.noreply.github.com>
2023-11-05 17:33:42 +00:00
DaniPopes
470449ff24 fmt: format doc comments (#5308) 2023-11-05 13:06:30 +00:00
Alexey Shekhirin
4fcd20c890 feat(tree): measure different parts of canonicalization (#5266) 2023-11-03 16:53:59 +00:00
joshieDo
3ab1afc9aa feat: implement providers for SnapshotJarProvider (#5231) 2023-11-03 14:30:57 +00:00
Roman Krasiuk
2a56203563 test(state): in-memory state root (#5226) 2023-10-30 13:39:48 +00:00
joshieDo
e73ece945d feat: remove const generics from cursors and add segment masks (#5181)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-30 12:24:49 +00:00
joshieDo
74a2bf38dd feat: add SnapshotCursor wrapper and impl HeaderProvider (#5170)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-30 11:58:03 +00:00
Matthias Seitz
3eae861ae0 chore: remove unused deps (#5217) 2023-10-29 12:40:04 +01:00
Matthias Seitz
aa4a39e21f chore: types in aliases (#5212) 2023-10-28 16:38:51 +02:00
Alexey Shekhirin
a9fa281816 feat(storage): database/transaction/cursor metrics (#5149) 2023-10-27 17:47:41 +00:00
joshieDo
a2323c90c2 feat: share mmap handle inbetween snapshot providers & cursors (#5162)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-27 10:27:36 +00:00
joshieDo
006259b4f6 feat: move ZstdDictionary inside NippyJar and create a snapshot manager (#5139)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-27 10:06:31 +00:00
Matthias Seitz
fbdf744b8f perf: introduce BlockValidationKind (#5195) 2023-10-27 08:01:57 +00:00
joshieDo
0116b80414 feat: add reth db snapshot transactions | receipts commands (#5007)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-10-26 12:01:29 +00:00
DaniPopes
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
robinsdan
6ca14b5178 clean up database file after testing (#5087)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2023-10-25 18:47:44 +00:00
DoTheBestToGetTheBest
df9c295826 Update noop.rs (#5180)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-25 16:41:47 +00:00
Matthias Seitz
4dc15c3bee chore(clippy): make clippy happy (#5155) 2023-10-24 13:15:36 +02:00
Alexey Shekhirin
2a4c787591 feat(storage): bump mdbx to 0.12.8 (#5123) 2023-10-24 12:34:10 +02:00
DoTheBestToGetTheBest
916b6b3b28 implementations for DbTx functions for TxMock (#5015) 2023-10-23 17:33:38 +00:00
Alexey Shekhirin
d05b32449b feat(bin): --raw and min size arguments for db commands (#5113) 2023-10-23 12:08:48 +00:00
Thomas Coratger
93e837e28a feat(storage): add an option to return hashed transactions in block_with_senders (#5095)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-19 22:56:01 +00:00
Thomas Coratger
5d217a2867 feat(primitives): move revm-primitives to reth-primitives (#5088) 2023-10-19 22:35:46 +00:00
Matthias Seitz
ffe0e89003 chore: return None if block does not exist (#5091) 2023-10-19 11:54:47 +00:00