From c4c7f0577664835a1f33730d41d7d41c556ca786 Mon Sep 17 00:00:00 2001 From: caplost Date: Wed, 4 Jun 2025 14:54:51 +0800 Subject: [PATCH] core/vm: fix typo callInexistant -> callInexistent in runtime_test.go --- core/vm/runtime/runtime_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vm/runtime/runtime_test.go b/core/vm/runtime/runtime_test.go index d75a5b0459..62133b2aa8 100644 --- a/core/vm/runtime/runtime_test.go +++ b/core/vm/runtime/runtime_test.go @@ -453,7 +453,7 @@ func BenchmarkSimpleLoop(b *testing.B) { Op(vm.POP).Jump(lbl).Bytes() // pop return value and jump to label p, lbl = program.New().Jumpdest() - callInexistant := p. + callInexistent := p. Call(nil, 0xff, 0, 0, 0, 0, 0). Op(vm.POP).Jump(lbl).Bytes() // pop return value and jump to label @@ -493,7 +493,7 @@ func BenchmarkSimpleLoop(b *testing.B) { benchmarkNonModifyingCode(100000000, callIdentity, "call-identity-100M", "", b) benchmarkNonModifyingCode(100000000, loopingCode, "loop-100M", "", b) benchmarkNonModifyingCode(100000000, loopingCode2, "loop2-100M", "", b) - benchmarkNonModifyingCode(100000000, callInexistant, "call-nonexist-100M", "", b) + benchmarkNonModifyingCode(100000000, callInexistent, "call-nonexist-100M", "", b) benchmarkNonModifyingCode(100000000, callEOA, "call-EOA-100M", "", b) benchmarkNonModifyingCode(100000000, callRevertingContractWithInput, "call-reverting-100M", "", b)