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