Commit Graph

34 Commits

Author SHA1 Message Date
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
Matthias Seitz
651eed1086 chore(txpool): add PoolError::hash function (#202) 2022-11-14 20:35:08 +01:00
Matthias Seitz
e7851492b1 feat(txpool): enforce size limits (#98)
* feat(txpool): enforce size limits

* chore: rustfmt
2022-10-19 17:01:49 -07:00
Matthias Seitz
6bc09809f3 feat(txpool): enforce account tx capacity (#88) 2022-10-17 11:42:51 -07:00
Matthias Seitz
a7cf915677 refactor(txpool): consider below proto fee cap an error (#71) 2022-10-14 17:10:05 +02:00
Matthias Seitz
791ee2839f feat(txpool): initial sketch (#7) 2022-10-07 22:00:19 +02:00