-
Notifications
You must be signed in to change notification settings - Fork 56
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 api query getFungibleAssetActivities #78
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
a89c042
to
bea632b
Compare
@@ -19,4 +19,23 @@ describe("FungibleAsset", () => { | |||
expect(data[0]).toHaveProperty("asset_type"); | |||
expect(data[0].asset_type).toEqual(APT_COIN_TYPE); | |||
}); | |||
|
|||
test("it should fetch fungible asset activities with correct number and asset type ", async () => { | |||
const config = new AptosConfig({ network: Network.LOCAL }); |
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 declare all those repated variables (config, aptos, APT_COIN_TYPE, etc) at the top of the file
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.
Good call. I will address this part in the next PR on the stack, so there won't be conflict.
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.
left comments
2402520
to
6ab7b88
Compare
5efb885
to
dcb4c06
Compare
Update - Fixed most part from comments. Will address the repeated use of same const variable in the next(last) PR in the stack |
6ab7b88
to
7078921
Compare
dcb4c06
to
0aa86bf
Compare
0aa86bf
to
8dee394
Compare
8dee394
to
deff2e2
Compare
Description
Add getFungibleAssetActivities api query
Test Plan
pnpm test
pnpm fmt
Related Links