-
Notifications
You must be signed in to change notification settings - Fork 78
[ETCM-135] Tx history improvements for wallet #808
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
48587d3 to
b45d65f
Compare
| .concatMap { block => | ||
| val getBlockReceipts = Task { | ||
| blockchain.getReceiptsByHash(block.hash).map(_.toVector).getOrElse(Vector.empty) | ||
| }.memoizeOnSuccess |
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.
memoizeOnSuccess won't work here
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.
it will work on a per-block basis, won't it?
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.
You're right. I missed it
mmrozek
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
|
|
||
| // scalastyle:off number.of.methods | ||
| object EthJsonMethodsImplicits extends JsonMethodsImplicits { | ||
| implicit val transactionResponseJsonEncoder: JsonEncoder[TransactionResponse] = Extraction.decompose(_) |
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.
👍
8b278fc to
60cfdc2
Compare
794d398 to
6c26ff1
Compare
Description
Move transaction history method to
mantis_namespace, and add couple of additional informations a requested by Mantis Wallet devs.It's a high priority because it's quite important from wallet perspective.
Testing