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

Data in brackets is abnormal. #437

Closed
FrederLu opened this issue Sep 20, 2023 · 5 comments
Closed

Data in brackets is abnormal. #437

FrederLu opened this issue Sep 20, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@FrederLu
Copy link

There is data in the tab list on the script page, but 0 is displayed in the brackets.
https://pudge.explorer.nervos.org/script/0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8/type?page=1&size=10
image
image
image

@FrederLu FrederLu added the bug Something isn't working label Sep 20, 2023
@rabbitz
Copy link

rabbitz commented Sep 20, 2023

The general_info interface statistics time is too long, causing the displayed value to be empty. Fields have now been added and recorded through regularly updated statistics, which has been deployed in the staging.

@FrederLu
Copy link
Author

The general_info interface statistics time is too long, causing the displayed value to be empty. Fields have now been added and recorded through regularly updated statistics, which has been deployed in the staging.

Does this data require front-end processing if it uses cached data?
It is normal to open https://pudge.explorer.nervos.org/script/0xc5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a4/type in the same way. Has the cached data been used?

@rabbitz
Copy link

rabbitz commented Sep 20, 2023

The current statistical values are ckb_transactions_count, deployed_cells_count, referring_cells_count, total_deployed_cells_capacity, total_referring_cells_capacity. The statistics refresh is 1 hour. If you feel it is too slow, scheduled tasks can be adjusted. ckb_transactions_count, deployed_cells_count, referring_cells_count also have corresponding total_count in the separate interface return, which can also be taken from it.

image

@Danie0918 Danie0918 assigned rabbitz and unassigned Danie0918 Sep 21, 2023
@FrederLu FrederLu assigned FrederLu and unassigned rabbitz Sep 22, 2023
@rabbitz
Copy link

rabbitz commented Sep 22, 2023

Related PR: nervosnetwork/ckb-explorer#1456

@FrederLu
Copy link
Author

Related PR: nervosnetwork/ckb-explorer#1456

Verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants