refactor: file cache refactor

This commit is contained in:
ppedziwiatr
2021-12-02 15:01:37 +01:00
committed by Piotr Pędziwiatr
parent 5394f8caff
commit 4c1bbb8902
14 changed files with 494 additions and 538 deletions

View File

@@ -52,7 +52,7 @@ export class CacheableContractInteractionsLoader implements InteractionsLoader {
const missingInteractions = await this.baseImplementation.load(
contractId,
cachedHeight + 1,
Math.max(cachedHeight + 1, fromBlockHeight),
toBlockHeight,
evaluationOptions
);