Skip to content
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

Tooltip Mislabeling Transaction Timestamp on explorer.zksync.io #353

Open
bxpana opened this issue Dec 4, 2024 · 1 comment
Open

Tooltip Mislabeling Transaction Timestamp on explorer.zksync.io #353

bxpana opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something isn't working frontend Task requires changes to the frontend implementation

Comments

@bxpana
Copy link

bxpana commented Dec 4, 2024

🐛 Bug Report

📝 Description

There is an inconsistency between the transaction timestamps displayed on explorer.zksync.io and the tooltip description. The timestamp shown for each transaction represents the receivedAt time (when the transaction was received by the network), but the tooltip indicates that this time reflects when the transaction was added to the block. This mismatch can lead to confusion about the transaction’s confirmation status and timing.

🔄 Reproduction Steps

example: https://block-explorer-api.mainnet.zksync.io/transactions?address=0x5442feef7948775bDbc653D07eb9756d0Edddf47&limit=4&page=1&toDate=2024-12-02T10%3A41%3A51.059Z

🤔 Expected Behavior

  • The tooltip should accurately describe the timestamp as the time the transaction was received by the network (receivedAt), not when it was added to a block.
  • Alternatively, if the tooltip indicates the time when the transaction was added to the block, the displayed timestamp should reflect the actual block confirmation time.

😯 Current Behavior

  • The displayed timestamp shows the receivedAt time.
  • The tooltip incorrectly states that this time represents when the transaction was added to the block.
  • Transactions appear out of order based on their nonces and timestamps.
  • Other block explorers (e.g., ZKSync Etherscan) display the transaction confirmation time correctly, showing a different (and more recent) timestamp for the same transaction.

🖥️ Environment

Any relevant environment details.

📋 Additional Context

A temporary change was made to the label and tooltip to better explain that the value represents the receivedAt time.

📎 Log Output

Paste any relevant log output here.
@bxpana bxpana added the bug Something isn't working label Dec 4, 2024
@tx-nikola tx-nikola self-assigned this Dec 24, 2024
@tx-nikola tx-nikola added the frontend Task requires changes to the frontend implementation label Dec 24, 2024
@tx-nikola tx-nikola removed their assignment Dec 24, 2024
@tx-nikola
Copy link
Contributor

I see that the tooltip says "The date and time when the transaction was received".
Was this issue fixed in this PR? @vasyl-ivanchuk
If yes, let's close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Task requires changes to the frontend implementation
Projects
None yet
Development

No branches or pull requests

2 participants