Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining: Drizzle compatibility issue #5459

Closed
1 of 2 tasks
danfinlay opened this issue Oct 8, 2018 · 4 comments
Closed
1 of 2 tasks

Defining: Drizzle compatibility issue #5459

danfinlay opened this issue Oct 8, 2018 · 4 comments

Comments

@danfinlay
Copy link
Contributor

danfinlay commented Oct 8, 2018

Related to #5458 and #5425

Fixing subscribe:

  • Drizzle pifies its provider, breaking the this reference.
    • Should make sure pify method receives correct context argument.
    • requires patch in blocktracker-es5 2.3.2, which we don't own (to define later, ask @kumavis, I didn't follow this part)

Non breaking API Proposal:

  • open issue in metamask that explains why this goop exists. (this issue)
  • goop will be in inpage-provider, marked with a TODO: tag.
    • In the bottom of the constructor
      • binding sendAsync methods to this.
      • This should prevent drizzle from breaking the this reference with pify later on.
@danfinlay
Copy link
Contributor Author

@stobiewan
Copy link

@danfinlay As of metamask 4.14 drizzle is no longer working with metamask, it never sees contracts are synced so the basic examples always show the refresh symbol. Is this related?

@OnlyOneJMJQ
Copy link

This should be able to be closed with the merger of trufflesuite/drizzle#131.

@whymarrh
Copy link
Contributor

whymarrh commented Feb 7, 2019

The issue @DiscRiskandBisque noted above has been merged and we've also added Drizzle to our test setup, so I think this is safe to close.

@stobiewan if you're seeing issues with Drizzle and MetaMask, please open up a new issue and we can fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants