From 48ef8da9f087b786bba5413c496c33fabbf2fcca Mon Sep 17 00:00:00 2001 From: lightclient Date: Tue, 26 Nov 2024 17:22:41 -0700 Subject: [PATCH] legacypool: don't allow 7702 txs in pool yet --- core/txpool/legacypool/legacypool.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index 0265881b46..70be7034ee 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -279,7 +279,7 @@ func New(config Config, chain BlockChain) *LegacyPool { // pool, specifically, whether it is a Legacy, AccessList or Dynamic transaction. func (pool *LegacyPool) Filter(tx *types.Transaction) bool { switch tx.Type() { - case types.SetCodeTxType, types.LegacyTxType, types.AccessListTxType, types.DynamicFeeTxType: + case types.LegacyTxType, types.AccessListTxType, types.DynamicFeeTxType: return true default: return false @@ -611,8 +611,7 @@ func (pool *LegacyPool) validateTxBasics(tx *types.Transaction, local bool) erro Accept: 0 | 1<