Commit Graph

60 Commits

Author SHA1 Message Date
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
76e751eef4 feat: Completely decouple rpc-types to standalone crate (#5193)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-28 08:00:47 +00:00
e05dba69ce chore: rewrite all error messages for consistency (#5176)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-10-25 20:12:03 +00:00
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
eb6dc51971 fix: ensure no blob transactions in payloads pre-cancun (#4779) 2023-09-26 18:24:20 +00:00
1962014a77 feat(primitives): add calculate_blob_gas_used function in SealedBlock (#4692)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-09-20 21:34:07 +00:00
4aa3ebdbdd chore: fix doc lints (#4639) 2023-09-18 17:08:35 +00:00
893f4cf2a2 feat: validate payload versioned hashes (#4417)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-08-31 00:05:46 +00:00
44874bc557 feat: add TransactionSigned::recover_signers with the same order (#4120) 2023-08-15 17:40:09 +00:00
bbe9d56ef4 Revert "feat: add TransactionSigned::recover_signers" (#4115) 2023-08-08 14:03:43 +02:00
4b0b63766e feat: add TransactionSigned::recover_signers (#4098)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-08-08 09:53:12 +00:00
6934428be9 feat: better blocksize heuristics (#3748) 2023-07-15 22:36:39 +03:00
596d32686c feat: download block ranges (#3416)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-06 11:33:14 +00:00
d14f995e1a test: improve slow tests (#3487)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-02 10:46:16 +00:00
f49feff5a7 chore: phase out some ethers usage (#3467) 2023-06-29 15:28:28 +00:00
3347da091f feat(cli): add stage unwind command (#2913) 2023-05-30 11:26:24 +00:00
8fee5d3e28 refactor: dedicated blockchain insert errors (#2712) 2023-05-18 15:00:47 +02:00
99e6ee7a86 perf: restrict bodies downloader by number of blocks (#2656) 2023-05-13 13:18:01 -04:00
64250b3b07 feat: add fullblock client (#2613) 2023-05-09 16:46:17 +02:00
48f5b31ad6 feat(rpc): add impls for gasprice and max priority fee (#2471) 2023-04-29 21:50:40 -07:00
435df44127 feat(tree): unconnected block buffering (#2397)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-28 23:46:45 +02:00
9d03c4273c fix: use correct state for payload building (#2414) 2023-04-26 16:29:48 +02:00
b4d69e68dc perf: remove redundant ommers sealing (#2386) 2023-04-25 05:53:16 -07:00
087d0a6317 feat: CanonStateNotification for commit and reorg (#2156) 2023-04-10 13:11:15 +02:00
b1643f4ca6 refactor: simplify fetching blocks (#2060) 2023-03-31 10:27:21 -07:00
efbaf6474c feat(BlockchainTree): ShareableBlockchainTree and pending state (#2007) 2023-03-29 20:59:24 +02:00
724ec1b5cc fix: parse 66 blockid str as hash (#1890) 2023-03-21 17:36:06 -04:00
02e78c4bd7 fix(rpc): always include withdrawals in RPC (#1894) 2023-03-21 22:35:05 +01:00
9af53aeecb fix(rpc): treat number without 0x prefix as errors (#1895) 2023-03-21 20:35:48 +01:00
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
f926ee8af4 chore: phase out ethers blocknumber type (#1864) 2023-03-20 07:40:16 -07:00
075544e889 refactor: various cleanups (#1833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-03-18 14:13:09 +01:00
bba61c0b61 refactor(rpc): use ChainState type (#1756) 2023-03-15 14:06:53 +01:00
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
8d1dc58af5 feat(rpc): add block_by_number (#1467) 2023-02-20 08:48:14 -08:00
50203a8f2a chore: phase out ethers rpc block types (#1463) 2023-02-20 16:02:33 +01:00
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
94674f9c16 feat(rpc, storage): eth_feeHistory except reward field (#1275) 2023-02-16 11:33:14 +01:00
139372fb76 feat: add native BlockId type and implement requiredCanonical field (#1237)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
Co-authored-by: Francisco Krause Arnim <56402156+fkrause98@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-15 22:58:06 +01:00
c7c76e9a5b feat(primitives): rm RawBlockBody, use Block (#1263) 2023-02-10 00:59:15 +01:00
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
b4080a7de5 feat: concurrent headers downloader (#891) 2023-01-20 12:06:06 +01:00
d50d9bd0fe chore(net): Add proptest roundtrip to rlp types (#829) 2023-01-16 09:50:58 -08:00
565a0aa90b feat(engine): new payload execution (#631)
* feat(engine): new payload execution

* address PR comments

* rm unused dev deps

* add comment about lru

* remove par_iter
2022-12-29 02:36:56 -08:00
d4d8a8c882 Moves code walkthrough book chapters to docs (#629)
* replaced template blocks with code blocks in stages chapter

* replaced template blocks with code blocks in network chapter

* moved book sections to docs

* fix indentation in recover_signer codeblock

* remove unnecessary TODO comment in network.md
2022-12-28 10:24:39 +01:00
0b1b5368e6 chore: Rename BlockLocked to SealedBlock (#573)
* chore: Rename BlockLocked to SealedBlock

* chore: fmt

Co-authored-by: Genysys <112424909+samtvlabs@users.noreply.github.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-12-22 14:45:36 +02:00
df9d14127d Reth Book - Stages framework/draft (#360)
* Added framework and start to draft for stages, stopping here to get feedback on approach before pushing forward

* Update README.md

Fixing some wording / grammar.

* Fixing grammar/wording.

* Added note about non-exhaustive stages list, fixed grammar, fixed State exectuion function name, updated language to reflect that the stream yields a SealedHeader and added language to describe that the initial header validation is only a basic validation.

* updated stages chapter, added bodies, senders, execution, next chapter prelude

* typo

* Added line numbers to code snippets for the stages chapter of the reth book

* address reverse header download + other nits

* add note about book hosting

* tweaked wording, formatting

* Address typo "staring"

* Address typo "HeadderDownloader"

* consolidated book.toml

* updating snippets in stages chapter to ignore errors

* template & removed empty fields from book.toml

* addressed build issues, added templating for source code

* only deploy on push to main

* using single quotes in github action if expression

Co-authored-by: Andrew Kirillov <andrew@paradigm.xyz>
Co-authored-by: Andrew Kirillov <20803092+akirillo@users.noreply.github.com>
2022-12-14 10:30:45 +02:00
6c91322251 feat(eth-wire): derive serde traits for eth-wire types (#348)
* wip: start adding serde to stuff

* add serde traits to NewBlockHashes

* derive serde traits for the rest of the types

* derive serde traits for p2p subprotocol messages

* cargo fmt
2022-12-06 18:05:22 -08:00
480097a7ca feat(net): add eth request handler (#293)
* feat(net): add block request manager

* refactor: change ommers type to Header

* feat: impl handlers

* rename to EthRequestHandler

* impl checks

* fix: skip as step

* chore: rustfmt
2022-11-30 21:19:50 +01:00