-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allEvents fails to capture both events emitted by solidity contract function #146
Comments
@timothywangdev what is the version of the |
@eduardonunesp |
Hello,
It also hardcodes |
Can we get some updates on the fix? Thanks. @eduardonunesp |
hey @timothywangdev we are heads down for our upcoming plasmachain launch, this is likely 2 weeks off. I'm sorry we are a bit swamped. Can you give us some background on what you are trying to build? |
Hi @timothywangdev thanks for your report, could you please confirm if the test add on this PR #194 is compatible with your issue |
"loom-js": "^1.30.2"
solidity ^0.4.23
latest loom installed from
This one does not catch both events (Delegate, UpdateDelegation) emitted from a function. Only the first event emiited (UpdateDelegation) is caught.
We have to add the following code to make it work
Related to #82
It turned out using the above code did not work as well, we did a little experiment as follows:
Results
Only one event received in our event listener yet 2 events showed up in the test script log:
The text was updated successfully, but these errors were encountered: