-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[ETCM-135] Tx history improvements for wallet #808
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
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
@@ -12,6 +13,7 @@ import org.json4s.{Extraction, JsonAST} | |||
|
|||
// 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