From eebce98ffa9e9cd3dc329d0d3b4276b6c915f1e4 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Tue, 27 Jun 2023 18:08:02 +0000 Subject: [PATCH] simulators/ethereum/engine: Fix genesis on most tests --- simulators/ethereum/engine/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulators/ethereum/engine/main.go b/simulators/ethereum/engine/main.go index ea8c3fc370..6bc85ae30d 100644 --- a/simulators/ethereum/engine/main.go +++ b/simulators/ethereum/engine/main.go @@ -98,7 +98,7 @@ func addTestsToSuite(sim *hivesim.Simulation, suite *hivesim.Suite, tests []test } testFiles := hivesim.Params{} - if genesis.Difficulty.Cmp(ttd) <= 0 { + if genesis.Difficulty.Cmp(ttd) < 0 { if currentTest.GetChainFile() != "" { // We are using a Proof of Work chain file, remove all clique-related settings