update for interface changes for NewDatabaseWithFreezer and leveldb
This commit is contained in:
parent
d8560b4080
commit
0f3ff6591e
@ -24,10 +24,11 @@ func TestMakePaths(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestIterator(t *testing.T) {
|
func TestIterator(t *testing.T) {
|
||||||
edb, err := rawdb.NewLevelDBDatabaseWithFreezer(
|
kvdb, ldberr := rawdb.NewLevelDBDatabase(fixt.ChainDataPath, 1024, 256, "eth-pg-ipfs-state-snapshot", false)
|
||||||
fixt.ChainDataPath, 1024, 256, fixt.AncientDataPath,
|
if ldberr != nil {
|
||||||
"eth-pg-ipfs-state-snapshot", false,
|
t.Fatal(ldberr)
|
||||||
)
|
}
|
||||||
|
edb, err := rawdb.NewDatabaseWithFreezer(kvdb, fixt.AncientDataPath, "eth-pg-ipfs-state-snapshot", false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user