fix: force leveldb open

This commit is contained in:
ppe
2022-10-31 16:53:19 +01:00
committed by just_ppe
parent de490bfd0e
commit 4deee6f3bd
19 changed files with 284 additions and 128 deletions

View File

@@ -17,7 +17,9 @@ async function main() {
});
try {
const warp = WarpFactory.forMainnet({...defaultCacheOptions, inMemory: true});
const warp = WarpFactory
.forMainnet({...defaultCacheOptions, inMemory: true})
.useStateCache(new LmdbCache());
/*const warp = WarpFactory
.custom(arweave, {
...defaultCacheOptions,