Commit Graph

93 Commits

Author SHA1 Message Date
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
Tomás
db4c4fb8d1 chore(db): make database error codes signed (#1236)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-16 10:39:30 -08:00
Roman Krasiuk
f979c6c1fb chore: reexport bytes & bump version to 1.4 (#1395) 2023-02-16 10:33:28 -08:00
Roman Krasiuk
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
Alexey Shekhirin
94674f9c16 feat(rpc, storage): eth_feeHistory except reward field (#1275) 2023-02-16 11:33:14 +01:00
Roman Krasiuk
c41c343492 fix: convert fuzz test names to snake case (#1390) 2023-02-16 10:27:25 +02:00
joshieDo
6da8967082 fix: use walk_range on import_table_with_range (#1364)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-15 11:22:24 -08:00
joshieDo
313bf28501 feat: add reth dump-stage command (#1328) 2023-02-14 09:23:33 -08:00
Bjerg
d216081b58 feat: add Finish stage (#1279) 2023-02-14 17:10:50 +01:00
Alexey Shekhirin
3b732ad0db feat(storage): make Database::view accept FnOnce instead of FnMut (#1331) 2023-02-13 22:31:58 -08:00
Georgios Konstantopoulos
49292091dd Revert "feat: add reth dump-stage command" (#1327) 2023-02-13 19:10:58 -08:00
joshieDo
b3ff45229a feat: add reth dump-stage command (#1265) 2023-02-13 19:07:43 -08:00
Alexey Shekhirin
e93cd206fe feat(storage): accept any RangeBounds to walk_range (#1309) 2023-02-13 17:31:56 -08:00
Roman Krasiuk
3566c56478 perf(sync): do not store empty ommers entries (#1313) 2023-02-13 16:00:45 +01:00
Roman Krasiuk
eba63b8f77 fix: chainspec ttd check (#1285)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-11 12:49:01 -08: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
Georgios Konstantopoulos
ea5633b3c3 feat: changed walk(), walk_dup() definitions and impls to accept Option<T::(sub)Key> #1197 (#1283)
Co-authored-by: Estéfano Bargas <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-10 21:10:31 -08:00
Matthias Seitz
d106f8abc1 feat: impl Provider for ChainState type (#1278) 2023-02-10 20:44:25 -08:00
Roman Krasiuk
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00
rakita
23848df73a chore: update revm to v3.0.0 (#1248)
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-10 11:56:59 -08:00
rakita
b731bb9bb3 refactor: make SharableDatabase more relax (#1274) 2023-02-10 15:46:54 +01:00
Matthias Seitz
07ed660cae chore: unify provider delegate macro (#1273) 2023-02-10 14:51:27 +01:00
Matthias Seitz
de0ecb036b feat: add ChainState type (#1249) 2023-02-10 14:07:37 +01:00
joshieDo
7e68373f2d perf(stages): Adds benchmark to TransactionLookupStage (#1130)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-02-09 13:10:12 -08:00
Matthias Seitz
ebd5d3c1a2 chore: move StateProvider impls to state module (#1251) 2023-02-09 16:41:14 +01:00
Matthias Seitz
314ea0883b feat(cli): integrate rpc server (#1213) 2023-02-07 15:53:39 -08:00
Tomás
1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00
Bjerg
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
naviechan
c77de627d1 Impl state and account trait for NoopProvider (#1198) 2023-02-06 17:25:54 +01:00
Chirag Baghasingh
5e97b4e28e feat: Add account_code helper function to AccountProvider (#1169)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-06 15:06:08 +01:00
Bjerg
a40745bab9 feat: add db.commit metric (#1188) 2023-02-06 12:30:49 +01:00
Roman Krasiuk
952ec83aed chore(rpc): update forkchoice state in fork_choice_updated handler (#1177) 2023-02-06 00:56:43 -08:00
Tomás
fd7dc11960 feat(sync): MerkleStage (#994)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
2023-02-03 18:50:33 -08:00
Kim, JinSan
e7cc50038f test(db): cursor write operations are working properly wherever cursor is (#1161) 2023-02-03 12:02:33 -08:00
Georgios Konstantopoulos
e048718ea2 refactor: pull out rpc/ from net/rpc (#1147) 2023-02-02 14:17:26 -08:00
Matthias Seitz
e683197eac docs(provider): More context about Stateprovider (#1124) 2023-02-01 17:16:25 +01:00
joshieDo
cc43b72835 chore(db): microbenchmarking for table serialization and db insertion (#513)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-30 20:08:51 -08:00
Kim, JinSan
d865db49d5 chore(stages): Helper for walking over table range (#1025)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-30 19:52:10 -08:00
Bjerg
87306f2892 ci: ensure docs build (#1073)
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-27 18:49:22 +01:00
rakita
71dc531e68 feat: HistoryStateProvider (#1057) 2023-01-27 11:28:30 +01:00
rakita
a9c75d2fc7 bug(db): move seek fn from DubTable to Table (#1031) 2023-01-26 17:39:28 +01:00
rakita
6dcced0cfb feat: index account/storage history (#978)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-01-26 17:03:02 +01:00