-
Notifications
You must be signed in to change notification settings - Fork 5.1k
returnValues
parsed incorrectly
#3158
Comments
Hi @yuwiggin Your string event argument is From the events section of the solidity docs
|
Thanks @cgewecke . So, it can't be fetched in any way? |
@yuwiggin The fired event will contain the keccak256 hash, so if you know what the string is in advance, you can always synthesize it using But often strings are being used for arbitrary, user-generated values... Incidentally, it's not possible to set an event filter for an indexed string by the computed hash either - you have to do that manually in the event handler if it's helpful for your use case. |
Closing in favor #344 |
Description
The value was wrong in a
String
field of thereturnValues
.Expected behavior
Calling
contract.events.Authorized({ fromBlock: 8806769 }, function(error, event) { console.log(event); })
should return
Actual behavior
But returned
Steps to reproduce the behavior
ABI JSON
Versions
The text was updated successfully, but these errors were encountered: