Merge pull request #8 from vulcanize/upgrade-geth
Upgrade geth to v1.10.9.
This commit is contained in:
commit
89b3064c00
4
go.mod
4
go.mod
@ -2,6 +2,6 @@ module github.com/vulcanize/go-eth-state-node-iterator
|
|||||||
|
|
||||||
go 1.13
|
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
|
||||||
|
@ -22,6 +22,7 @@ import (
|
|||||||
|
|
||||||
"github.com/ethereum/go-ethereum/common"
|
"github.com/ethereum/go-ethereum/common"
|
||||||
"github.com/ethereum/go-ethereum/core/state"
|
"github.com/ethereum/go-ethereum/core/state"
|
||||||
|
"github.com/ethereum/go-ethereum/ethdb"
|
||||||
"github.com/ethereum/go-ethereum/trie"
|
"github.com/ethereum/go-ethereum/trie"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -66,6 +67,9 @@ func (it *PrefixBoundIterator) LeafProof() [][]byte {
|
|||||||
func (it *PrefixBoundIterator) Parent() common.Hash {
|
func (it *PrefixBoundIterator) Parent() common.Hash {
|
||||||
return it.current.Parent()
|
return it.current.Parent()
|
||||||
}
|
}
|
||||||
|
func (it *PrefixBoundIterator) AddResolver(store ethdb.KeyValueStore) {
|
||||||
|
it.current.AddResolver(store)
|
||||||
|
}
|
||||||
|
|
||||||
// Iterator with an upper bound value (hex path prefix)
|
// Iterator with an upper bound value (hex path prefix)
|
||||||
func NewPrefixBoundIterator(it trie.NodeIterator, to []byte) *PrefixBoundIterator {
|
func NewPrefixBoundIterator(it trie.NodeIterator, to []byte) *PrefixBoundIterator {
|
||||||
|
Loading…
Reference in New Issue
Block a user