use internal concurrent iterator pkg

This commit is contained in:
i-norden 2023-03-31 09:04:54 -05:00
parent 2c08f5594c
commit bfb0447710
3 changed files with 1 additions and 5 deletions

1
go.mod
View File

@ -3,7 +3,6 @@ module github.com/cerc-io/eth-statediff-service
go 1.18
require (
github.com/cerc-io/go-eth-state-node-iterator v1.1.11
github.com/cerc-io/leveldb-ethdb-rpc v1.1.12
github.com/ethereum/go-ethereum v1.11.5
github.com/jmoiron/sqlx v1.3.5 // indirect

2
go.sum
View File

@ -97,8 +97,6 @@ github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOF
github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cerc-io/go-eth-state-node-iterator v1.1.11 h1:KrrmEO4byx37sZmq4QmJ8PxU6bfUeH48nQOiZBzPcdw=
github.com/cerc-io/go-eth-state-node-iterator v1.1.11/go.mod h1:te4Jw+t3Rpykj/ZdCTXkKItA/8oZyZHjV7UpOaneV8o=
github.com/cerc-io/go-ethereum v1.11.5-statediff-4.3.9-alpha h1:nzy/bUmzq8ImRIxchClNoO7Bytom8ETDuOFHzuHFBXs=
github.com/cerc-io/go-ethereum v1.11.5-statediff-4.3.9-alpha/go.mod h1:Q4LXiMcJCctVW1uoIuF59VRCW1W+zrc5GkewoARwAmk=
github.com/cerc-io/leveldb-ethdb-rpc v1.1.12 h1:SZn1g64gYTS3xSF6R/wZat3GYm8BGl7M5PlVVXN0yns=

View File

@ -28,9 +28,8 @@ import (
"github.com/ethereum/go-ethereum/log"
sd "github.com/ethereum/go-ethereum/statediff"
sdtypes "github.com/ethereum/go-ethereum/statediff/types"
iter "github.com/ethereum/go-ethereum/trie/concurrent_iterator"
"github.com/sirupsen/logrus"
iter "github.com/cerc-io/go-eth-state-node-iterator"
)
type builder struct {