Upgrade geth to v1.10.9.

This commit is contained in:
Arijit Das 2021-10-14 12:19:06 +05:30
parent f282c17770
commit d23d01ed81
2 changed files with 6 additions and 2 deletions

4
go.mod
View File

@ -2,6 +2,6 @@ module github.com/vulcanize/go-eth-state-node-iterator
go 1.13
require github.com/ethereum/go-ethereum v1.9.11
require github.com/ethereum/go-ethereum v1.10.9
replace github.com/ethereum/go-ethereum v1.9.11 => github.com/vulcanize/go-ethereum v1.9.11-statediff-0.0.2
replace github.com/ethereum/go-ethereum v1.10.9 => github.com/vulcanize/go-ethereum v1.10.9-statediff-0.0.27

View File

@ -22,6 +22,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/trie"
)
@ -66,6 +67,9 @@ func (it *PrefixBoundIterator) LeafProof() [][]byte {
func (it *PrefixBoundIterator) Parent() common.Hash {
return it.current.Parent()
}
func (it *PrefixBoundIterator) AddResolver(store ethdb.KeyValueStore) {
it.current.AddResolver(store)
}
// Iterator with an upper bound value (hex path prefix)
func NewPrefixBoundIterator(it trie.NodeIterator, to []byte) *PrefixBoundIterator {