-
Notifications
You must be signed in to change notification settings - Fork 312
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
Feature: send UX enhancements (ready for review) #1766
Conversation
app/components/TransactionHistory/TransactionHistoryPanel/TransactionHistoryPanel.jsx
Outdated
Show resolved
Hide resolved
app/components/TransactionHistory/TransactionHistoryPanel/TransactionHistoryPanel.jsx
Outdated
Show resolved
Hide resolved
app/components/TransactionHistory/TransactionHistoryPanel/Transactions.jsx
Outdated
Show resolved
Hide resolved
app/components/TransactionHistory/TransactionHistoryPanel/TransactionHistoryPanel.jsx
Outdated
Show resolved
Hide resolved
@comountainclimber I have a few preliminary questions and suggestions:
|
Thanks for taking a look @ranbena in regards to your points:
|
I know you are still working on this but the code looks good so far |
…eaks down abstract transaction components
app/components/TransactionHistory/TransactionHistoryPanel/Transactions.jsx
Show resolved
Hide resolved
Super feature @comountainclimber! Mazal Tov 🍾 |
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.
Other than a few requested changes - good to go
Thanks for the review @ranbena and @dvd-schwrtz 👍 |
TODO:
Fix bug preventing correct hash from being generated during contract invocationFix error messaging in Send timeout to direct users to take a look at activity (separate PR)
Add number of pending tx on top of Activity logo based on spunky state (separate PR)
What current issue(s) from Trello/Github does this address?
Solves at least part of #1741 and a lot of problems that arise during periods of network instability ie what exactly is the status of my transaction
What problem does this PR solve?
This creates an internal storage log of "pending" transactions that the user has attempted to broadcast to the network. We generate a transaction ID locally before broadcasting to a node and then use this ID to poll the blockchain for confirmations/transaction status. Once the transaction reaches
4010 confirmations OR the neoscan API responds with this transaction id we purge the id from local storage.How did you solve this problem?
By generating the transaction locally before making the request to the node and then storing the determined tx id in local storage. UPDATE: It is not currently possible (that I know of) to take the an InvocationTransaction script and reverse engineer it to calculate the exact outputs as an alternative I decided to pass around the send entries array and conditionally use its value instead in the event of the transaction being an invocation.
How did you make sure your solution works?
Manual testing - incoming unit and integration tests. (separate PR)
Are there any special changes in the code that we should be aware of?
3.11.9
and installs via npm instead of github60000
MS instead of the default30000
Is there anything else we should know?
NOTE: for some reason the hashes I am generating for tokens (not GAS or NEO) are not creating the correct hash and I am actively investigating