Commit Graph

134 Commits

Author SHA1 Message Date
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
Bjerg
161de9aadf feat: persist contract analysis in db (#1640) 2023-03-08 16:25:14 +01:00
rakita
21c66621dd feat: ExecutorFactory (#1672) 2023-03-08 16:01:56 +01:00
Tomás
77d108660e feat(rpc): add eth_createAccessList implementation (#1652)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-03-08 10:07:09 +01:00
rakita
a1d0b537a7 bug: Remove old account/storage root in merkle trie (#1646) 2023-03-07 13:49:43 +01:00
Roman Krasiuk
32e31b240d perf(provider): remove redundant lookup (#1650) 2023-03-06 22:18:51 +01:00
Matthias Seitz
7b71af2409 test: add empty decode buffer check (#1628) 2023-03-04 13:51:35 -07:00
Bjerg
1ae74feeb5 chore: remove unused config table (#1611)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-03-02 17:25:06 +01:00
rakita
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
joshieDo
2884eae075 perf: bench merkle stage (#1497) 2023-02-28 23:20:00 -07:00
Matthias Seitz
7a01e1e231 feat: add eth state cache (#1561) 2023-02-28 20:46:25 +01:00
joshieDo
6cdf0a3ea6 fix: seek_by_key_subkey usage on HistoricalStateProvider (#1584) 2023-02-28 16:45:04 +01:00
Tom French
cea56f1e1d chore: silence unwanted clippy warning in test (#1566) 2023-02-27 02:22:11 -08:00
tomarST
662fd87288 chore: fix all the obvious clippy warnings (#1520) 2023-02-26 00:40:52 -08: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
Matthias Seitz
a3067d9067 chore: remove unused crate deps (#1524) 2023-02-23 12:42:19 +01:00
Matthias Seitz
17dffba150 feat(rpc): impl uncle count handlers (#1511) 2023-02-22 14:40:58 -08:00
Roman Krasiuk
823866ac57 feat(rpc): launch auth server (#1506)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-22 14:39:37 -08:00
Matthias Seitz
8094ab18db feat: add BlockProvider::ommers (#1509) 2023-02-22 15:28:00 +01:00
Roman Krasiuk
03832d6d23 feat(engine-api): Shanghai support (#1445)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-20 21:40:03 -08:00
Matthias Seitz
50203a8f2a chore: phase out ethers rpc block types (#1463) 2023-02-20 16:02:33 +01:00
Matthias Seitz
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
Matthias Seitz
1a31a21d31 feat: extend BlockProvider with default util functions (#1447) 2023-02-18 11:29:18 +01:00
Roman Krasiuk
54b6a4ae94 feat(provider): add TransactionsProvider and WithdrawalsProvider (#1431) 2023-02-17 16:26:47 +01:00
Matthias Seitz
7c9b212b4a chore: relax Arc requirement for provider (#1429) 2023-02-17 14:40:20 +01:00
Matthias Seitz
c834aee846 chore: put chainspec behind an Arc (#1430) 2023-02-17 14:15:54 +01:00
Tomás
2306bfe998 feat: Add eth_getBalance, eth_getTransactionCount, eth_getStorageAt handlers (#1422)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-17 12:42:24 +01:00
Roman Krasiuk
4203d7a9b7 feat(provider): implement BlockProvider::block (#1426) 2023-02-17 03:13:49 -08:00
joshieDo
495db6e30d chore: add pprof profiler/flamegraphs to all criterion benchmarks (#1425) 2023-02-17 01:08:32 -08:00
Tomás
8547fbfaed test: walk_back and walk_range (#1407)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-16 12:25:21 -08:00