remove errorMessages and validity from updateProcesoor cache
This commit is contained in:
18
.vscode/launch.json
vendored
Normal file
18
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Jest: current file",
|
||||
//"env": { "NODE_ENV": "test" },
|
||||
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
||||
"args": ["${fileBasenameNoExtension}", "--config", "jest.config.js"],
|
||||
"console": "integratedTerminal",
|
||||
"disableOptimisticBPs": true,
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -317,8 +317,9 @@ export abstract class DefaultStateEvaluator implements StateEvaluator {
|
||||
}
|
||||
|
||||
const forceStateStoreToCache =
|
||||
executionContext.evaluationOptions.cacheEveryNInteractions > 0 &&
|
||||
i % executionContext.evaluationOptions.cacheEveryNInteractions === 0;
|
||||
(executionContext.evaluationOptions.cacheEveryNInteractions > 0 &&
|
||||
i % executionContext.evaluationOptions.cacheEveryNInteractions === 0) ||
|
||||
missingInteractions.length == 1;
|
||||
// if that's the end of the root contract's interaction - commit all the uncommitted states to cache.
|
||||
if (contract.isRoot()) {
|
||||
contract.clearChildren();
|
||||
|
||||
Reference in New Issue
Block a user