Commit Graph

56 Commits

Author SHA1 Message Date
f2a508df34 primitives: rm more alloy_primitives reexports (#11222) 2024-09-26 11:29:18 +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
3a49a552c7 feat: migrate to alloy TxEip1559 (#10262)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-08-31 17:36:28 +00:00
71e0178f71 feat: migrate to alloy TxLegacy (#9593)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-08-30 11:35:15 +00:00
a918779f2c dev(primitives): signature conversion (#10371) 2024-08-17 17:06:19 +00:00
330f73b7ec refactor: remove #[reth_codec] and #[derive_arbitrary] macros (#10263) 2024-08-12 14:23:50 +00:00
c3347f323c feat: make to_compact borrow (#9488)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-07-17 20:50:28 +00:00
06bfce2d5c chore: more reth-codec cfgs (#9547) 2024-07-16 17:02:36 +00:00
bc31f5da58 feat: feature gate reth-codec impl (#9492) 2024-07-16 14:39:31 +00:00
fc4c037e60 feat: eip-7702 (#9214)
Co-authored-by: Matthew Smith <m@lattejed.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-07-11 05:45:47 +00:00
8d54f2f8d3 feat: support no_std for reth-primitives (#8817)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-17 06:57:46 +00:00
7c17c6e469 add doc_markdown clippy lint (#8552)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-03 13:21:45 +00:00
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
0819780027 feat: add extract_chain_id method (#7921) 2024-04-29 19:48:05 +00:00
6d1aab5380 refactor: minor Signature refactors (#7888) 2024-04-25 16:44:02 +00:00
fa9f23db98 feat(op): signature encoding (#7769)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-04-22 10:04:25 +00:00
f57bef7181 Revert "feat(op): import bodies (#7659)" (#7724) 2024-04-18 16:10:22 +00:00
855988994b feat(op): import bodies (#7659)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-04-15 18:51:57 +00:00
9c5aea8c81 feat(op): import below bedrock blocks (#7555)
Co-authored-by: Atris <vacekj@outlook.com>
2024-04-12 11:57:06 +00:00
5b94dbb697 perf: replace BytesMut with alloy_rlp::encode (#7170) 2024-03-18 23:20:39 +00:00
fb30619192 fix(op-reth): non-deposit txs have depositReceiptVersion=1 (#6784) 2024-03-12 16:45:49 +00:00
ecfe4b6bc6 fix: rm Signature optimism cfg (#6858) 2024-02-28 21:59:24 +00:00
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
9193b17574 fix(primitives): don't double-hex signature bytes in Signature#to_hex_bytes (#6313) 2024-02-01 12:13:51 +00:00
a18d1f5539 chore: flip if else arms for eip155 check (#6134) 2024-01-19 17:11:05 +00:00
cdfdadd6c3 docs: include s/2 value in docs (#5914) 2023-12-31 13:57:15 +01:00
11fd7a2844 chore: remove trailing semicolon (#5699) 2023-12-05 13:50:34 +00:00
2c5a748c55 fix: add recover_signer that checks according to EIP-2 (#5618) 2023-11-29 23:57:04 +00:00
18d563dd27 chore: use U256::is_zero (#5616) 2023-11-28 15:44:27 +00:00
7312ada852 chore: add optimism_deposit_tx_signature function (#5457) 2023-11-17 11:22:07 +01:00
52670a8b24 feat: op-reth (#4377)
Co-authored-by: Roberto Bayardo <bayardo@alum.mit.edu>
Co-authored-by: refcell.eth <abigger87@gmail.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: refcell <refcell@oplabs.co>
Co-authored-by: nicolas <48695862+merklefruit@users.noreply.github.com>
2023-11-05 17:33:42 +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
40f9576c3a feat: implement network encoding for blob transactions (#4172)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-08-16 23:10:33 +00:00
6934428be9 feat: better blocksize heuristics (#3748) 2023-07-15 22:36:39 +03:00
1641f555f2 feat: use buffered ancestor to determine sync target (#2802)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-31 18:06:16 +00:00
ebf13ec9c8 fix: set signature v value correctly (#2461)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-04-29 09:01:03 +02:00
eebcb03fea fix(evm): goerli coinbase (#2377) 2023-04-25 03:32:51 -07:00
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
e0e449d5ff fix: ensure Signature is ethereum scheme (#2183) 2023-04-11 12:45:10 +02:00
a688fdb38d feat(rpc): eth_sign* (#1665)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Tomás <tomas.gruner@lambdaclass.com>
2023-03-14 18:03:38 -07:00
853da85c44 feat(rpc): eth_transactionBy impls (#1664)
Co-authored-by: Sam Bukowski <sambukowski@Sams-MacBook-Pro.local>
2023-03-11 10:54:11 +01:00
3e269714e7 feat: create primitive to rpc conversions (#1239)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-02-10 01:07:33 +01:00
1e84189fec chore(primitives): revise signature interface and transaction encode (#928)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-22 12:53:32 -08:00
161fe0d957 test: signature & transaction w/ EIP155 (#914) 2023-01-18 09:48:52 -08:00
6407b5087e chore: use B160, B256 and U256 coming from revm and ruint (#676)
* use B256, B160 and U256 from revm

* fix U256 from_str

* use U256::ZERO

* use temporary commit for revm and interpreter

* more U256::ZERO

* more changes for revm/ruint types

* clippy

* change revm and revm-interpreter repo

* remove H160 wrap

* minor cleanup

* remove unused

* fix MIN_PROTOCOL_BASE_FEE
2023-01-04 11:11:48 +02: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
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
13df80c1d1 chore(codecs): contain [Struct]Flags in a mod and import what's necessary (#329)
* contain StructFlags in a mod with its imports

* update code generation test
2022-12-06 18:02:04 -08:00
3efc6ee67e feat(db): Make TransactionSigned compactable (#252) 2022-11-27 23:29:30 -08:00
9e35d58b05 feat(primitive): Signer recovery (#179)
* feat(consensus): Signer recovery and tx validation

* Signature hash and use seckp256k1 over k256

* use deref_more for transactions

* cleanup and fix for eip1559 hash

* fix hash calculation on decoding
2022-11-09 18:11:32 +01:00