You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: invalid event - null
at getEventTag (/somepath/node_modules/@ethersproject/providers/src.ts/base-provider.ts:102:11)
at WebSocketProvider.BaseProvider.off (/somepath/node_modules/@ethersproject/providers/src.ts/base-provider.ts:1569:24)
at Contract.BaseContract._checkRunningEvents (/somepath/node_modules/@ethersproject/contracts/src.ts/index.ts:921:31)
at Contract.BaseContract.removeAllListeners (/somepath/node_modules/@ethersproject/contracts/src.ts/index.ts:1066:22)
at Indexer.stop (/somepath/packages/core-ethereum/src/indexer/index.ts:118:41)
at /somepath/packages/core-ethereum/src/index.ts:106:32
the relevant code looks like this:
// subscribe to new blocksprovider.on('block',(blockNumber: number)=>{this.onNewBlock({number: blockNumber})}).on('error',(error: any)=>{log(chalk.red(`etherjs error: ${error}`))this.restart()})// subscribe to all eventsmyContract.on('*',(event: Event<any>)=>{this.onNewEvents([event])}).on('error',(error: any)=>{log(chalk.red(`etherjs error: ${error}`))this.restart()})
The text was updated successfully, but these errors were encountered:
ricmoo
added
investigate
Under investigation and may be a bug.
on-deck
This Enhancement or Bug is currently being worked on.
bug
Verified to be an issue.
and removed
investigate
Under investigation and may be a bug.
labels
Apr 13, 2021
This has been addressed in 5.1.2. Try it out and let me know if there are any more issues.
ricmoo
added
fixed/complete
This Bug is fixed or Enhancement is complete and published.
and removed
on-deck
This Enhancement or Bug is currently being worked on.
labels
Apr 19, 2021
Hello everybody!
I have encountered this issue when running:
the relevant code looks like this:
The text was updated successfully, but these errors were encountered: