-
Notifications
You must be signed in to change notification settings - Fork 217
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
ethereum.decode
does not work for all encodings
#1088
Comments
Hi, I have been trying to decode below input in the said decode signature and the ethereum.decode function from Encoded Data: Decode Signature: Expected Output: txHash: https://etherscan.io/tx/0x0061c42b5c653d330c90f5d4cd83b952b1e157a9d32a3394df20d13eb0eb9846 Expected solution: It would be great if |
I have the following bytecode which is an input of the following tx
To do that , the only way right now would be to slice off the function name and then use ethabi decode function. But even then , the eth decode fails.
The ABI for the tx input is
Since the mapping decoding did not work , I tried doing it with ethabi and the following code had to be used to break it down.
The ethabi needed multiple params to debug due to the following issue - rust-ethereum/ethabi#245
I want to understand if it's possible to do it using the current implementation in the graph-ts library or if there is any work around for this ?
The text was updated successfully, but these errors were encountered: