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

Interface icx_listorders RPC #402

Merged
merged 4 commits into from
Jul 2, 2021
Merged

Interface icx_listorders RPC #402

merged 4 commits into from
Jul 2, 2021

Conversation

surangap
Copy link
Contributor

What kind of PR is this?:

/kind feature

What this PR does / why we need it:

This PR will interface icx_listorders RPC to jellyfish

Which issue(s) does this PR fixes?:

Fixes #

Additional comments?:

depends on #401

@defichain-bot defichain-bot added the kind/feature New feature request label Jun 21, 2021
@surangap surangap marked this pull request as ready for review June 22, 2021 06:24
@surangap surangap force-pushed the surangap/icx-getorder branch from cd8d2c5 to 3c57adb Compare June 23, 2021 16:46
@surangap surangap force-pushed the surangap/icx-listorders branch from 440bb01 to b9a0805 Compare June 23, 2021 16:47
@surangap surangap mentioned this pull request Jun 29, 2021
30 tasks
@surangap surangap force-pushed the surangap/icx-getorder branch from 3c57adb to 7f3c9eb Compare June 30, 2021 06:37
@surangap surangap requested a review from ivan-zynesis as a code owner June 30, 2021 06:37
@surangap surangap force-pushed the surangap/icx-getorder branch from 7f3c9eb to 40f7070 Compare June 30, 2021 10:56
@surangap surangap requested review from aikchun and siradji as code owners June 30, 2021 10:56
Base automatically changed from surangap/icx-getorder to main June 30, 2021 18:47
@codeclimate
Copy link

codeclimate bot commented Jul 1, 2021

Code Climate has analyzed commit c7e11ac and detected 0 issues on this pull request.

View more on Code Climate.

@netlify
Copy link

netlify bot commented Jul 1, 2021

✔️ Deploy Preview for jellyfish-defi ready!

🔨 Explore the source changes: c7e11ac

🔍 Inspect the deploy log: https://app.netlify.com/sites/jellyfish-defi/deploys/60dee6daa5901300077c4c7a

😎 Browse the preview: https://deploy-preview-402--jellyfish-defi.netlify.app

@github-actions
Copy link

github-actions bot commented Jul 1, 2021

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/jellyfish/dist/index.umd.js 21.08 KB (+0.1% 🔺) 422 ms (+0.1% 🔺) 193 ms (+1.34% 🔺) 615 ms

@surangap surangap requested a review from canonbrother July 1, 2021 06:37
@BirthdayResearch BirthdayResearch deleted a comment from surangap Jul 1, 2021
@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Merging #402 (c7e11ac) into main (4487e31) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #402      +/-   ##
==========================================
+ Coverage   97.34%   97.36%   +0.01%     
==========================================
  Files          96       96              
  Lines        2826     2841      +15     
  Branches      285      285              
==========================================
+ Hits         2751     2766      +15     
  Misses         75       75              
Impacted Files Coverage Δ
...es/jellyfish-api-core/src/category/icxorderbook.ts 100.00% <100.00%> (ø)
...ellyfish-transaction/src/buffer/buffer_composer.ts 99.51% <0.00%> (+<0.01%) ⬆️
packages/jellyfish-transaction/src/tx_composer.ts 80.16% <0.00%> (+1.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4487e31...c7e11ac. Read the comment docs.

@BirthdayResearch BirthdayResearch deleted a comment from surangap Jul 1, 2021
@surangap surangap force-pushed the surangap/icx-listorders branch from f43bb2d to 623f054 Compare July 2, 2021 08:59
@@ -81,6 +81,59 @@ describe('ICXOrderBook.closeOffer', () => {
expect(accountBTCAfterOfferClose).toStrictEqual(accountBTCBeforeOffer)
})

// NOTE(surangap): This test is failing.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mihailo is looking into this

@surangap surangap force-pushed the surangap/icx-listorders branch from 623f054 to 64723ac Compare July 2, 2021 09:14
@surangap surangap requested a review from fuxingloh July 2, 2021 09:39
Copy link
Contributor

@fuxingloh fuxingloh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor JS/TS code details for change

website/docs/jellyfish/api/icxorderbook.md Outdated Show resolved Hide resolved
packages/jellyfish-api-core/src/category/icxorderbook.ts Outdated Show resolved Hide resolved
@surangap surangap force-pushed the surangap/icx-listorders branch from 64723ac to c7e11ac Compare July 2, 2021 10:13
@surangap surangap requested a review from fuxingloh July 2, 2021 10:14
@fuxingloh fuxingloh enabled auto-merge (squash) July 2, 2021 13:53
@fuxingloh fuxingloh disabled auto-merge July 2, 2021 15:35
@fuxingloh fuxingloh merged commit b546333 into main Jul 2, 2021
@fuxingloh fuxingloh deleted the surangap/icx-listorders branch July 2, 2021 15:35
canonbrother pushed a commit that referenced this pull request Jun 1, 2022
* Bump @defichain/jellyfish dependencies

* fixed package-lock.json

Co-authored-by: Fuxing Loh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants