This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
randomshinichi
force-pushed
the
check-metadata
branch
from
February 15, 2024 09:43
4b6a0de
to
0194c36
Compare
… and Name, Symbol with Metaplex metadata (token 2022 not ready yet)
…k RPC calling and missing token metadata trickledown instead of throwing loud errors
moved to metadata.ts newTokensHaveMatchinOnchainMeta() untested
… runner should solve this, but for now just move tests to a different file and use vitest for testing and normal TS for running. newTokensHaveMatchinOnchainMeta() now throws an error if an address is provided that isn't a mint.
randomshinichi
force-pushed
the
check-metadata
branch
from
February 16, 2024 09:47
ad10e11
to
eb6d07e
Compare
9yoi
previously approved these changes
Feb 16, 2024
vishalsinghji
pushed a commit
to vishalsinghji/token-list
that referenced
this pull request
May 25, 2024
* WIP newTokensHaveMatchingOnchainMeta() checks decimals against Solana and Name, Symbol with Metaplex metadata (token 2022 not ready yet) * newTokensHaveMatchingOnchainMeta() works with unittests for findAddedTokens() * removed dummy data in newTokensHaveMatchingOnchainMeta() * working Token2022, Token+metaplex fetching. going to refactor for bulk RPC calling and missing token metadata trickledown instead of throwing loud errors * Token metadata getting works and is robust with unittests moved to metadata.ts newTokensHaveMatchinOnchainMeta() untested * token metadata validation is good to go * inlined tests were messing up typescript compilation. using vite as a runner should solve this, but for now just move tests to a different file and use vitest for testing and normal TS for running. newTokensHaveMatchinOnchainMeta() now throws an error if an address is provided that isn't a mint. * add WHALES as exception for duplicate-symbols check --------- Co-authored-by: mei <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sample output (from unittests)