swcache to warpcache renaming hell

This commit is contained in:
asiaziola
2022-05-19 17:52:16 +02:00
parent 11d18a753a
commit f2555a8ed1
22 changed files with 53 additions and 53 deletions

View File

@@ -1,7 +1,7 @@
import {
Benchmark,
BlockHeightKey,
BlockHeightSwCache,
BlockHeightWarpCache,
EvaluationOptions,
GQLEdgeInterface,
InteractionsLoader,
@@ -18,7 +18,7 @@ export class CacheableContractInteractionsLoader implements InteractionsLoader {
constructor(
private readonly baseImplementation: InteractionsLoader,
private readonly cache: BlockHeightSwCache<GQLEdgeInterface[]>
private readonly cache: BlockHeightWarpCache<GQLEdgeInterface[]>
) {}
async load(

View File

@@ -1,6 +1,6 @@
import Arweave from 'arweave';
import { ContractDefinition, EvaluationOptions, ExecutorFactory } from '@warp/core';
import { SwCache } from '@warp/cache';
import { WarpCache } from '@warp/cache';
import { LoggerFactory } from '@warp/logging';
/**
@@ -12,7 +12,7 @@ export class CacheableExecutorFactory<Api> implements ExecutorFactory<Api> {
constructor(
private readonly arweave: Arweave,
private readonly baseImplementation: ExecutorFactory<Api>,
private readonly cache: SwCache<string, Api>
private readonly cache: WarpCache<string, Api>
) {}
async create<State>(