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

pump common #350

Merged
merged 1 commit into from
Oct 24, 2024
Merged

pump common #350

merged 1 commit into from
Oct 24, 2024

Conversation

vuonghuuhung
Copy link
Member

@vuonghuuhung vuonghuuhung commented Oct 24, 2024

Summary by CodeRabbit

  • New Features

    • Updated version for @oraichain/oraiswap-v3 to 0.1.22.
    • Updated version for @oraichain/oraidex-universal-swap to 1.1.16.
  • Dependency Updates

    • Enhanced dependency on @oraichain/oraidex-common to version ^1.1.27 for both packages.

@vuonghuuhung vuonghuuhung requested a review from haunv3 October 24, 2024 08:11
Copy link

coderabbitai bot commented Oct 24, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request updates the package.json files for two packages: @oraichain/oraiswap-v3 and @oraichain/oraidex-universal-swap. The version numbers for both packages have been incremented, and the dependency on @oraichain/oraidex-common has been updated to a newer version in both packages. No other changes were made to scripts or additional dependencies.

Changes

File Path Change Summary
packages/oraiswap-v3/package.json - Version updated from 0.1.21 to 0.1.22
- Dependency @oraichain/oraidex-common updated from ^1.1.23 to ^1.1.27
packages/universal-swap/package.json - Version updated from 1.1.15 to 1.1.16
- Dependency @oraichain/oraidex-common updated from ^1.1.21 to ^1.1.27

Possibly related PRs

  • bump: fix version #341: The main PR updates the dependency on @oraichain/oraidex-common in @oraichain/oraiswap-v3, while this PR also updates the same dependency in @oraichain/oraidex-universal-swap, indicating a related change in dependency management.
  • Feat/add pepe cat #335: This PR also updates the version of @oraichain/oraidex-common, which is relevant as the main PR updates the same dependency in a different package.
  • common: 1.0.92 . swap: 1.0.93 #298: This PR updates the version of @oraichain/oraidex-common and the @oraichain/oraidex-universal-swap, which is related to the main PR's update of the same dependency in @oraichain/oraiswap-v3.

Suggested reviewers

  • trungbach
  • quangdz1704

Poem

🐰 In the garden where code does bloom,
Versions rise, dispelling gloom.
Dependencies dance, a joyful sight,
Upgraded and ready, all feels right!
Hop along, let’s code and play,
With every change, we brighten the day! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@vuonghuuhung vuonghuuhung merged commit 9915667 into main Oct 24, 2024
3 checks passed
@vuonghuuhung vuonghuuhung deleted the chore/pump-common branch October 24, 2024 08:13
Copy link

badge

Code Coverage Summary

Filename                                                                      Stmts    Miss  Cover    Missing
--------------------------------------------------------------------------  -------  ------  -------  ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
docs/assets/main.js                                                              58      58  0.00%    1-58
docs/assets/search.js                                                             1       1  0.00%    1
packages/ibc-routing/hardhat.config.ts                                           59      59  0.00%    1-75
packages/ibc-routing/src/db.ts                                                  158     158  0.00%    1-263
packages/ibc-routing/src/event.ts                                                85      85  0.00%    1-122
packages/ibc-routing/src/index.ts                                                31      31  0.00%    1-56
packages/ibc-routing/src/machine.ts                                              30      30  0.00%    1-34
packages/ibc-routing/test/mock-eth-ws.ts                                         52      52  0.00%    1-55
packages/ibc-routing/test/mock-tendermint-ws.spec.ts                             25      17  32.00%   7-24
packages/oraidex-common/src/alpha-network.ts                                     61       0  100.00%
packages/oraidex-common/src/axios-request.ts                                     11      11  0.00%    1-20
packages/oraidex-common/src/bigdecimal.ts                                       139      50  64.02%   23-24, 30-33, 40-41, 45-54, 63-65, 71-73, 120-124, 127-146, 149-150, 153-154, 180-181, 184-185
packages/oraidex-common/src/celestia-network.ts                                  52       0  100.00%
packages/oraidex-common/src/constant.ts                                         170       0  100.00%
packages/oraidex-common/src/helper.ts                                           466     142  69.52%   141-142, 145-156, 159-169, 267-269, 286-293, 296-309, 319-325, 335-350, 353-360, 363-393, 396-404, 407-409, 412-414, 418-427, 436-450, 456-458, 543-544, 569-572
packages/oraidex-common/src/ibc-info.ts                                         184     184  0.00%    1-218
packages/oraidex-common/src/index.ts                                             14      14  0.00%    1-14
packages/oraidex-common/src/network.ts                                         1024       0  100.00%
packages/oraidex-common/src/pairs.ts                                            154       4  97.40%   151-152, 157-158
packages/oraidex-common/src/token.ts                                             71       0  100.00%
packages/oraidex-common/src/wallet.ts                                           146     146  0.00%    1-236
packages/oraidex-common/src/config/chainInfosWithIcon.ts                        208     208  0.00%    1-222
packages/oraidex-common/src/interface/index.ts                                    1       1  0.00%    1
packages/oraidex-common/src/interface/wallet.ts                                  19      19  0.00%    1-20
packages/oraidex-common/tests/bigdecimal.spec.ts                                220       0  100.00%
packages/oraidex-common/tests/helper.spec.ts                                    560       8  98.57%   97-98, 337-338, 628-629, 659-660
packages/oraidex-common/tests/pairs.spec.ts                                      24       0  100.00%
packages/oraiswap-v3/src/const.ts                                                11       0  100.00%
packages/oraiswap-v3/src/error.ts                                                15       6  60.00%   3-4, 9-10, 15-16
packages/oraiswap-v3/src/handler.ts                                             292      28  90.41%   63-64, 100-101, 216-217, 341-355, 358-366
packages/oraiswap-v3/src/helpers.ts                                             467     257  44.96%   122-123, 133-134, 159-160, 188-189, 199-200, 283-287, 290-297, 300-356, 359-364, 367-376, 380-436, 439-447, 450-481, 484-497, 505-545, 548-554, 557-581
packages/oraiswap-v3/src/index.ts                                                 7       0  100.00%
packages/oraiswap-v3/src/main.ts                                                 32      32  0.00%    1-67
packages/oraiswap-v3/src/types.ts                                                 9       0  100.00%
packages/oraiswap-v3/src/zap-consumer.ts                                        394     370  6.09%    80-127, 135-137, 147-174, 184-197, 215-286, 302-522, 534-581
packages/oraiswap-v3/src/wasm/oraiswap_v3_wasm.d.ts                              32      32  0.00%    469-500
packages/oraiswap-v3/src/wasm/oraiswap_v3_wasm.js                              1543     369  76.08%   32-34, 92-94, 100-101, 103-108, 113-120, 136-145, 160-223, 249-250, 278-279, 307-308, 336-337, 365-366, 394-395, 423-424, 463-464, 496-497, 525-526, 543-544, 565-579, 723-724, 748-749, 770-771, 783-786, 801-802, 832-833, 863-864, 884-885, 910-911, 929-953, 958-961, 966-969, 976-979, 984-987, 992-995, 1002-1005, 1010-1013, 1028-1031, 1036-1039, 1044-1047, 1062-1065, 1080-1083, 1088-1091, 1096-1099, 1106-1109, 1114-1117, 1122-1125, 1132-1135, 1149-1150, 1161-1164, 1170-1173, 1188-1191, 1196-1199, 1204-1207, 1214-1217, 1219-1225, 1300-1301, 1329-1330, 1333-1335, 1356-1361, 1364-1365, 1368-1372, 1386-1387, 1390-1391, 1394-1395, 1398-1399, 1402-1403, 1406-1407, 1410-1413, 1416-1417, 1420-1421, 1424-1425, 1428-1431, 1434-1437, 1444, 1447-1448, 1451-1458, 1465-1466, 1469-1470, 1473-1474, 1477, 1480-1481, 1484-1491, 1500-1504, 1507, 1510-1511
packages/oraiswap-v3/tests/handler.spec.ts                                      280       0  100.00%
packages/oraiswap-v3/tests/helpers.spec.ts                                      577       0  100.00%
packages/oraiswap-v3/tests/test-common.ts                                        97       0  100.00%
packages/oraiswap-v3/tests/wasm-bindgen.spec.ts                                 368       3  99.18%   450-452
packages/oraiswap-v3/tests/zap-consumer.spec.ts                                 209       0  100.00%
packages/universal-swap/src/handler.ts                                         1294     695  46.29%   81-82, 103-104, 119-121, 127-130, 152-157, 178-200, 280-309, 357-362, 413-433, 484-489, 536-547, 571, 573-577, 590-601, 608-623, 626-684, 695-705, 708-718, 725-732, 746-823, 827-858, 862-881, 884-901, 905-962, 967-1051, 1057-1146, 1149-1171, 1175-1181, 1214-1246, 1266-1269, 1273-1274, 1276-1277, 1283, 1347-1350, 1383-1386, 1393-1403, 1408-1428, 1469-1470, 1483-1526, 1589-1590
packages/universal-swap/src/helper.ts                                          1043     377  63.85%   92-94, 233-234, 280-285, 313-314, 325-326, 329-330, 416-437, 445-482, 496-550, 591-593, 618-624, 650-652, 656-658, 665-696, 753-754, 787-794, 801-842, 854-914, 953-954, 969, 997, 1004-1027, 1029-1030, 1072-1073, 1077-1080, 1090-1132, 1140-1156, 1215-1225, 1236-1241, 1260, 1286-1298, 1416-1427
packages/universal-swap/src/index.ts                                              6       6  0.00%    1-6
packages/universal-swap/src/swap-filter.ts                                       40       0  100.00%
packages/universal-swap/src/types.ts                                             14       0  100.00%
packages/universal-swap/src/wrapper.ts                                           79      79  0.00%    1-117
packages/universal-swap/src/msg/common.ts                                        34      12  64.70%   11-12, 16-17, 20-21, 24-25, 30-31, 33-34
packages/universal-swap/src/msg/index.ts                                          4       0  100.00%
packages/universal-swap/src/msg/msgs.ts                                         134      50  62.68%   22-23, 43-44, 67-74, 89-99, 101-104, 110-111, 125-126, 141-163
packages/universal-swap/src/msg/types.ts                                          6       0  100.00%
packages/universal-swap/src/msg/chains/chain.ts                                  20       4  80.00%   18-19, 22-23
packages/universal-swap/src/msg/chains/cosmos.ts                                111      14  87.38%   22-23, 27-28, 54-55, 59-60, 64-65, 102-103, 127-128
packages/universal-swap/src/msg/chains/index.ts                                   3       0  100.00%
packages/universal-swap/src/msg/chains/oraichain.ts                             412      77  81.31%   39-40, 50-51, 73-96, 124-130, 147, 200, 289, 439-462, 494-511
packages/universal-swap/src/msg/chains/osmosis.ts                               232     117  49.56%   27-28, 38-39, 78-79, 96, 112-117, 133, 147-165, 169-174, 213-305
packages/universal-swap/src/proto/index.ts                                        1       1  0.00%    1
packages/universal-swap/src/proto/universal-swap-memo-proto-handler.ts           66      60  9.09%    21-46, 50-91
packages/universal-swap/src/proto/universal_swap_memo.ts                        911     727  20.19%   110-112, 135-183, 186-193, 196-213, 216-217, 219-230, 233-235, 246-266, 269-274, 277-282, 285-286, 288-291, 294-296, 300-304, 307-327, 330-333, 336-341, 344-345, 347-350, 353-355, 359-366, 369-396, 399-405, 408-416, 419-420, 422-426, 429-431, 448-482, 485-490, 493-504, 507-508, 510-515, 518-520, 531-532, 537-571, 574-583, 586-597, 600-601, 603-613, 616-618, 629-630, 638-679, 682-690, 693-707, 710-711, 713-727, 730-732, 755-803, 806-813, 816-833, 836-837, 839-846, 849-851, 865-866, 874-922, 925-932, 935-952, 955-956, 958-965, 968-970, 974-981, 984-1011, 1014-1018, 1021-1029, 1032-1033, 1035-1039, 1042-1044, 1055-1075, 1078-1079, 1082-1087, 1090-1091, 1093-1096, 1111-1119, 1122-1128
packages/universal-swap/src/universal-demos/alpha-ibc-new.ts                    118     118  0.00%    1-129
packages/universal-swap/src/universal-demos/alpha-smart-router.ts               117     117  0.00%    1-126
packages/universal-swap/src/universal-demos/decode-memo.ts                       13      13  0.00%    1-14
packages/universal-swap/src/universal-demos/evm-to-evm.ts                        52      52  0.00%    1-68
packages/universal-swap/src/universal-demos/from-cosmos-to-evm.ts                41      41  0.00%    1-53
packages/universal-swap/src/universal-demos/from-oraichain-to-evm.ts             42      42  0.00%    1-62
packages/universal-swap/src/universal-demos/from-oraichain-to-oraichain.ts       49      49  0.00%    1-66
packages/universal-swap/src/universal-demos/handle-simulate-swap.ts              31      31  0.00%    1-35
packages/universal-swap/src/universal-demos/ibc-hooks-demo.ts                    40      40  0.00%    1-55
packages/universal-swap/src/universal-demos/neutaro-ibc-demo.ts                  40      40  0.00%    1-47
packages/universal-swap/src/universal-demos/noble-ibc-demo.ts                    41      41  0.00%    1-45
packages/universal-swap/src/universal-demos/offline-wallet.ts                    19      19  0.00%    1-21
packages/universal-swap/tests/helper.spec.ts                                    750      24  96.80%   379, 1003-1025
packages/universal-swap/tests/index.spec.ts                                    1753      30  98.28%   240-243, 286-287, 292-293, 295-296, 298-299, 1141-1160
packages/universal-swap/tests/smart-router-common.ts                            864       0  100.00%
packages/universal-swap/tests/test-common.ts                                     56       0  100.00%
packages/universal-swap/tests/msg/comos-msg.spec.ts                             208       0  100.00%
packages/universal-swap/tests/msg/msgs.spec.ts                                  580       0  100.00%
packages/universal-swap/tests/msg/oraichain-msg.spec.ts                         689       2  99.70%   115-116
packages/universal-swap/tests/msg/osmosis-msg.spec.ts                           357       0  100.00%
packages/universal-swap/tests/msg/test-data.ts                                    8       8  0.00%    1-9
TOTAL                                                                         18634    5261  71.76%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: 7f199f1

Minimum allowed coverage is 0%

♻️ This comment has been updated with latest results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants