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

feat(adex-cli): enable, get-enabled, orderbook, sell, buy provided #1768

Merged
merged 62 commits into from
Jun 21, 2023

Conversation

rozhkovdmitrii
Copy link

@rozhkovdmitrii rozhkovdmitrii commented Apr 25, 2023

This PR introduces new commands that adex-cli supports:

  • enable
  • get-enabled
  • orderbook
  • sell
  • buy

adex-cli Dependency Updates:

Updated:

mm2 Cargo.lock
clap 2.34.0 -> 4.2.7 2.33.0
hashbrown 0.9.1 -> 0.12.3 0.11.2,0.12.1,0.13.2
hashlink 0.6.0 -> 0.8.3 0.8.2
strsim 0.8.0 -> 0.10.0 0.8.0
wasm-bindgen 0.2.80 -> 0.2.87 0.2.86
wasm-bindgen-backend 0.2.80 -> 0.2.87 0.2.86
wasm-bindgen-macro 0.2.80 -> 0.2.87 0.2.86
wasm-bindgen-macro-support 0.2.80 -> 0.2.87 0.2.86
wasm-bindgen-shared 0.2.80 -> 0.2.87 0.2.86

New:

mm2 Cargo.lock
allocator-api2 0.2.15
anstream 0.3.2
anstyle 1.0.0
anstyle-parse 0.2.0
anstyle-query 1.0.0
anstyle-wincon 1.0.1
arrayvec 0.5.2 0.5.1,0.7.1
bigdecimal 0.3.1 0.3.0
blake2b_simd 0.5.11 0.5.10
clap_builder 4.2.7
clap_derive 4.2.0
colorchoice 1.0.0
directories 5.0.1 3.0.2
dirs-sys 0.4.1 0.3.6
errno 0.3.1 0.2.8
hashbrown 0.14.0 0.11.2,0.12.1,0.13.2
heck 0.4.1 0.4.0
hermit-abi 0.3.1 0.1.14
io-lifetimes 1.0.11 1.0.6
is-terminal 0.4.7
keccak 0.1.4 0.1.0
linux-raw-sys 0.3.8 0.1.4
num-rational 0.4.1 0.4.0
option-ext 0.2.0
paste 1.0.12 1.0.7
portable-atomic 1.3.3 1.3.2
redox_users 0.4.3 0.3.4, 0.4.0
rustix 0.37.20 0.36.9
utf8parse 0.2.1

@rozhkovdmitrii rozhkovdmitrii added the in progress Changes will be made from the author label Apr 25, 2023
@rozhkovdmitrii rozhkovdmitrii force-pushed the feature-1682-interoperating branch 6 times, most recently from f59ead6 to f2622c9 Compare May 2, 2023 08:09
@rozhkovdmitrii rozhkovdmitrii added under review and removed in progress Changes will be made from the author labels May 4, 2023
@rozhkovdmitrii rozhkovdmitrii marked this pull request as ready for review May 4, 2023 15:44
@rozhkovdmitrii rozhkovdmitrii changed the title 1682 get orderbook 1682 enable, get-enabled, orderbook, sell, buy comands provided by adex-cli May 4, 2023
@rozhkovdmitrii rozhkovdmitrii self-assigned this May 5, 2023
@onur-ozkan
Copy link
Member

onur-ozkan commented May 8, 2023

Can you update the PR description what this pr resolves and whats it's exact goal? That will help us to review the PR

Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thank you for the amazing work!
The PR is quite big so I will do this review in multiple small iterations to try to cover as much of the code as I can by the end. Only a few suggestions and opening some points to discussion at this stage of the review.

mm2src/mm2_rpc/src/legacy.rs Outdated Show resolved Hide resolved
mm2src/adex_cli/src/adex_proc/smart_fraction_fmt.rs Outdated Show resolved Hide resolved
mm2src/adex_cli/src/adex_app.rs Outdated Show resolved Hide resolved
mm2src/adex_cli/src/adex_proc/adex_proc.rs Outdated Show resolved Hide resolved
mm2src/adex_cli/src/adex_proc/adex_proc.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Next review iteration! I finished reviewing all code changes unrelated to adex_cli.
Please also merge with latest dev.

mm2src/adex_cli/Cargo.lock Outdated Show resolved Hide resolved
mm2src/mm2_rpc/src/data/legacy.rs Show resolved Hide resolved
mm2src/common/io.rs Outdated Show resolved Hide resolved
mm2src/mm2_rpc/src/data/legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_rpc/src/data/legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_rpc/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Member

@onur-ozkan onur-ozkan left a comment

Choose a reason for hiding this comment

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

Last review iteration from my side:

mm2src/mm2_rpc/Cargo.toml Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/ordermatch_tests.rs Show resolved Hide resolved
mm2src/common/io.rs Outdated Show resolved Hide resolved
shamardy
shamardy previously approved these changes Jun 21, 2023
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your patience with the fixes! LGTM! Only 2 minor non-blockers.

mm2src/adex_cli/src/cli.rs Outdated Show resolved Hide resolved
mm2src/adex_cli/src/adex_proc/response_handler.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Re-approve

@shamardy shamardy merged commit 8fd29ec into dev Jun 21, 2023
@shamardy shamardy deleted the feature-1682-interoperating branch June 21, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants