Commit Graph

74 Commits

Author SHA1 Message Date
Dan Cline
6353792a84 feat: add Transaction setters and separate random tx signing (#2951) 2023-06-02 09:37:21 +00:00
Dan Cline
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
Matthias Seitz
2837fb6b9a chore: properly convert invalid transaction errors (#2748) 2023-05-19 19:35:05 +02:00
Bjerg
7b7805a4cc refactor: rm dupe InvalidTransactionErrors (#2737) 2023-05-19 10:13:33 +02:00
Alexey Shekhirin
e4cd48aefd feat(stages): rich checkpoint (#2701)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-05-18 20:45:50 +02:00
joshieDo
047f1e513c feat(db): add zstd and CompactZstd to Transactions and Receipts (#2483)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-05-12 10:30:15 -07:00
Matthias Seitz
3591a6f249 feat(rpc): add txpool namespace (#2591) 2023-05-06 13:47:27 -07:00
Matthias Seitz
35e2421022 feat(rpc): set eip1559 gasPrice field (#2579) 2023-05-05 19:08:52 +02:00
Dan Cline
b40ce6f7f7 fix: correct effective_gas_price (#2573) 2023-05-05 13:33:01 +02:00
Matthias Seitz
0ae9c28397 fix(rpc): set effective gas price (#2570) 2023-05-05 11:42:59 +02:00
Matthias Seitz
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
Matthias Seitz
eba1e885a4 fix: payload transactions are raw transactions (#2448) 2023-04-28 12:04:52 -07:00
Roman Krasiuk
eebcb03fea fix(evm): goerli coinbase (#2377) 2023-04-25 03:32:51 -07:00
joshieDo
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
Satyam Kulkarni
7e965a3c79 feat: implement eth_feeHistory (#2083)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-20 10:50:03 +02:00
joshieDo
019ddd1edc perf(db): reduce different repeated allocations (#2103) 2023-04-13 11:33:53 -04:00
Matthias Seitz
48dc9987a1 chore: use cost in error (#2213)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-04-12 17:53:52 +02:00
Matthias Seitz
39ecb618d7 feat: add Transaction::effective_tip_per_gas (#2204) 2023-04-12 13:25:20 +02:00
Matthias Seitz
e3f4780c6c chore: add note about fees (#2202) 2023-04-12 03:14:15 -07:00
Matthias Seitz
f919eeebfc chore: accept AsRef in calculate_transaction_root (#2188) 2023-04-11 10:41:57 -07:00
Matthias Seitz
e0e449d5ff fix: ensure Signature is ethereum scheme (#2183) 2023-04-11 12:45:10 +02:00
Dan Cline
6dee0f2830 fix: use camel case for returning access list items (#2069) 2023-03-31 23:38:36 +02:00
Matthias Seitz
92e2c4d2aa feat: add transaction_by_hash_with_meta (#1878) 2023-03-21 15:23:14 +01:00
Francisco Krause Arnim
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
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Matthias Seitz
c3a49aea72 style: resort trait impl order (#1749) 2023-03-14 11:01:18 +01:00
Matthias Seitz
ff9f02d524 style(rpc): some transaction by touch ups (#1711) 2023-03-13 14:46:13 +01:00
sambukowski
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
Matthias Seitz
ad5f9aa78c refactor: extract transaction consensus errors to standalone type (#1697) 2023-03-10 04:43:04 -08:00
Tomás
77d108660e feat(rpc): add eth_createAccessList implementation (#1652)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-03-08 10:07:09 +01:00
Matthias Seitz
9dfee497e9 chore: add tx type constants (#1639)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-03-05 13:33:19 +01:00
grantkee
14811dae40 Implement Decodable for TransactionSignedEcRecovered (#1591) 2023-03-01 20:47:24 +01:00
Matthias Seitz
d872deda5d feat: more work on eth call and estimate (#1545) 2023-02-24 19:29:59 +01:00
Matthias Seitz
f78da81e1e feat(net): support eth68 transactions (#1482) 2023-02-21 14:34:59 -05:00
Ikechukwu Ahiara Marvellous
e689ba03c4 Add TransactionSigned::decode_enveloped (#1186)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-02-13 18:42:27 -05:00
Dan Cline
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
Matthias Seitz
c9629d0c9e feat: add encode_enveloped function (#1245) 2023-02-09 14:08:31 +01:00
Georgios Konstantopoulos
533e7c9cc5 perf(SendersRecovery): re-use Secp256K1 context for >2x speedup and add benches (#1171) 2023-02-04 17:09:32 -08:00
Matthias Seitz
689ba28caf chore: restructure transaction impl order (#1166) 2023-02-03 16:16:17 -08:00
Matthias Seitz
5ee3cfe507 feat(rpc): impl send_raw_transaction (#1123) 2023-02-01 17:20:48 +01:00
Kim, JinSan
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
Matthias Seitz
c41bdd9cbf chore: prevent redundant hash initialization (#947) 2023-01-21 03:47:49 +01:00
Matthias Seitz
a1d83dbbd3 chore: prevent redundant hash initialization (#944) 2023-01-20 09:03:34 -08:00
Kim, JinSan
161fe0d957 test: signature & transaction w/ EIP155 (#914) 2023-01-18 09:48:52 -08:00
joshieDo
d50d9bd0fe chore(net): Add proptest roundtrip to rlp types (#829) 2023-01-16 09:50:58 -08:00
joshieDo
aabbe4923b chore(codecs): add proptest roundtrip to all main_codec (#803) 2023-01-10 22:06:01 -08:00
joshieDo
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
Andrew Kirillov
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
DaniPopes
c070e77524 chore(primitives): Update keccak256 implementation (#563)
* chore(primitives): Update keccak256 implementation

* chore(primitives): Update keccak256 implementation

* revert BytesMut

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-12-21 21:22:18 +01:00
0xKitsune
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