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

Rc/0.31.0 #614

Merged
merged 215 commits into from
Oct 11, 2023
Merged

Rc/0.31.0 #614

merged 215 commits into from
Oct 11, 2023

Conversation

majusko
Copy link
Member

@majusko majusko commented Oct 5, 2023

No description provided.

goncer and others added 30 commits May 26, 2023 11:33
Co-authored-by: Misha Kolesnik <[email protected]>
Dedicated api for FE team, so they dont have to reimplement feelock
logic
majusko and others added 21 commits September 7, 2023 10:35
- New functionality where the pools and assets will never be deleted and instead we will accept empty pools and make our storage history consistent
As agreed this PR introduces number of api breaking changes:
- `XYKRpcResult` is removed
- `RPCAmountsResult` is removed
- `calculate_sell_price` : returns `RpcResult<Balance>` instead of
`RpcResult<XYKRpcResult>`
- `calculate_buy_price` : returns `RpcResult<Balance>` instead of
`RpcResult<XYKRpcResult>`
- `calculate_sell_price_id` : returns `RpcResult<Balance>` instead of
`RpcResult<XYKRpcResult>`
- `calculate_buy_price_id` : returns `RpcResult<Balance>` instead of
`RpcResult<XYKRpcResult>`
- `get_burn_amount` : returns `RpcResult<(Balance,Balance)>` instead of
`RpcResult<RPCAmountsResult>`
- `get_max_instant_burn_amount` : returns `RpcResult<Balance>` instead
of `RpcResult<XYKRpcResult>`
- `get_max_instant_unreserve_amount` : returns `RpcResult<Balance>`
instead of `RpcResult<XYKRpcResult>`
- `calculate_rewards_amount` : returns `RpcResult<Balance>` instead of
`RpcResult<XYKRpcResult>`
- `calculate_Balanced_sell_amount` :
    * returns `RpcResult<Balance>` instead of `RpcResult<XYKRpcResul>`
* `total_amount` parameter type change from `Balance` to `NumberOrHex`
* `reserve_amount` parameter type change from `Balance` to `NumberOrHex`
- `is_buy_asset_lock_free`: `input_amount` type changed from `Balance`
to `NumberOrHex`
- `is_sell_asset_lock_free`: `input_amount` type changed from `Balance`
to `NumberOrHex`
now sdk validates node version. bumped to 18.16.1
Add yarn test-sdk
@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@24d4304). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #614   +/-   ##
=======================================
  Coverage        ?   50.06%           
=======================================
  Files           ?       29           
  Lines           ?     4067           
  Branches        ?        0           
=======================================
  Hits            ?     2036           
  Misses          ?     2031           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@tenequm tenequm left a comment

Choose a reason for hiding this comment

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

lgtm

@github-actions github-actions bot temporarily deployed to dev October 5, 2023 19:30 Destroyed
@majusko majusko merged commit ff32e19 into main Oct 11, 2023
111 of 130 checks passed
@majusko majusko deleted the rc/0.31.0 branch October 11, 2023 19:20
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.

7 participants