Commit Graph

29 Commits

Author SHA1 Message Date
c481987558 feat(blockchain-tree): add Display for blocks in Chain (#3230) 2023-06-19 17:54:16 +00:00
96abde0965 chore: AccountProvider -> AccountReader & AccountWriter (#3228) 2023-06-19 11:46:47 +00:00
017c9cea9c chore: move stage methods to StageCheckpointProvider and add StageCheckpointWriter (#3195)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-17 11:06:25 +00:00
209d2445b0 chore: rename ShareableDatabase to ProviderFactory (#3121) 2023-06-14 06:49:32 +00:00
f55d88b8c4 refactor: remove Transaction and add DatabaseProvider to stages (#3034)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-12 22:37:58 +00:00
fba2adf8c1 feat(provider): stage checkpoint provider (#2907) 2023-05-30 11:10:26 +00:00
08972ca5e4 feat: add forkchoice update tracker type (#2555)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-05-12 12:24:41 +02:00
7d3016f0f2 feat: use BlockHashOrNum in providers (#2627) 2023-05-10 22:03:16 +02:00
0678137a0d chore: add find_block_by_hash and more docs (#2405) 2023-04-26 14:58:18 +02:00
f373731262 feat: add StateRootProvider trait (#2383) 2023-04-25 05:54:01 -07:00
0759b30404 feat(trie): state root (#2206)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 09:48:33 -07:00
087d0a6317 feat: CanonStateNotification for commit and reorg (#2156) 2023-04-10 13:11:15 +02:00
efbaf6474c feat(BlockchainTree): ShareableBlockchainTree and pending state (#2007) 2023-03-29 20:59:24 +02:00
7f5ac990eb perf: write friendly ExecutionResult (#1674)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-16 16:42:59 -07:00
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
31411681ed feat: add ReceiptProvider (#1735) 2023-03-13 14:35:28 +01:00
21c66621dd feat: ExecutorFactory (#1672) 2023-03-08 16:01:56 +01:00
42e3f56108 feat: refactor few stages to providers, introduce insert_block (#1474)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-01 13:42:45 -07:00
5844ce10f3 feat: add evm env provider (#1525)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-24 11:21:18 +01:00
a3067d9067 chore: remove unused crate deps (#1524) 2023-02-23 12:42:19 +01:00
54b6a4ae94 feat(provider): add TransactionsProvider and WithdrawalsProvider (#1431) 2023-02-17 16:26:47 +01:00
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
c23a2215b0 chore(db): restructure providers crate (#1003) 2023-01-25 04:55:34 -08:00
4f91344b5b feat: BlockTransition remove hash from NumHash db index (#894) 2023-01-17 16:18:31 -08:00
24d5612027 rename StateProvider structs (#663) 2022-12-30 13:58:44 +02:00
565a0aa90b feat(engine): new payload execution (#631)
* feat(engine): new payload execution

* address PR comments

* rm unused dev deps

* add comment about lru

* remove par_iter
2022-12-29 02:36:56 -08: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
dff3936b29 feat(cli): db cmd scaffold (#405)
* feat(cli): db cmd scaffold

* feat(cli): add methods for seeding/listing tables

* feat(cli): add reth db stats

* chore: docs / cleanup

* chore: remove ethers

Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2022-12-13 18:57:37 +02:00
e014eaad33 feat(db): Refactor storage libraries (#371) 2022-12-09 23:14:07 -08:00