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
/home/mpetrunic/Projects/ChainSafe/@web3.js/repro/ganache-provider/node_modules/web3-eth/dist/utils/reject_if_block_timeout.js:5
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
^
TypeError: provider.supportsSubscriptions is not a function
at /home/mpetrunic/Projects/ChainSafe/@web3.js/repro/ganache-provider/node_modules/web3-eth/src/utils/reject_if_block_timeout.ts:169:12
at Generator.next (<anonymous>)
at fulfilled (/home/mpetrunic/Projects/ChainSafe/@web3.js/repro/ganache-provider/node_modules/web3-eth/dist/utils/reject_if_block_timeout.js:5:58)
Is there an existing issue for this?
Current Behavior
Runtime error about missing method
Expected Behavior
Should work.
Probably this: https://github.com/web3/web3.js/blob/4.x/packages/web3-eth/src/utils/reject_if_block_timeout.ts#L169
should not expect every provider to have this method.
Steps to Reproduce
Web3.js Version
4.0.1-alpha.1
Environment
Anything Else?
#5309 would detect those things.
The text was updated successfully, but these errors were encountered: