It would be great to have support for events in the Go bindings to easily watch needed events.
In the docs it is only mentioned it is waiting for some RPC pub/sub changes but maybe these are already available?
Is this feature being worked on or discussed?
I am aware it is possible to get logs and thus events either with polling or subscription over JSON RPC.
It's waiting for a new RPC client implementation from @fjl . When that is merged in, we can properly use subscriptions to get the event logs and I can finally implement this for Native DApps :)
@karalabe @fjl any schedule for this or place to follow/discuss the work?
The RPC client is currently in review, see #2808. We are also reworking filter system internals to provide
a uniform API for subscriptions (in #2798).
When those two are in, the abigen backend package will need to be updated with subscription support.
This won't be much work. If everything goes well, I'd say you have to wait two more weeks.
See #2900
I see
What remains? Just abigen updates? I don't see an abigen issue addressing events (other than this one).
This issue is still open, the work is not done yet. @awishformore told me he is still working on this. If he isn't, me or @karalabe will step in and do it. Either way this is part of the 1.5 milestone and we all want it, so it'll happen.
I will start working on this again this weekend. Had a couple of rough weeks.
Any updates about this PR? We really need this feature! Thanks.
I dropped the ball on this one, just couldn't find the time anymore. Not sure on the current status.
@karalabe, @fjl
Any update about this feature?
Not sure if there is something I can do but I'm willing to help this.
Is this expected to be out in ~1.6.6~ ~1.6.7~ 1.6.8? We're multiple versions ahead of the target milestone of this issue.
Is there any workaround for this? How can I get the events in Go without waiting for this release?
Work to add event decoding is going on in ethereum/go-ethereum#14743
@fjl @karalabe what's the status of this? I see 1.7.0 is the milestone and that is already released. Thanks for an update!
@fjl @karalabe what's the status of this? Thanks for an update!
It's on master
On Feb 9, 2018 09:35, "lewgun" notifications@github.com wrote:
@fjl https://github.com/fjl @karalabe https://github.com/karalabe
what's the status of this? Thanks for an update!—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/go-ethereum/issues/2792#issuecomment-364357862,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH6Ge_0iSSxhMEqXL45QlOapMawju9Lks5tS_U4gaJpZM4JH7RK
.
I just spent a while digging around for docs on this new feature, so in case it's useful to anyone else on this thread, here's a good writeup of the new abigen features for filtering/watching events:
https://github.com/ethereum/go-ethereum/pull/15832
🙏 many thanks @karalabe
:sparkles:
Most helpful comment
Is this expected to be out in ~1.6.6~ ~1.6.7~ 1.6.8? We're multiple versions ahead of the target milestone of this issue.