-
Notifications
You must be signed in to change notification settings - Fork 37
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
Added listBurnHistory RPC #444
Conversation
✔️ Deploy Preview for jellyfish-defi ready! 🔨 Explore the source changes: 1565440 🔍 Inspect the deploy log: https://app.netlify.com/sites/jellyfish-defi/deploys/60f969144333a900074c8a99 😎 Browse the preview: https://deploy-preview-444--jellyfish-defi.netlify.app |
Code Climate has analyzed commit 1565440 and detected 0 issues on this pull request. View more on Code Climate. |
size-limit report 📦
|
Codecov Report
@@ Coverage Diff @@
## main #444 +/- ##
=======================================
Coverage 97.31% 97.31%
=======================================
Files 105 105
Lines 3052 3056 +4
Branches 378 379 +1
=======================================
+ Hits 2970 2974 +4
Misses 82 82
Continue to review full report at Codecov.
|
packages/jellyfish-api-core/__tests__/category/account/listBurnHistory.test.ts
Outdated
Show resolved
Hide resolved
… of the history. Uses indexes in order to test correct order of transactions
…/rpc_accounts/listBurnHistory
Co-authored-by: Suraj Auwal <[email protected]>
…o block generation
packages/jellyfish-api-core/__tests__/category/account/listBurnHistory.test.ts
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/account/listBurnHistory.test.ts
Outdated
Show resolved
Hide resolved
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.
that still have the duplicated tests but since its added i just ignore it
overall i'm good
Are you talking about the filter by token type @canonbrother ? |
yes the |
you're right, let me fix it |
packages/jellyfish-api-core/__tests__/category/account/listBurnHistory.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/account/listBurnHistory.test.ts
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/account/listBurnHistory.test.ts
Outdated
Show resolved
Hide resolved
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.
For assertions that uses .every
, since the return type is a boolean, we should probably use .toBe(true)
or .toStrictEqual(true)
, instead of toBeTruthy
to be more definitive on what we're testing for.
…/rpc_accounts/listBurnHistory
What kind of PR is this?:
/kind feature
What this PR does / why we need it:
Adds listBurnHistory RPC
Which issue(s) does this PR fixes?:
Fixes missing RPC implementation in #48