Commit Graph

849 Commits

Author SHA1 Message Date
19b4beb72c fix: remove ctrl handling (#1252) 2023-02-09 19:04:13 +01:00
ebd5d3c1a2 chore: move StateProvider impls to state module (#1251) 2023-02-09 16:41:14 +01:00
c9629d0c9e feat: add encode_enveloped function (#1245) 2023-02-09 14:08:31 +01:00
f070412064 feat(rpc): add EthApiSpec to DebugApi (#1246) 2023-02-09 14:06:30 +01:00
9470943bab Integrate RPC in CLI (#1227)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-09 11:31:48 +01:00
92ff3f961d add a test on incoming connections disconnect (#1233) 2023-02-09 10:54:56 +01:00
e833c861ea fix(consensus): has_block_reward() should return true before Paris (#1240) 2023-02-09 09:40:43 +01:00
4df228a87e feat(cli): add persistent peers (#1167)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-08 19:36:06 +01:00
4cbd199016 fix(rpc): remove unused rpc transaction fields (#1228) 2023-02-08 17:06:20 +01:00
cf8c7b5c43 feat(rpc): add Standard rpc module selection (#1229) 2023-02-08 16:51:55 +01:00
88a838b9f4 test: basic rpc testing support (#1222) 2023-02-08 16:51:24 +01:00
f56bb5a022 Test(rpc): Add Testing for EthApi RPC send raw transaction (#1220) 2023-02-08 12:01:10 +01:00
314ea0883b feat(cli): integrate rpc server (#1213) 2023-02-07 15:53:39 -08:00
1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00
8ace2fb0ea feat: gracefully disconnect incoming connections if at capacity (#1138) 2023-02-08 00:28:06 +01:00
d7d61ec2bc bench: total difficulty (#1215) 2023-02-07 15:27:30 -08:00
4c76581870 feat(rpc): impl get code handler (#1210) 2023-02-07 11:16:57 -08:00
10aa3d617a feat(rpc): impl rpc-builder types (#1203) 2023-02-07 11:03:05 -08:00
df6e3143c3 feat(net): add test-utils and NoopNetwork (#1204) 2023-02-07 10:37:33 -05:00
27b07f57f0 fix: add serde feature to secp256k1 dep in discv4 (#1205)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:19:53 +01:00
ee413da924 chore(download): remove body download range recovery (#1201) 2023-02-07 05:39:25 -08:00
b3de7adae7 fix(rpc): make NodeInfo behave as geth nodeInfo (#1200) 2023-02-06 13:12:02 -08:00
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
3605e00428 metrics(download): out of order requests metric (#1185) 2023-02-06 19:30:19 +01:00
d99ba4b4e2 chore(net): improve naming for request handling (#1196) 2023-02-06 13:17:50 -05:00
c77de627d1 Impl state and account trait for NoopProvider (#1198) 2023-02-06 17:25:54 +01:00
23f1a902b0 Fix transition id in storage hashing stage (#1192) 2023-02-06 16:43:38 +01:00
6151c2772a feat: JWT to authenticate external CL against Reth (#1127)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Andrea Simeoni <>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-06 15:39:24 +01:00
9572ba0b30 perf(net): backoff on incoming if channel at capacity (#1191) 2023-02-06 15:09:56 +01:00
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
f00747fc2c chore: update Cargo.lock (#1193) 2023-02-06 14:28:54 +01:00
bbcf3679cd chore(download): lower the buffer limit for bodies downloader (#1178) 2023-02-06 04:32:36 -08:00
a40745bab9 feat: add db.commit metric (#1188) 2023-02-06 12:30:49 +01:00
0f5a6b721c Configure RPC endpoints specific to transports (#1077)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-06 11:33:13 +01:00
705d9fcc82 fix: consider empty headers response edge case (#1180) 2023-02-06 11:28:59 +01:00
952ec83aed chore(rpc): update forkchoice state in fork_choice_updated handler (#1177) 2023-02-06 00:56:43 -08:00
54744b3e6b fix(net): always reset peer state on response (#1179) 2023-02-06 00:53:00 -08:00
c6a7d3637e chore: add disable discovery options (#1182) 2023-02-05 21:37:42 -05:00
ba70b3b7ef fix(cli): make max_block optional (#1176) 2023-02-04 20:32:45 -08:00
e46d0401a2 feat(cli): allow running pipeline up to --debug.max-block (#1175) 2023-02-04 19:21:58 -08:00
2ef24b3b65 chore(stages/total-difficulty): make header cursor ro (#1174) 2023-02-04 19:12:21 -08:00
533e7c9cc5 perf(SendersRecovery): re-use Secp256K1 context for >2x speedup and add benches (#1171) 2023-02-04 17:09:32 -08:00
75692bc5f3 perf(net): add manual yield point (#1155) 2023-02-04 12:56:25 -08:00
ac164a605a fix: use correct config for sender recovery stage (#1170) 2023-02-04 12:48:18 -08:00
786a0d3e46 chore(net): support multiple eth protocol versions. (#1152) 2023-02-04 12:30:39 -08:00
dab1f4f497 feat(net): add shutdown network signal (#1011)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-04 12:28:13 -08:00
db5410b84b fix: missing hashed storage entries (#1143)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-04 12:27:57 -08:00
8303e51554 feat: format PoorError to mirror Geth's TxPool Error messages (#1156)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-04 09:48:15 +01:00
774f158a99 chore(net): emit message traces (#1153) 2023-02-04 02:01:35 -05:00
cafbb0f14c perf(net): increase default capacity for incoming messages (#1158) 2023-02-04 01:59:01 -05:00