Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Update getTransactionSuccess to decode logs #28

Open
1 of 2 tasks
pfletcherhill opened this issue May 2, 2018 · 2 comments
Open
1 of 2 tasks

Update getTransactionSuccess to decode logs #28

pfletcherhill opened this issue May 2, 2018 · 2 comments

Comments

@pfletcherhill
Copy link

Update getTransactionSuccess method to optionally decode logs

Issue Type

Description

The getTransactionSuccess method is helpful, but I'd like it to be able to decode returned logs as well. The method could either take as argument an ABI or could be added as a method to a contract instance (i.e. contractInstance.getTransactionSuccess("<txHash>")).

I've found myself creating a log decoder (i.e. const decoder = Eth.abi.logDecoder(<ABI>)) and running logs returned via getTransactionSuccess through that decoder, and it would be nice to have the method do that for me.

@SilentCicero
Copy link
Member

SilentCicero commented May 2, 2018 via email

@pfletcherhill
Copy link
Author

Sure thing. Will open one by this weekend!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants