-
Notifications
You must be signed in to change notification settings - Fork 678
Conversation
websocket subscription support added for subscription types: - logs - newPendingTransactions
Cool! I would advise against updating to Web3 1.0.0 in this PR, that should be a seperate PR, since synchronous calls would need to be implemented as well (see #15). |
@benjamincburns any idea when/if this will get merged? |
@perissology I've got a separate branch with similar changes plus the test maintenance. I'm embarrassed to say that I forgot this PR existed when I did that work. My own branch w/ the test maintenance is blocked by web3/web3.js#1191 being merged, as it fixes web3/web3.js#1188. Since my implementation doesn't yet have subscription support, I'll likely take your implementation and merge in just my tests. I can't do that however until that bug I mentioned is fixed, and I can't accept your changes until I have test coverage from them. So that's a lot of words to say:
|
Update on this: I've just submitted what I believe will be the final change necessary to get this effort unblocked. I won't be able to publish until the web3 fix is released properly, but barring bugs or other nasty surprises, I'm hoping to be able to get this into the |
That's a fine Christmas present, thank you @benjamincburns and @perissology 🎅 |
@onbjerg & @perissology it seems the fix for web3 was released on the 21st. I didn't realize this, so I just now committed the update and pushed it to the It's Christmas day here in New Zealand, so I'll get back to this first thing tomorrow. Specifically I'll review my own changes against @perissology's and take the best from both. Thanks for your patience and help on this, everyone! |
Guys, this is an awesome work. When do you think you'll merge it into the main branch? |
@perissology I reached out to you on Gitter, but I'll give a quick update here since @chentschel requested a progress update. Yesterday I pulled down this branch, rebased it on current The big stumbling block I'm hitting is subscriptions. I'm hitting a few problems there:
I've got WIP on the above, which I'll add to this PR shortly. I'm going to be traveling for four days starting tomorrow (be back on the 31st New Zealand time, 30th USA time). I think realistically I'll likely have the big chunks of this done today, but it will be the middle of next week until this PR is likely going to be ready to merge. I'd be all kinds of happy to host a group review session on this work sometime on the 3rd or later next week via video chat. I've invited @perissology to schedule a time which suits him or her best via my Calendly. If other people are interested in participating, please speak up here and I'll post the scheduling and video conferencing details for others to join. |
Going to move status update conversation back over to #257. For those looking for info on when this will be done, please check over there. |
Closing this PR in favor of #49 which is based on these changes. Thanks once again for your contributions, @perissology! |
#11
I didn't add tests for subscriptions as that would require upgrading to web3 1.0, and there are many changes to be made. I can write tests and update to 1.0 if needed.