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
TypeError: Cannot read property 'currentProvider' of undefined
at GetPastLogsMethod._callee$ (/home/sokun/labs/web3js1Test/node_modules/web3-core-method/dist/web3-core-method.cjs.js:97:44)
at tryCatch (/home/sokun/labs/web3js1Test/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/home/sokun/labs/web3js1Test/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (/home/sokun/labs/web3js1Test/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/home/sokun/labs/web3js1Test/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (/home/sokun/labs/web3js1Test/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at /home/sokun/labs/web3js1Test/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at new Promise (<anonymous>)
at GetPastLogsMethod.<anonymous> (/home/sokun/labs/web3js1Test/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
at GetPastLogsMethod.execute (/home/sokun/labs/web3js1Test/node_modules/web3-core-method/dist/web3-core-method.cjs.js:122:25)
at LogSubscription.subscribe (/home/sokun/labs/web3js1Test/node_modules/web3-core-subscriptions/dist/web3-core-subscriptions.cjs.js:106:32)
at Proxy.subscribe (/home/sokun/labs/web3js1Test/node_modules/web3-eth/dist/web3-eth.cjs.js:425:77)
at Object.<anonymous> (/home/sokun/labs/web3js1Test/index.js:4:10)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32) null
Versions
web3.js: 1.0.0-beta.49+
nodejs: v8.14.0
browser: NA
ethereum node: geth v1.8.20
The text was updated successfully, but these errors were encountered:
Description
Subscribe to logs is broken in beta.49+
Expected behavior
I should be able to subscribe to
logs
from specified block and specified topics.Actual behavior
An exception is thrown
Steps to reproduce the behavior
Error Logs
Versions
The text was updated successfully, but these errors were encountered: