-
Notifications
You must be signed in to change notification settings - Fork 78
[EC-206] Implement eth_getTransactionReceipt #223
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
Conversation
| import io.iohk.ethereum.utils.ByteUtils | ||
| import org.spongycastle.crypto.digests.{SHA1Digest, SHA256Digest} | ||
| import org.spongycastle.crypto.engines.AESFastEngine | ||
| import org.spongycastle.crypto.engines.AESEngine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamsmo why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
org.spongycastle.crypto.engines.AESFastEngine is deprecated now
| logs: Seq[TxLog] | ||
| ) | ||
|
|
||
| //TODO extract to top level because it is used in FilterManager.scala |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be addressed in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be addressed after #218 is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I would merge this one and create a new task, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added EC-209
| receipt: Receipt <- receipts.lift(txIndex) | ||
| } yield { | ||
|
|
||
| //transaction with contract creation 0xb7b8cc9154896b25839ede4cd0c2ad193adf06489fdd9c0a9dfce05620c04ec1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor detail: What does 0xb7b8cc9154896b25839ede4cd0c2ad193adf06489fdd9c0a9dfce05620c04ec1 represent? From the tests it seems to be the hash of a tx, maybe we should remove this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nwm I thought this is EthServiceSpec, I will remove it
AlanVerbner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
ntallar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.