explorer
explorer copied to clipboard
Nonces nolonger showing on pending transactions when viewing an address and its history?
Describe the bug Nonces not showing anymore for pending transactions on an address.
This improvement was rolled out some time ago and I enjoyed it a lot when troubleshooting issues for users. https://github.com/hirosystems/explorer/issues/622#event-6661631170
To Reproduce Steps to reproduce the behavior:
- Go to any address with pending transactions
- nonces not shown here:
Expected behavior
I would expect it to show something like this:
source: https://github.com/hirosystems/explorer/pull/624#issuecomment-1130420295
Desktop (please complete the following information): n.a.
Smartphone (please complete the following information): n.a.
Hero Gamer says sometimes it shows other times it does not, and sometimes a refresh resolves it. I tried refresh several times before posting this but had no success. Is it possible some explorer servers are using an older version then others?
I looked at a random pending tx in the mempool, I can confirm refreshes does change whether it displays the Nonce "n" or not.
-
Example tx under this address: https://explorer.stacks.co/address/SP3KPRE6KAQSSK3189X58SJQRNPF5JSM03WMD5RSB?chain=mainnet
-
First search "n" appears.
-
Exact same pending tx after a few refreshes, the "n" disappears.
Thanks @Hero-Gamer and @314159265359879 we will look into it.
At this time, I notice nonce values are displayed for pending transactions. However, nonce is not displayed on anchored transactions. If this is intentional, may I request to keep nonce value even for anchored? Thanks.
@dartman10 this is intentional, atleast my reasoning when I requested the feature was that:
-
For confirmed transactions we already know the nonce is fine.
-
The last confirmed nomce is already shown on top.
-
Nonces on confirmed transactions could cause additional confusion when they are send from another address they would show that account's address (incoming transfers). Although I am sure it could be made so nonce is only shown for transactions send by the address being viewed we wanted to keep it simple.
-
I couldn't think of a use case for it and thought keeping it simple would be best.
What is the use case you are thinking of that makes it helpful to see the nonces on confirmed transactions?
@314159265359879 mine is a weird use case. and with last nonce already at the top (thanks for pointing that out), we can ignore my request. :)
The use case is with a pending transaction having nonce 260, which was overridden earlier with an already confirmed transaction having same nonce.
Thank you for taking the time and for explaining! Cheers!
This issue has been resolved some time ago. closing this.