Skip to content

Commit

Permalink
fix: Fiw watching v2 contract events (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayprabhu authored Nov 7, 2023
1 parent 9637457 commit 77ff79e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/hubble/src/eth/l2EventsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,16 @@ export class L2EventsProvider {
this._watchStorageContractEvents?.start();
this._watchKeyRegistryContractEvents?.start();
this._watchIdRegistryContractEvents?.start();
this._watchIdRegistryV2ContractEvents?.start();
this._watchKeyRegistryV2ContractEvents?.start();
}

public async stop() {
this._watchStorageContractEvents?.stop();
this._watchKeyRegistryContractEvents?.stop();
this._watchIdRegistryContractEvents?.stop();
this._watchIdRegistryV2ContractEvents?.stop();
this._watchKeyRegistryV2ContractEvents?.stop();
this._watchBlockNumber?.stop();

// Wait for all async promises to resolve
Expand Down

0 comments on commit 77ff79e

Please sign in to comment.