Commit Graph

21 Commits

Author SHA1 Message Date
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