-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add new api getFungibleAssetMetadata #73
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
ff1b95f
to
2402520
Compare
@@ -106,6 +111,7 @@ applyMixin(Aptos, Coin, "coin"); | |||
applyMixin(Aptos, Collection, "collection"); | |||
applyMixin(Aptos, Event, "event"); | |||
applyMixin(Aptos, Faucet, "faucet"); | |||
applyMixin(Aptos, FungibleAsset, "fungible_asset"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's avoid snake case and have everything use camelcase. I'm going to change the rest but it ends up with a lot of conflicts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm wait, thats the class name, I think it make sense for snake case? Similar to TransactionSubmission
on line 109
2402520
to
6ab7b88
Compare
6ab7b88
to
7078921
Compare
test("it should fetch fungible asset metadata", async () => { | ||
const config = new AptosConfig({ network: Network.LOCAL }); | ||
const aptos = new Aptos(config); | ||
const APT_COIN_TYPE = "0x1::aptos_coin::AptosCoin"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i assume you'll handle this somewhere in pr stack
Description
Add the new query getFungibleAssetMetadata.
Note: This time I am modifying on how we construct the function in
/internal
Please take a lookTest Plan
pnpm fmt
pnpm lint
pnpm test
Related Links