Commit Graph

55 Commits

Author SHA1 Message Date
0xMushow
b786710816 feat(transaction-pool): enforce EIP-2681 (#16967) 2025-06-21 04:54:27 +00:00
Roman Krasiuk
90d98f3303 feat(txpool): EIP-7825 max gas limit check (#16648) 2025-06-04 10:54:48 +00:00
Roman Krasiuk
0de50d3b7b feat(txpool): use BlobTransactionSidecarVariant (#16356) 2025-05-20 14:49:10 +00:00
Pana
448e909c50 feat: Add EIP7702 tx handle logic for txpool (#15312)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-05-09 10:55:17 +00:00
rrrengineer
4850bd5ebc feat: adding cli --rpc.txfeecap flag (#15654)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-04-15 18:30:12 +00:00
Matthias Seitz
ee4270a0fb feat: add other constructor for err (#15236) 2025-03-24 10:55:36 +00:00
Ishika Choudhury
f4f205f80c changed possible #[allow()] -> #[expect()] (#15168)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-03-22 08:52:17 +00:00
Veer Chaurasia
c3c152f62c replace reth-primitives deps in txpool with reth-primitives-traits (#14306)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-03-07 14:09:31 +00:00
Matthias Seitz
f80d8f25f9 chore: use u64 for blobcount (#14250) 2025-02-05 23:15:24 +00:00
Panagiotis Ganelis
7789d93001 refactor: Adds type downcasting helpers for InvalidPoolTransactionError (#14046)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2025-02-05 18:08:59 +00:00
Roman Krasiuk
4ef9537e0a fix(pool): max init code error (#13564) 2024-12-27 15:07:10 +00:00
Thomas Coratger
15c230bac2 primitives: rm alloy BlobTransactionValidationError reexport (#12311) 2024-11-05 12:17:28 +00:00
Thomas Coratger
55bf29e6d2 use core::error::Error (#11317) 2024-09-29 16:47:48 +00:00
Emilia Hane
21e92b83bd fix(rpc): add fee/value and balance to insufficient funds RPC error (#10872) 2024-09-17 09:47:18 +00:00
Håvard Anda Estensen
162f6019d4 transaction-pool: replace reth-primitive imports (#10766)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-07 09:12:46 +00:00
Oliver
5df03fb3c3 fix: reject 7702 transactions with empty auth list (#10709) 2024-09-05 13:24:24 +00:00
Panagiotis Ganelis
8bbd403285 fix: improve nonce too low error (#10711) 2024-09-05 13:09:33 +00:00
Oliver
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
Thomas Coratger
e02b935e94 add match_same_arms clippy lint (#8549) 2024-06-03 17:42:25 +00:00
Thomas Coratger
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
Thomas Coratger
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
Emilia Hane
4e49aa9df6 Comment pool import error is not nonce gap (#7145)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-16 15:39:05 +00:00
Justin Traglia
9450319002 fix: check versioned hash version for EIP-4844 transactions (#6601) 2024-02-15 17:16:05 +00:00
DaniPopes
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
Supernovahs.eth
afebb2b20b intrinsic gas check (#4867)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-10-04 12:33:40 +00:00
Matthias Seitz
624d9d581b feat: enforce replacements dont conflict (#4539) 2023-09-11 15:00:01 +00:00
Matthias Seitz
cd7e1135d8 feat: enforce no nonce gaps for eip-4844 (#4487)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-09-05 19:26:01 +00:00
Alessandro Mazza
e4f26e8bf0 consolidate eip4844 pool errors (#4453) 2023-09-03 16:29:28 +00:00
Matthias Seitz
eb4126b78d feat: add blob count checks (#4447)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2023-09-01 00:54:46 +00:00
Matthias Seitz
e33e3c9154 chore: add eip4844 nonce gap error (#4414) 2023-08-30 23:13:27 +00:00
Matthias Seitz
2fc574f329 feat: validate blobs (#4388) 2023-08-29 16:25:34 +00:00
Matthias Seitz
f0346c697e feat: add eth extension trait for EthValidator (#4343) 2023-08-24 17:27:51 +00:00
Matthias Seitz
e6f471ddcf feat: add 4844 config and basic checks (#4245) 2023-08-17 16:39:10 +00:00
Matthias Seitz
45db5a6368 feat: support custom PoolTransaction errors (#4237) 2023-08-16 19:02:51 +00:00
Bjerg
7b7805a4cc refactor: rm dupe InvalidTransactionErrors (#2737) 2023-05-19 10:13:33 +02:00
Matthias Seitz
5c5aef0b42 fix: reconsider several is_bad_transactions checks (#2450) 2023-04-28 11:54:30 -07:00
Matthias Seitz
f41d81ac63 chore(txpool): don't penalize FeeCapBelowMinimumProtocolFeeCap error (#2396) 2023-04-25 19:25:34 +02:00
Matthias Seitz
b45182ae2c fix: be less strict about what's a bad tx (#2268) 2023-04-15 03:44:21 -07:00
Matthias Seitz
adad6d31b4 Revert "Revert "chore: enable tx inserts via p2p" (#2252)" (#2259) 2023-04-15 01:31:16 +02:00
Georgios Konstantopoulos
c67c944a1f Revert "chore: enable tx inserts via p2p" (#2252) 2023-04-14 18:18:13 -04:00
Matthias Seitz
d99befe818 chore: enable tx inserts via p2p (#2214) 2023-04-12 12:11:33 -04:00
Matthias Seitz
15ad63f8c2 fix(txpool): enforce minimum priority fee (#2212) 2023-04-12 08:41:10 -07:00
Matthias Seitz
3810548bd7 chore(txpool): add AlreadyImported variant (#2009) 2023-03-28 19:00:30 +02:00
Matthias Seitz
b55b2d6182 fix(txpool): differentiate pool error variants (#2008) 2023-03-28 18:28:24 +02:00
Matthias Seitz
fdfeeb42dc refactor(txpool): use transaction error type (#1698) 2023-03-10 15:57:12 +01:00
chirag-bgh
ba96b9d165 feat: Add Latest State TransactionValidator implementation (#1498) 2023-03-10 10:35:59 +01:00
Kim, JinSan
072a6c56d3 chore(txpool): implement ensure_max_init_code_size() (#1062)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-01-27 21:53:24 +01:00
Martin Paulucci
2d20be0d5c refactor: Make Transaction fee and price field types consistent (#1005)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-24 21:05:14 +01:00
LambdaClass
7c9c2fea50 feat(txpool): add gas limit check when inserting new transactions (#780)
* Add gas limit check when inserting transaction

Part of the code was copied from an issue comment:
https://github.com/paradigmxyz/reth/issues/76#issuecomment-1345281800

Co-authored-by: Eduardo <96149783+elprogramadorgt@users.noreply.github.com>

* Add test for gas limit check

Co-authored-by: Eduardo <96149783+elprogramadorgt@users.noreply.github.com>
2023-01-09 20:50:06 +01:00
Matthias Seitz
7867c67eaa chore(typool): clippy cleanup, docs and renames (#277) 2022-11-28 14:16:33 +01:00