diff --git a/go.mod b/go.mod index 047d81f..6ed8823 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cerc-io/eth-iterator-utils go 1.19 require ( - github.com/cerc-io/eth-testing v0.1.1 + github.com/cerc-io/eth-testing v0.2.1 github.com/ethereum/go-ethereum v1.11.6 ) @@ -53,4 +53,4 @@ require ( google.golang.org/protobuf v1.31.0 // indirect ) -replace github.com/cerc-io/eth-testing => git.vdb.to/cerc-io/eth-testing v0.1.2-0.20230909172706-0d908a1e61f6 +replace github.com/cerc-io/eth-testing => git.vdb.to/cerc-io/eth-testing v0.2.1 diff --git a/go.sum b/go.sum index ac36e94..8069265 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.vdb.to/cerc-io/eth-testing v0.1.2-0.20230909172706-0d908a1e61f6 h1:kAvdKNfJmzIHk8/cEGuXnKCU4Xfy42nr2a2zg3IVthE= -git.vdb.to/cerc-io/eth-testing v0.1.2-0.20230909172706-0d908a1e61f6/go.mod h1:V05dsB//DCFuSycmHL+m0W4QJL0dDP26mZgPnlAoZHc= +git.vdb.to/cerc-io/eth-testing v0.2.1 h1:IZAX7DVgzPkSmu1xdKZ5aOemdEYbvtgae7GUl/TUNtQ= +git.vdb.to/cerc-io/eth-testing v0.2.1/go.mod h1:qdvpc/W1xvf2MKx3rMOqvFvYaYIHG77Z1g0lwsmw0Uk= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= diff --git a/iterator_test.go b/iterator_test.go index ea50ded..339f41f 100644 --- a/iterator_test.go +++ b/iterator_test.go @@ -24,11 +24,11 @@ func TestMakePaths(t *testing.T) { } func TestIterator(t *testing.T) { - kvdb, ldberr := rawdb.NewLevelDBDatabase(fixture.ChainDataPath, 1024, 256, "vdb-geth", false) + kvdb, ldberr := rawdb.NewLevelDBDatabase(fixture.ChainDataPath, 1024, 256, "vdb-geth", true) if ldberr != nil { t.Fatal(ldberr) } - edb, err := rawdb.NewDatabaseWithFreezer(kvdb, fixture.AncientDataPath, "vdb-geth", false) + edb, err := rawdb.NewDatabaseWithFreezer(kvdb, fixture.AncientDataPath, "vdb-geth", true) if err != nil { t.Fatal(err) }