diff --git a/go.mod b/go.mod index 25de20d..3e12644 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,8 @@ 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.4 + github.com/ethereum/go-ethereum v1.11.5 github.com/jmoiron/sqlx v1.3.5 // indirect github.com/prometheus/client_golang v1.14.0 github.com/sirupsen/logrus v1.9.0 @@ -141,4 +140,4 @@ require ( lukechampine.com/blake3 v1.1.6 // indirect ) -replace github.com/ethereum/go-ethereum v1.11.4 => github.com/cerc-io/go-ethereum v1.11.4-statediff-4.3.9-alpha +replace github.com/ethereum/go-ethereum v1.11.5 => github.com/cerc-io/go-ethereum v1.11.5-statediff-4.3.9-alpha diff --git a/go.sum b/go.sum index 693270b..466e2fa 100644 --- a/go.sum +++ b/go.sum @@ -97,10 +97,8 @@ 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.4-statediff-4.3.9-alpha h1:6sUU9DD33TK3eOeDd9NuCmDXNYLOd9FsgHWyn/tmtwc= -github.com/cerc-io/go-ethereum v1.11.4-statediff-4.3.9-alpha/go.mod h1:Q4LXiMcJCctVW1uoIuF59VRCW1W+zrc5GkewoARwAmk= +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= github.com/cerc-io/leveldb-ethdb-rpc v1.1.12/go.mod h1:ra/wYVfEih/XU8TZosmeu0Y6vpQEl/V2gbiQH2WjFEM= github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= diff --git a/pkg/builder.go b/pkg/builder.go index d3a41bd..33fe5df 100644 --- a/pkg/builder.go +++ b/pkg/builder.go @@ -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 {