From 1b72c344856bdf759d0663c04c8ec6c28171234b Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 25 Sep 2023 17:23:46 +0200 Subject: [PATCH] fix more CI complaints --- core/state/database.go | 8 ++------ trie/verkle.go | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/core/state/database.go b/core/state/database.go index 6e65286f3d..e663556336 100644 --- a/core/state/database.go +++ b/core/state/database.go @@ -258,12 +258,8 @@ type cachingDB struct { // Verkle specific fields // TODO ensure that this info is in the DB - started, ended bool - translatedRoots [32]common.Hash // hash of the translated root, for opening - origRoots [32]common.Hash - translationIndex int - translatedRootsLock sync.RWMutex - LastMerkleRoot common.Hash // root hash of the read-only base tree + started, ended bool + LastMerkleRoot common.Hash // root hash of the read-only base tree addrToPoint *utils.PointCache diff --git a/trie/verkle.go b/trie/verkle.go index 174ebfce23..68ad6b9e38 100644 --- a/trie/verkle.go +++ b/trie/verkle.go @@ -63,7 +63,6 @@ func (trie *VerkleTrie) InsertMigratedLeaves(leaves []verkle.LeafNode) error { } var ( - errInvalidProof = errors.New("invalid proof") errInvalidRootType = errors.New("invalid node type for root") // WORKAROUND: this special error is returned if it has been