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
404 page for not found Block. #36
Comments
@acravenho I've updated the description and added a suggestion for the block details page in the scenario described by this issue. WDYT? I've also left a question. |
@gfreh I think that looks good. I'm not sure I understand the question. As far as differentiating the design, yes, we should have the design different so the user knows this block doesn't really exist yet. |
@acravenho By differentiating, I mean having a different message when the block is in the past, but we haven't indexed it yet vs. when the block is in the future. Not sure if that makes sense, though 😅 |
🤔 Yes, you're right. That would make sense. It's pretty easy and inexpensive to run the query for the tip of the chain. If below the tip we should provide the exact message that you have above. |
Nice! Do you have a suggestion for the message in the case the block number is above the tip? |
😆 "Easy Cowboy! This block doesn't exist yet!" |
I'll work on this one |
@acravenho If i'm trying to access a not-indexed block by its hash, should I show that the block is not processed yet or that it does not exist? |
Update to handle new transaction fields
update theme color
If the user navigates to the Block details page for a block that we have not indexed or is in the future we should show the block details page with the message that this block has not been processed yet.
Example:
Both links below show the block details page for a block that is the future, as seen on Etherscan and BlockScout:
Etherscan:
https://etherscan.io/block/125127248
BlockScout:
https://www.blockscout.com/eth/mainnet/blocks/125127248/transactions
Acceptance Criteria
The block details page for a block that we have not indexed yet or that is in the future should show no block related information, but just a message based on the following criteria:
The image below is an example of how that page should be for the first case:
The text was updated successfully, but these errors were encountered: