trufflesuite / drizzle-legacy

Reactive Ethereum datastore for dapp UIs.
http://truffleframework.com/docs/drizzle/getting-started
MIT License
502 stars 129 forks source link

Web3 fallback indicator in drizzle state #179

Closed mi-kas closed 5 years ago

mi-kas commented 5 years ago

Implements the suggestions made in #178. The web3drizzle state is extendend by a fellback boolean in order to indicate if the provided web3 fallback provider was instantiated.

Therefore a new web3 action WEB3_FELLBACK is added to constants.js and a a fellback key added to the initial state of web3Reducer.js:

{
  status: '',
  fellback: false
}

The web3Reducer.js adapted to trigger a state change by this new action and the corresponding testcase updated in web3.test.js. TheREADME.md is also updated accordingly.

stale[bot] commented 5 years ago

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.

stale[bot] commented 5 years ago

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.