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
Cannot read property 'currentProvider' of undefined
at GetPastLogsMethod._callee$ (/node_modules/web3-core-method/dist/web3-core-method.cjs.js:97:44)
at tryCatch (/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at /node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at new Promise (<anonymous>)
at GetPastLogsMethod.<anonymous> (/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at GetPastLogsMethod.execute (/node_modules/web3-core-method/dist/web3-core-method.cjs.js:122:25)
at EventLogSubscription.subscribe (/node_modules/web3-core-subscriptions/dist/web3-core-subscriptions.cjs.js:106:32)
at EventSubscriptionsProxy.subscribe (/node_modules/web3-eth-contract/dist/web3-eth-contract.cjs.js:602:189)
at Proxy.<anonymous> (/node_modules/web3-eth-contract/dist/web3-eth-contract.cjs.js:583:27)
Versions
web3.js: 1.0.0-beta.51
nodejs: v11.7.0
browser: console
ethereum node: Infura
The text was updated successfully, but these errors were encountered:
Description
I think this issue is related to #2563 but the fix #2574 didn't apply on
contract.events
methods.This issue has appeared on beta.49, and still existing on beta.51
Expected behavior
should log events.
Actual behavior
Error log
Versions
The text was updated successfully, but these errors were encountered: