Accommodate GQL optimizations in codegen (#254)

* Prune optional methods in indexer and database interfaces

* Implement GQL optimization changes in codegen

* Fix graph-node test indexer

* Add demos to codegen package
This commit is contained in:
2022-11-23 17:42:25 +05:30
committed by GitHub
parent 0b33cc98c9
commit cc28474537
26 changed files with 758 additions and 57 deletions
-1
View File
@@ -61,7 +61,6 @@ export class ResetStateCmd {
const { blockNumber } = this._argv;
try {
// Delete all State entries after the given block
assert(this._database.removeStatesAfterBlock);
await this._database.removeStatesAfterBlock(dbTx, blockNumber);
// Reset the stateSyncStatus.