mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 16:54:08 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user