diff --git a/core/state_processor_test.go b/core/state_processor_test.go index 83d06a5aa8..307ab75c5b 100644 --- a/core/state_processor_test.go +++ b/core/state_processor_test.go @@ -513,7 +513,12 @@ func TestProcessVerkle(t *testing.T) { } }) - err := verkle.Verify(proofs[1], chain[0].Root().Bytes(), chain[1].Root().Bytes(), statediffs[1]) + // Check proof for both blocks + err := verkle.Verify(proofs[0], gspec.ToBlock().Root().Bytes(), chain[0].Root().Bytes(), statediffs[0]) + if err != nil { + t.Fatal(err) + } + err = verkle.Verify(proofs[1], chain[0].Root().Bytes(), chain[1].Root().Bytes(), statediffs[1]) if err != nil { t.Fatal(err) }