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

[fungible asset migration] Map fungible asset to their v1 type #519

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

bowenyang007
Copy link
Collaborator

@bowenyang007 bowenyang007 commented Sep 24, 2024

Summary

For accounts that only have v2 fungible asset, the asset type will show up as fa address instead of legacy coin (0xa instead of 0x1 apt). This creates an issue for anyone querying for 0x1. This PR standardizes asset type by ensuring that 0xa maps to 0x1.

Backfill

When first v2 only apt was created.
Testnet: 2598047902
Mainnet: 1669115601

Testing

before
image

after
image

@bowenyang007 bowenyang007 changed the title aa fix [fungible asset migration] Map fungible asset to their v1 type Sep 24, 2024
@bowenyang007 bowenyang007 merged commit 2f3b34d into main Sep 25, 2024
7 checks passed
@bowenyang007 bowenyang007 deleted the aa_fix branch September 25, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants