-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat: save user announcements to local storage and last fetched block #685
Conversation
✅ Deploy Preview for jolly-shaw-20fe62 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Ran into an interesting UX loose end.. connected my wallet and did scan for received transactions.. had to sign to get them.. did so and got the list displayed.. went back to home and hit the receive tab again.. got the list immediate. Very nice...
Then closed that browser tab.. went back to the app via the deploy preview URL.. went to scan for receives, and got the list I had previously as well as a request to sign. Something might need to be cleared?
Understood.. thanks! |
965a4e1
to
29f6f6e
Compare
Co-authored-by: Gary Ghayrat <[email protected]>
* fix: explicitly sort the tokens by addr * fix: use vm.computeCreateAddress * fix: mirror test sender params * fix: use actual owner * fix: add back gnosis * Remove all reference to INFURA_ID (#687) --------- Co-authored-by: John Feras <[email protected]>
…rom the stealthBalances array
Coverage after merging feat/last-fetched-block-usage into master will be
Coverage Report
|
Thank you @marcomariscal ! |
Description
Updates to fetch and scan only the latest blocks. The latest blocks are those after the initial scan, where each subsequent scan saves the latest fetched block to local storage, allowing for appropriate updating of the scan range:
etc.
Methodology:
startBlock
for the scan is appropriately updated to the latest fetched blockOther Updates:
AccountReceiveTable
, intentionally omitting the large scan indicator at the bottom of the tableComments:
To Test:
a) The initial user announcements are present
b) The fetching/scanning sequence is reflected appropriately (it's fetching/scanning only the latest blocks)