From 2b3391ecb3eebd59ea169e5a581c027141f05aea Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:55:58 +0100 Subject: [PATCH] fix linter issue --- core/state/database.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/state/database.go b/core/state/database.go index 365a28d900..8ae2c52546 100644 --- a/core/state/database.go +++ b/core/state/database.go @@ -20,7 +20,6 @@ import ( "errors" "fmt" - "github.com/crate-crypto/go-ipa/banderwagon" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/lru" "github.com/ethereum/go-ethereum/core/rawdb" @@ -39,12 +38,6 @@ const ( // Cache size granted for caching clean code. codeCacheSize = 64 * 1024 * 1024 - - // commitmentSize is the size of commitment stored in cache. - commitmentSize = banderwagon.UncompressedSize - - // Cache item granted for caching commitment results. - commitmentCacheItems = 64 * 1024 * 1024 / (commitmentSize + common.AddressLength) ) // Database wraps access to tries and contract code.