File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ where
446446
447447 async fn send_transaction (
448448 & self ,
449- origin : TransactionOrigin ,
449+ _origin : TransactionOrigin ,
450450 tx : reth_primitives_traits:: WithEncoded <
451451 reth_primitives_traits:: Recovered < reth_transaction_pool:: PoolPooledTx < Self :: Pool > > ,
452452 > ,
@@ -458,8 +458,11 @@ where
458458
459459 let pool_transaction = <Self :: Pool as TransactionPool >:: Transaction :: from_pooled ( recovered) ;
460460
461+ // Upstream reth v1.11.1 changed eth_sendRawTransaction to pass External origin,
462+ // but Berachain treats all RPC-submitted transactions as Local to bypass pool
463+ // capacity limits and ensure consistent block gas utilization.
461464 let AddedTransactionOutcome { hash, .. } =
462- self . pool ( ) . add_transaction ( origin , pool_transaction) . await ?;
465+ self . pool ( ) . add_transaction ( TransactionOrigin :: Local , pool_transaction) . await ?;
463466
464467 Ok ( hash)
465468 }
You can’t perform that action at this time.
0 commit comments