Commit Graph

34 Commits

Author SHA1 Message Date
Thomas Coratger
365acf08dd fix: better conversion error handling in block_hash_ref (#5870)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-12-28 16:39:16 +00:00
joshieDo
18dd1b72a1 feat: snapshots (#5738)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-12-18 15:55:43 +00:00
DaniPopes
6ae86d5a96 chore: shrink ProviderError size (#5482) 2023-11-17 23:55:30 +00:00
Bjerg
db5d01e328 refactor: split async/sync work in stages (#4636)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-11-17 21:12:12 +00:00
Roman Krasiuk
30dfc070e1 chore(provider): migrate providers to ProviderError (#5473) 2023-11-17 14:07:28 +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
DaniPopes
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
joshieDo
3ab1afc9aa feat: implement providers for SnapshotJarProvider (#5231) 2023-11-03 14:30: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
DaniPopes
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
Alexey Shekhirin
a8a2cfa7a3 feat(storage): account for pruned account/storage history (#4092) 2023-08-09 18:12:48 +00:00
joshieDo
68b93a88de refactor: adds StorageReader / HashingWriter / HistoryWriter (#3285) 2023-06-22 14:08:27 +00:00
joshieDo
ab2a38a549 chore: replace ExecutionStage::read_block_with_senders with BlockProvider::block_with_senders (#3168) 2023-06-15 18:46:50 +00:00
Dan Cline
c0fb169da4 fix: unwind on execution and senders errors (#2938)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-06 13:17:12 -07:00
Matthias Seitz
9a4244867f refactor: cleanup Providererror (#2710) 2023-05-17 11:00:55 +02:00
Dan Cline
cc601dbe9f feat: add safe and finalized tags to StateProviderFactory (#2654) 2023-05-12 16:00:16 -04:00
Dan Cline
52b5418a63 feat: gas price oracle (#2600) 2023-05-12 15:15:34 -04:00
Matthias Seitz
a00ba2ad7b chore: dont panic on unsupported tag (#2578) 2023-05-05 08:05:46 -07:00
Matthias Seitz
e2bacdfad7 feat: check if blocknumber is latest block number (#2428) 2023-04-27 13:45:17 +02:00
Matthias Seitz
420a65a206 feat: move StateRootProvider to StateProvider trait (#2392) 2023-04-25 10:52:46 -07: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
rakita
633d84ded0 feat: Refactor TransitionId tables, BlockBodyIndices table. (#2039) 2023-04-05 13:10:18 +02:00
Matthias Seitz
f633a5d761 chore: convert panic into error (#2035) 2023-03-31 16:32:29 +02:00
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Tomás
54aab533c2 feat(rpc): add partial eth_getProof implementation (#1515)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-03-13 17:49:36 -07:00
Matthias Seitz
7a01e1e231 feat: add eth state cache (#1561) 2023-02-28 20:46:25 +01:00
Matthias Seitz
5844ce10f3 feat: add evm env provider (#1525)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-24 11:21:18 +01:00
Dan Cline
3d0864bbb9 chore: move Transaction container to reth_provider (#1238)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-10 21:25:26 -08:00
Roman Krasiuk
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00
rakita
71dc531e68 feat: HistoryStateProvider (#1057) 2023-01-27 11:28:30 +01:00
rakita
4f91344b5b feat: BlockTransition remove hash from NumHash db index (#894) 2023-01-17 16:18:31 -08:00
Roman Krasiuk
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
rakita
e014eaad33 feat(db): Refactor storage libraries (#371) 2022-12-09 23:14:07 -08:00