From 08ee6b45e0bd9c15f29493986753b5840d20ce4b Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Fri, 15 Aug 2025 20:33:45 +0800 Subject: [PATCH] Delete core/rawdb/schema_test.go --- core/rawdb/schema_test.go | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 core/rawdb/schema_test.go diff --git a/core/rawdb/schema_test.go b/core/rawdb/schema_test.go deleted file mode 100644 index e544f603f4..0000000000 --- a/core/rawdb/schema_test.go +++ /dev/null @@ -1,22 +0,0 @@ -package rawdb - -import ( - "math/rand" - "testing" - - "github.com/ethereum/go-ethereum/common" -) - -var sink []byte - -func BenchmarkStorageHistoryIndexBlockKey(b *testing.B) { - var h1, h2 common.Hash - for i := range h1 { - h1[i] = byte(rand.Intn(256)) - h2[i] = byte(rand.Intn(256)) - } - b.ResetTimer() - for i := 0; i < b.N; i++ { - sink = storageHistoryIndexBlockKey(h1, h2, uint32(i)) - } -}