Skip to content

Natto integration into jsre #772

@zsfelfoldi

Description

@zsfelfoldi

The event loop works with otto/jsre, but I had to remove a poll loop from ethereum.js because the event loop doesn't return while a timer is running:

RequestManager.prototype.poll = function () {
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);

We probably don't need polling when using otto provider; the proper version of ethereum.js has to be modified and included in ethereum_js.go.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions