-
Notifications
You must be signed in to change notification settings - Fork 234
Drizzle has problem connecting to Infura because of Web3 v1.0.0-beta35 #42
Comments
What's the most efficient way to downgrade web3 to work with websockets? Experiencing same issue. Tried forking drizzle from develop and editing package.json, but screws up dependencies for drizzle-react. So, wondering about my options atm. EDIT: Managed to fix it here [based of 1.3.3]: https://github.com/simondlr/drizzle/tree/web3mod |
fwiw. This is still an issue for me. I can't use Drizzle's fallback to websockets with beta35 [which it is currently at]. |
@simondlr Which version of Web3 should we be on? As far as I know (and I don't know much), there is still some discussion about what beta version we need to rely on since there are breaking changes between some of them. |
@adrianmcli all I know is currently that beta33 works fine for me. Perhaps future version fixed things? |
I think beta53 is coming out soon with a bunch of changes that un-breaks things with Truffle (according to this comment), we can try using that when it is released. |
I tried with the
|
Thanks for the data point @n1c01a5, we'll look into this. |
@adrianmcli do you have any updates about the fallback? It seems working with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments. |
As far as I can tell, this is still a problem with the latest version of Drizzle. I've yet to find around a workaround, and am currently in npm hell trying to get a version of Drizzle with an upgraded or downgraded web3. Any suggestions? |
I tried to fork Drizzle and downgrade the dependency, then use my GitHub version as the dependency: https://github.com/apbendi/drizzle/tree/web3fix However, that results in the following build error from
|
* Upgrade Drizzle using a fork on GitHub that also upgrades web3 to version 1.2 due to this bug: https://github.com/trufflesuite/drizzle/issues/186 * Upgrade drizzle-react & drizzle-react-components to their latest versions * Avoid checking in Infura ID by importing it from a gitignored and templatized file
This is working for me right now with the latest version of drizzle (the one at There were some strange things happening in my code when I didn't explicitly specify the fixed version of So from my side I think this issue can be closed, and I no longer have to maintain a fork with a different web3 version :) (before I in my fork I was using web3 |
I have this issue in
|
@JasoonS This change haven't released yet, you can look at the code on I also wonder when you guys will release it. |
@tung-eh can you verify if the release solved your issue? |
I had the same issue:
and can confirm that it is solved with the latest release. as a remark:
I am seeing the same problem but this is probably a different issue. |
Thanks let's close this for now. Regarding the other issue, we'd appreciate opening a new one :) |
v1.1.2 + 1.1.3 patches
There is a issue with Web3 v1.0.0-beta35 that Drizzle depend on.
Error:
Web3 has to be downgraded to v1.0.0-beta33 or upgreaded to version v1.0.0-beta36 and above.
The text was updated successfully, but these errors were encountered: