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

Transactions repeated on xUDT/Inscription page when filtered by BTC address #610

Closed
Keith-CY opened this issue Apr 8, 2024 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Keith-CY
Copy link
Member

Keith-CY commented Apr 8, 2024

Page: https://pudge.explorer.nervos.org/xudt/0x7337d2075479d5c6789564516be1db11478e1d3ca70ad88050fe0bf3ff05acc2?filter=tb1ppavy0ekqk3mur37zvhqje0smauqa523tnrccynzlya5hkxy75nrqcfntth

image

This is probably caused by multiple CKB addresses are mapped to the same BTC address, and these CKB addresses are revealed in the same transaction, so this transaction is loaded multiple times by different CKB addresses.

E.g. CKB Addresses A, B, C are all mapped to BTC address D, when the transaction list is filtered by D, it's actually filtered by A | B | C. If there is a transaction like

A -> C
B -> C

It will be indexed by A, B, C, respectively, thus 3 transactions are returned.

@Keith-CY Keith-CY added the bug Something isn't working label Apr 8, 2024
@rabbitz
Copy link

rabbitz commented Apr 9, 2024

@Keith-CY
Copy link
Member Author

Is this fix ready for testnet?

@rabbitz
Copy link

rabbitz commented Apr 10, 2024

Is this fix ready for testnet?

It has been deployed to the testnet.

@FrederLu
Copy link

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
Status: ✅ Done
Development

No branches or pull requests

3 participants