Add a flag to enable state creation (#222)

* Add a flag to enable state creation

* Update flag in mock config for testing
This commit is contained in:
prathamesh0
2022-11-10 16:56:06 +05:30
committed by GitHub
parent 8d3c68873b
commit 861420a10f
12 changed files with 58 additions and 14 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ class ServerConfig implements ServerConfigInterface {
checkpointing: boolean;
checkpointInterval: number;
subgraphPath: string;
disableSubgraphState: boolean;
enableState: boolean;
wasmRestartBlocksInterval: number;
filterLogs: boolean;
maxEventsBlockRange: number;
@@ -226,7 +226,7 @@ class ServerConfig implements ServerConfigInterface {
this.checkpointing = false;
this.checkpointInterval = 0;
this.subgraphPath = '';
this.disableSubgraphState = false;
this.enableState = false;
this.wasmRestartBlocksInterval = 0;
this.filterLogs = false;
this.maxEventsBlockRange = 0;