-
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
Interface icx_createorder
RPC
#398
Conversation
Code Climate has analyzed commit 0a50bfc and detected 0 issues on this pull request. View more on Code Climate. |
✔️ Deploy Preview for jellyfish-defi ready! 🔨 Explore the source changes: 0a50bfc 🔍 Inspect the deploy log: https://app.netlify.com/sites/jellyfish-defi/deploys/60d94ff57c2f5600079c12f0 😎 Browse the preview: https://deploy-preview-398--jellyfish-defi.netlify.app |
size-limit report 📦
|
Codecov Report
@@ Coverage Diff @@
## main #398 +/- ##
==========================================
+ Coverage 97.30% 97.31% +0.01%
==========================================
Files 95 96 +1
Lines 2778 2793 +15
Branches 351 354 +3
==========================================
+ Hits 2703 2718 +15
Misses 75 75
Continue to review full report at Codecov.
|
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.
initial code style comments, haven't checked it detaily yet
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
1927421
to
c4349f8
Compare
packages/jellyfish-api-core/__tests__/category/icxorderbook/common.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.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.
A few JS testing style notes
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/common.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.
should specify the chain in your it('')
for better clarify, making it easier to read
anyway love the code and test consistency!
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
4ab2c2c
to
6214b30
Compare
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.
overall good.. just minor
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
packages/jellyfish-api-core/__tests__/category/icxorderbook/createOrder.test.ts
Outdated
Show resolved
Hide resolved
9f5d7c2
to
920aeec
Compare
What kind of PR is this?:
/kind feature
What this PR does / why we need it:
This PR will interface
icx_createorder
RPC to jellyfishWhich issue(s) does this PR fixes?:
Fixes #
Additional comments?:
Refer following resources to learn how ICX works
https://github.com/DeFiCh/pinkpaper/tree/main/interchain-exchange
https://github.com/DeFiCh/pinkpaper/blob/main/interchain-exchange/fees.md
https://github.com/DeFiCh/ain/wiki/Interchain-Exchange-Tutorial