Commit Graph

83 Commits

Author SHA1 Message Date
e21d75f9aa primitives: rm more alloy_primitives reexports (#11325) 2024-09-30 01:06:47 +00:00
6757ab8190 fix: make canonical_chain atomic and canonical (#11283) 2024-09-27 12:47:00 +00:00
ba4e41110b chore: use Arc over Box (#11281) 2024-09-27 13:46:55 +02:00
650cf755a6 docs: clarify block order (#11279) 2024-09-27 13:04:56 +02:00
6a7d8938c7 chore: update revm and alloy primitives (#11235)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-26 14:33:29 +00:00
2022dd3de5 primitives: rm alloy_consensus::transaction reexports (#11191) 2024-09-25 12:13:48 +00:00
d3e959bbd0 fix(chain-state): fork choice stream should return only when changed (#11178) 2024-09-24 19:06:13 +00:00
fb0555ae7d Refactor Block (#10913)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-24 10:14:08 +00:00
15aee9b144 feat: use alloy Signature type (#10758)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-09-23 13:29:48 +00:00
ed1de8996d primitives: use alloy Header struct (#10691) 2024-09-23 12:53:43 +00:00
8ba95a1667 chain-state: replace primitive imports with alloy-eips (#11038) 2024-09-19 13:54:07 +00:00
c09391feee chore(chain-state): replace reth_primitives with alloy_primitives (#10975)
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
2024-09-18 10:07:25 +00:00
bf800986d3 chore: use MIN_TRANSACTION_GAS replace magic number (#10910) 2024-09-16 21:28:35 +00:00
06dbd3a610 feat(trie): expose multiproof via StateProofProvider (#10915) 2024-09-16 09:52:15 +00:00
fdd64972b9 feat(trie): integrate TrieInput into StateProofProvider methods (#10929) 2024-09-16 09:18:23 +00:00
b0eb78ced6 feat(trie): TrieInput (#10918) 2024-09-16 08:04:17 +00:00
f6444b2e70 fix(tree): avoid holding two locks simultaneously (#10843) 2024-09-11 14:33:56 +00:00
6ed0ca5533 fix: always acquire numbers lock first (#10842) 2024-09-11 14:26:44 +00:00
bc14ad1f53 perf: use last key value (#10836) 2024-09-11 12:08:38 +00:00
60bc403f08 fix(tree): remove_blocks fixes, return hash and number in persistence task (#10678) 2024-09-05 16:35:16 +00:00
6f086d1060 chore(trie): clean up state root methods (#10598) 2024-08-28 14:41:29 +00:00
29b02cc0e1 chore(trie): StorageRootProvider (#10592) 2024-08-28 12:56:47 +00:00
cf7416e2f2 chore(trie): remove plain state proof variant (#10593) 2024-08-28 12:00:46 +00:00
498ced8be9 fix(engine): memory overlay hashed storage root (#10543) 2024-08-26 18:31:12 +00:00
c4a231335a perf(engine): lazy load overlay trie state (#10541) 2024-08-26 13:11:54 +00:00
38087a09f9 perf(trie): remove some clones (#10406) 2024-08-26 12:13:59 +00:00
29058ad7ee clippy: add cloned_instead_of_copied clippy lint (#10530)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-08-26 09:04:19 +00:00
c788b6a585 fix: transaction_by_hash_with_meta implementation of CanonicalInMemoryState (#10501) 2024-08-24 18:56:13 +00:00
0791b9eac9 refactor: replace ForkChoiceStream type with generic stream type (#10458) 2024-08-23 17:24:58 +00:00
64fb41cabf fix link typo on BlockState (#10431) 2024-08-21 21:32:10 +00:00
d9936a96e2 Use more appropriate names for forkchoice subscriptions (#10401) 2024-08-21 08:47:33 +00:00
aa705b2f42 chain-state: rm Arc wrapper around BlockState for pending_state (#10408) 2024-08-21 05:21:26 +00:00
5530fb0680 chain-state: add unit test for set_pending_block (#10363)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-20 08:27:10 +00:00
6898c30a65 feat: add subscribe_safe_block & subscribe_finalized_block to CanonicalInMemoryState (#10317) 2024-08-20 07:03:14 +00:00
7f6aa433c9 feat: light cleaning (#10385) 2024-08-20 04:26:29 +00:00
9bed8cf466 feat: improve connecting downloaded blocks (#10368) 2024-08-17 23:49:53 +00:00
33985d2892 chain-state: add unit test for to_chain_notification (#10373)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-08-17 17:03:53 +00:00
1edfbd7a68 chain-state: derive Default for ExecutedBlock (#10372) 2024-08-17 16:43:11 +00:00
a0cf68ead8 fix(engine): aggregate state for chain notification (#10295) 2024-08-15 01:04:39 +00:00
ac3d62ba02 perf(tree): re-use intermediate nodes (#9836) 2024-08-13 19:57:22 +00:00
Roy
25ab85c5a7 feat: ForkChoiceNotifications for BlockchainProvider and NoopProvider (#10231)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-10 14:35:42 +00:00
cdf5d8e9ee Add generic BlockStateNotificationStream type for pending, safe, finalized watchers (#10249) 2024-08-10 14:02:49 +00:00
faa38cec4d fix: TreeState::on_new_head fork and reorg handling (#10232) 2024-08-10 09:45:45 +00:00
685398d5f6 refactor: derive PartialEq for CanonStateNotification (#10195) 2024-08-08 12:22:53 +00:00
faff24b683 Convert pending block to a watch channel (#10203) 2024-08-08 11:11:50 +00:00
a706206695 feat: add block_body_indices for BlockchainProvider2 (#10106) 2024-08-07 18:13:20 +00:00
fbebde6b2e fix: only use tags if they have been set (#10150) 2024-08-06 19:21:39 +00:00
680ca6b73f fix: use actual latest state for BlockchainProvider2 (#10137) 2024-08-06 15:06:49 +00:00
08158e4449 fix: validate header against parent in engine2 (#10114)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-06 02:01:51 +00:00
e1406d62ce Add in-memory block TD lookup support (#10052)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-08-05 16:24:08 +00:00