fix more CI complaints

This commit is contained in:
Guillaume Ballet 2023-09-25 17:23:46 +02:00
parent c94a9dd78b
commit 1b72c34485
2 changed files with 2 additions and 7 deletions

View file

@ -258,12 +258,8 @@ type cachingDB struct {
// Verkle specific fields // Verkle specific fields
// TODO ensure that this info is in the DB // TODO ensure that this info is in the DB
started, ended bool started, ended bool
translatedRoots [32]common.Hash // hash of the translated root, for opening LastMerkleRoot common.Hash // root hash of the read-only base tree
origRoots [32]common.Hash
translationIndex int
translatedRootsLock sync.RWMutex
LastMerkleRoot common.Hash // root hash of the read-only base tree
addrToPoint *utils.PointCache addrToPoint *utils.PointCache

View file

@ -63,7 +63,6 @@ func (trie *VerkleTrie) InsertMigratedLeaves(leaves []verkle.LeafNode) error {
} }
var ( var (
errInvalidProof = errors.New("invalid proof")
errInvalidRootType = errors.New("invalid node type for root") errInvalidRootType = errors.New("invalid node type for root")
// WORKAROUND: this special error is returned if it has been // WORKAROUND: this special error is returned if it has been