Commit Graph

80 Commits

Author SHA1 Message Date
Thomas Coratger
2138a8b587 feat(primitives): add Receipts to encapsulate Vec<Vec<Option<Receipt>> (#4626)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-09-27 18:11:19 +00:00
Matthias Seitz
66fc1964d7 feat: add block_range provider function (#4819) 2023-09-27 10:33:01 +00:00
DaniPopes
8f9d2908ca chore: add and fix more lints, improve docs (#4765) 2023-09-25 15:46:46 +00:00
Roman Krasiuk
0f9def08c0 perf: remove unnecessary state clone (#4763) 2023-09-25 13:48:48 +00:00
Alexey Shekhirin
0874767cd9 refactor(interfaces): Result -> RethResult, Error -> RethError (#4695) 2023-09-20 21:13:16 +00:00
Alessandro Mazza
a979f5b661 add TransactionsProvider implementation for MockEthProvider (#4656) 2023-09-20 06:54:21 +00:00
rakita
f153d8f4d4 feat(revm): Integrate State (#3512)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-09-16 11:00:22 +00:00
Roberto Bayardo
9569debbb5 feat: make base fee computation parameters configurable via chain spec (#3992) 2023-08-07 15:52:27 +00:00
Alexey Shekhirin
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
Ryan Schneider
34c9abe249 feat: implement reth_getBalanceChangesInBlock (#3768)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-18 17:49:23 +00:00
Josh Stevens
b07dfb5525 fix: transaction calls on the reth-provider should not generate a hash by default (#3675) 2023-07-11 11:17:46 +00:00
Roman Krasiuk
f2f3425f1c chore: fix clippy (#3540) 2023-07-03 14:26:17 +03:00
Bjerg
4f32f5627c fix: add block rewards to trace_block (#3491)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-07-02 15:06:52 +00:00
Matthias Seitz
112313e55a feat: add pending block with receipts (#3404)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-06-26 17:25:46 +00:00
joshieDo
054f30f43c chore: rename Block*Provider for Block*Reader (#3385) 2023-06-26 14:13:45 +00:00
Matthias Seitz
e8b09cc59b feat: add pending receipts (#3320) 2023-06-22 20:00:16 +00:00
joshieDo
96abde0965 chore: AccountProvider -> AccountReader & AccountWriter (#3228) 2023-06-19 11:46:47 +00:00
Matthias Seitz
dce1e655c5 perf: better state retrieval (#3221) 2023-06-19 08:56:34 +00:00
joshieDo
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
joshieDo
0d9e1f4997 chore: replaces tx.get::<Table> with provider methods (#3189) 2023-06-17 00:58:16 +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
joshieDo
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
Matthias Seitz
5b0536bd7b feat: add util function for fetching tagged headers (#3097) 2023-06-12 05:58:39 +00:00
Matthias Seitz
25dd544468 fix: implement pending evm env (#2968) 2023-06-05 02:51:26 +00:00
Matthias Seitz
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
joshieDo
9cd32e516a feat: Add general database::Provider and move implementations from ShareableDatabase to it (#2902) 2023-05-31 16:06:01 +00:00
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
Dan Cline
5039122c35 feat: add sealed_header to HeaderProvider for single headers (#2801) 2023-05-23 16:03:02 -04:00
Matthias Seitz
337579176d feat: add sealed headers range (#2769) 2023-05-22 15:30:00 +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
Matthias Seitz
85e6d9ac5b feat(rpc): set starting block to latest at launch (#2668) 2023-05-15 15:49:09 +02:00
Matthias Seitz
4d0406b383 perf(rpc): improve gas price perf by skipping hash (#2657) 2023-05-13 12:34:06 -04:00
Dan Cline
cc601dbe9f feat: add safe and finalized tags to StateProviderFactory (#2654) 2023-05-12 16:00:16 -04:00
Roman Krasiuk
8c1a1e0e06 fix(poststate): duplicate receipts (#2632) 2023-05-12 10:31:01 -07:00
Dan Cline
7d3016f0f2 feat: use BlockHashOrNum in providers (#2627) 2023-05-10 22:03:16 +02:00
Matthias Seitz
b55a17b087 feat(rpc): support pending block tag (#2524) 2023-05-02 20:35:36 +02:00
grantkee
7ccede7e2b feat(mock) ExtendedAccount storage method (#1888) 2023-05-01 16:36:51 +02:00
Matthias Seitz
0678137a0d chore: add find_block_by_hash and more docs (#2405) 2023-04-26 14:58:18 +02:00
chirag-bgh
607186de71 feat: add best_block_number call to BlockIdProvider (#2358) 2023-04-25 13:30:13 -07:00
Matthias Seitz
df3274892f feat: add StateProviderFactor::state_by_block_hash (#2390) 2023-04-25 11:11:55 -07:00
Matthias Seitz
420a65a206 feat: move StateRootProvider to StateProvider trait (#2392) 2023-04-25 10:52:46 -07:00
Matthias Seitz
dc8308f820 chore: remove default todo! impl (#2382) 2023-04-25 12:14:55 +02:00
Matthias Seitz
20e842b5b7 feat: add BlockchainProvider type (#2294) 2023-04-24 14:54:09 +02:00
rakita
ad77de49f0 fix(provider): post state get didn't get receipts (#2360) 2023-04-23 17:30:39 +02:00
rakita
07efa2db45 chore(tree): Move tree related files to root of the lib (#2359) 2023-04-23 17:30:17 +02:00
joshieDo
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02: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
Roman Krasiuk
0759b30404 feat(trie): state root (#2206)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 09:48:33 -07:00