mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 04:46:00 +00:00
73e93f1f11
* Reduce Nim 1.6 compiler warnings/hints for Fluffy and Nimbus proxy Mostly raises Defect removals, TaintedString removal and some unnecessary imports. Also updating the copyright years alongside. * Further reduce Nim 1.6 compiler warnings/hints for Nimbus
20 lines
360 B
Nim
20 lines
360 B
Nim
{.used.}
|
|
|
|
import
|
|
std/os,
|
|
unittest2,
|
|
eth/db/kvstore,
|
|
../../nimbus/db/kvstore_rocksdb,
|
|
eth/../tests/db/test_kvstore
|
|
|
|
suite "RocksStoreRef":
|
|
test "KvStore interface":
|
|
let tmp = getTempDir() / "nimbus-test-db"
|
|
removeDir(tmp)
|
|
|
|
let db = RocksStoreRef.init(tmp, "test")[]
|
|
defer:
|
|
db.close()
|
|
|
|
testKvStore(kvStore db, false, false)
|