Commit Graph

163 Commits

Author SHA1 Message Date
rakita
7c18ba8ed3 perf(db): RawTable, decode/encode only if needed (#2081) 2023-04-05 14:46:10 +02:00
rakita
633d84ded0 feat: Refactor TransitionId tables, BlockBodyIndices table. (#2039) 2023-04-05 13:10:18 +02:00
rakita
89c525f9c9 chore: bump revm to v3.1.0 (#2113) 2023-04-04 16:50:09 +02:00
rakita
ee99987e9e test: next key for seek_by_key_subkey (#2112) 2023-04-04 07:40:58 -07:00
Matthias Seitz
6e3b5f859b feat(db): add transaction_id helper (#2095) 2023-04-03 10:48:51 -07:00
Dan Cline
2b27aa9a4f chore: impl transactions_by_block_range for mock provider (#2082) 2023-04-02 21:50:59 +02:00
joshieDo
5900a7e1be perf(db): decode and decompress directly from borrowed data instead (#2050) 2023-03-31 10:18:20 -07:00
Bjerg
3e17b8a512 fix: empty blocks in get_block_transaction_range (#2063) 2023-03-31 16:24:38 +02:00
rakita
3956e306f2 bug(cursor_walk): handle empty range (#2057) 2023-03-31 15:08:59 +02:00
rakita
efbaf6474c feat(BlockchainTree): ShareableBlockchainTree and pending state (#2007) 2023-03-29 20:59:24 +02:00
Matthias Seitz
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
Dan Cline
bb3f9b6d57 fix: db doc links (#2020) 2023-03-28 16:22:54 -07:00
Bjerg
44f5f7d269 docs: add more docs to reth-db (#2002) 2023-03-28 10:40:58 -07:00
Matthias Seitz
050096d868 fix(db): off by one receipts insert (#1993) 2023-03-27 16:02:18 +02:00
Vid Kersic
aa6f2cb061 chore: export dupsort macro (#1981) 2023-03-25 19:37:26 -07:00
Roman Krasiuk
099f241b90 test(execution): extending with empty poststate (#1969) 2023-03-24 09:37:23 -07:00
Dan Cline
ee52718ab0 fix: use proper option condition in HistoricalStateProvider (#1958) 2023-03-24 11:04:34 +01:00
Dan Cline
01b44448cb fix: always return withdrawals post shanghai (#1945) 2023-03-23 17:43:47 -04:00
Roman Krasiuk
ce40bea46e feat(sync): beacon consensus engine (#1845) 2023-03-23 11:18:19 -07:00
Roman Krasiuk
56f219fc94 fix(execution): poststate extension (#1929) 2023-03-23 14:43:42 +01:00
Dan Cline
b44391776e check shanghai timestamp for withdrawals instead of paris (#1920) 2023-03-22 13:49:19 -07:00
Roman Krasiuk
4cc3a444e1 chore(provider): log proper transition id (#1915) 2023-03-22 13:23:20 -07:00
Matthias Seitz
bcfeb1dea0 chore(deps): upgrade syn 2.0 (#1910) 2023-03-22 06:02:33 -07:00
Matthias Seitz
92e2c4d2aa feat: add transaction_by_hash_with_meta (#1878) 2023-03-21 15:23:14 +01:00
Matthias Seitz
11a3772ea3 chore: make compile again (#1877) 2023-03-21 12:46:22 +01:00
rakita
c4f80b2997 feat: Store receipts (#1860)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-03-21 12:27:37 +01:00
rakita
38b0bf6d1a feat: Add transaction to block number index (#1866) 2023-03-20 11:16:28 -07:00
Roman Krasiuk
6cbc87a6aa fix(executor): wiped postate storage (#1849)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-03-20 10:27:16 -07:00
joshieDo
a015744138 perf: create only one trie cursor per trie type per merkle execute (#1855) 2023-03-20 08:33:58 -07:00
François Garillot
075544e889 refactor: various cleanups (#1833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-03-18 14:13:09 +01:00
Bjerg
9de94ae73c docs: finish_transition clarification (#1824) 2023-03-17 10:50:54 -07:00
Roman Krasiuk
7da13eb40a chore(provider): add post state tracing (#1819) 2023-03-17 16:22:14 +01:00
Roman Krasiuk
9036f5ea9f style: prefer then_some over if else (#1810) 2023-03-17 14:16:29 +01:00
Matthias Seitz
241ec32abf feat: add canonical_headers_range (#1795)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-16 17:06:32 -07:00
Bjerg
7f5ac990eb perf: write friendly ExecutionResult (#1674)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-16 16:42:59 -07:00
rakita
d6344e79fd chore(provider): Added explanation for get_take ExecutionResult fn (#1776) 2023-03-15 17:55:38 -07:00
Matthias Seitz
ec7b9554f3 fix: fix clippy and broken code (#1761) 2023-03-15 04:56:46 -07:00
Matthias Seitz
15d79cedad chore(deps): upgrade secp256k1+enr (#1715) 2023-03-15 11:15:55 +01:00
Chen Kai
91f26f455f feat: validate withdrawal when validating block. (#1521)
Signed-off-by: grapebaba <281165273@qq.com>
2023-03-14 18:34:11 -07:00
Matthias Seitz
4725c4d776 fix: make ChainState provider work for Box<dyn StateProvider> (#1755) 2023-03-14 17:58:14 -07:00
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Chen Kai
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
joshieDo
ee3a8af754 fix(stages): clear pre-eip161 accounts (#1747) 2023-03-13 23:41:33 -07:00
joshieDo
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
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
bc0ce63624 style: get rid of some else branches (#1736) 2023-03-13 18:46:36 +01:00
Matthias Seitz
5e0535c27c chore: add ReceiptProvider trait bound (#1738) 2023-03-13 15:28:47 +01:00
Matthias Seitz
31411681ed feat: add ReceiptProvider (#1735) 2023-03-13 14:35:28 +01:00
Roman Krasiuk
c110c91629 refactor(provider): trie provider (#1723) 2023-03-13 06:23:47 -07:00
rakita
3ba2398f95 bug: Increment transition_id if block changeset is present (#1718) 2023-03-13 10:35:02 +01:00