From de78a32bcc41d058b752103c7883b564247f54b9 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Thu, 5 Oct 2023 16:00:00 +0000 Subject: [PATCH] simulators/ethereum/engine: remove requirement of tx to put back in mempool --- simulators/ethereum/engine/suites/engine/reorg.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/simulators/ethereum/engine/suites/engine/reorg.go b/simulators/ethereum/engine/suites/engine/reorg.go index 9836d2011b..8f685721a5 100644 --- a/simulators/ethereum/engine/suites/engine/reorg.go +++ b/simulators/ethereum/engine/suites/engine/reorg.go @@ -373,7 +373,10 @@ func (spec TransactionReOrgTest) Execute(t *test.Env) { } } - if spec.Scenario == TransactionReOrgScenarioReOrgBackIn { + if spec.Scenario == TransactionReOrgScenarioReOrgBackIn && i > 0 { + // Reasoning: Most of the clients do not re-add blob transactions to the pool + // after a re-org, so we need to wait until the next tx is sent to actually + // verify. tx = nextTx }