From a675c89c75c799f93fecaed13994b98674eaf9ad Mon Sep 17 00:00:00 2001
From: Marius van der Wijden <m.vanderwijden@live.de>
Date: Wed, 16 Jun 2021 15:00:36 +0200
Subject: [PATCH] core: readded state processor error tests (#23055)

---
 core/state_processor_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/state_processor_test.go b/core/state_processor_test.go
index 96b1c75c8..a57663914 100644
--- a/core/state_processor_test.go
+++ b/core/state_processor_test.go
@@ -183,7 +183,7 @@ func TestStateProcessorErrors(t *testing.T) {
 				},
 				want: "could not apply tx 0 [0xd82a0c2519acfeac9a948258c47e784acd20651d9d80f9a1c67b4137651c3a24]: insufficient funds for gas * price + value: address 0x71562b71999873DB5b286dF957af199Ec94617F7 have 1000000000000000000 want 2431633873983640103894990685182446064918669677978451844828609264166175722438635000",
 			},
-		}[8:] {
+		} {
 			block := GenerateBadBlock(genesis, ethash.NewFaker(), tt.txs, gspec.Config)
 			_, err := blockchain.InsertChain(types.Blocks{block})
 			if err == nil {
-- 
GitLab