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/recover intepreters #239

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

perfogic
Copy link
Member

Why:

  • Handling for backing up intepreters when server is down

How:

@perfogic perfogic changed the base branch from main to refactor/ibc-routing April 12, 2024 10:07
@perfogic perfogic merged commit ab6cf72 into refactor/ibc-routing Apr 12, 2024
1 check passed
@perfogic perfogic deleted the feat/recover-intepreters branch April 12, 2024 10:07
Copy link

badge

Code Coverage Summary

Filename                                                                           Stmts    Miss  Cover    Missing
-------------------------------------------------------------------------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------------------------------------------------------
packages/ibc-routing/src/constants.ts                                                 22       0  100.00%
packages/ibc-routing/src/db.ts                                                        49      11  77.55%   84, 134-151, 161-162
packages/ibc-routing/src/utils/marshal.ts                                             20       4  80.00%   19-21, 31
packages/ibc-routing/src/utils/protobuf.ts                                             6       0  100.00%
packages/oraidex-common-ui/src/components/TVChartContainer/helpers/constants.ts        6       0  100.00%
packages/oraidex-common-ui/src/components/TVChartContainer/helpers/utils.ts           33       2  93.93%   23-24
packages/oraidex-common/src/bigdecimal.ts                                             80      29  63.75%   23, 40, 45-53, 120-153, 173-177
packages/oraidex-common/src/constant.ts                                              122       0  100.00%
packages/oraidex-common/src/helper.ts                                                249      79  68.27%   141, 145-146, 162-167, 265-267, 275-287, 297-301, 324-328, 332-334, 352-371, 375-382, 386-387, 391-392, 397-405, 415-425, 435-436, 480-489, 494-497, 529, 555
packages/oraidex-common/src/network.ts                                                17       0  100.00%
packages/oraidex-common/src/pairs.ts                                                  27       2  92.59%   151, 157
packages/oraidex-common/src/token.ts                                                  27       0  100.00%
packages/universal-swap/src/handler.ts                                               286     163  43.00%   58, 80, 95-96, 103-106, 117-118, 148-168, 248-277, 288-400, 406-663, 672-677, 697, 716, 732-738, 771, 790, 836
packages/universal-swap/src/helper.ts                                                341      70  79.47%   75-76, 206, 341, 348, 361-364, 458, 467-505, 538, 589, 606, 634, 641-664, 698, 702, 722-755, 840-849, 861-866, 885, 912
packages/universal-swap/src/swap-filter.ts                                            11       0  100.00%
packages/universal-swap/src/types.ts                                                   2       0  100.00%
packages/universal-swap/src/proto/proto-gen.ts                                        13       0  100.00%
TOTAL                                                                               1311     360  72.54%

Diff against main

Filename                                      Stmts    Miss  Cover
------------------------------------------  -------  ------  --------
packages/ibc-routing/src/constants.ts           +22       0  +100.00%
packages/ibc-routing/src/db.ts                  +49     +11  +77.55%
packages/ibc-routing/src/utils/marshal.ts       +20      +4  +80.00%
packages/ibc-routing/src/utils/protobuf.ts       +6       0  +100.00%
packages/oraidex-common/src/constant.ts          +1       0  +100.00%
packages/oraidex-common/src/helper.ts            +4     +11  -3.97%
packages/universal-swap/src/helper.ts            -4       0  -0.24%
TOTAL                                           +98     +26  +0.08%

Results for commit: 124117b

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.

1 participant