embark/packages/plugins/ganache
emizzle f6f45077e9
fix(@embark/proxy): Fix unsubsribe handling and add new provider
When `eth_unsubscribe` is received in the proxy, ensure this request is forwarded through on the correct socket (the same socket that was used for the corresponding `eth_subscribe`).

Move subscription handling for `eth_subscribe` and `eth_unsubscribe` to RpcModifiers (in `rpc-manager` package).

For each `eth_subscribe` request, a new `RequestManager` is created. Since the endpoint property on the proxy class was updated to be a provider, the same provider was being assigned to each new `RequestManager` and thus creating multiple event handlers for each subscription created. To circumvent this, we are now creating a new provider for each `RequestManager`.

Co-authored-by: Pascal Precht <pascal.precht@googlemail.com>
2019-11-21 15:38:48 +01:00
..
src fix(@embark/proxy): Fix unsubsribe handling and add new provider 2019-11-21 15:38:48 +01:00
.npmrc refactor(@embark/ganache): move module into own package (#1952) 2019-10-14 16:28:54 +09:00
CHANGELOG.md chore(release): 5.0.0-alpha.1 2019-11-05 14:55:06 -06:00
README.md refactor(@embark/ganache): move module into own package (#1952) 2019-10-14 16:28:54 +09:00
package.json chore(release): 5.0.0-alpha.1 2019-11-05 14:55:06 -06:00

README.md

embark-ganache

Implementation of the Ganache simulator for Embark

Visit embark.status.im to get started with Embark.