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

Remove CollateralCurrencyIds from module-cdp-engine #2096

Merged
merged 11 commits into from
May 10, 2022

Conversation

syan095
Copy link
Contributor

@syan095 syan095 commented May 8, 2022

A list of valid collateral currencies are obtained from configured currency parameters
Added ACA as collateral in Mandala. This needs to be configured after upgrade.

Closes #2069

Roy Yang and others added 8 commits May 3, 2022 13:18
Updated tests and configs accordingly
Now uses CollateralParams to determine valid collateral currencies.
…rrencyIds

* origin/master:
  add xcm instruction RefundSurplus after Transact (#2088)
  rm dex share duplicate code (#2089)
  precompile (#2049)
  Remove honzon global paramter (#2071)
  update orml (#2077)
  Auto publish predeploy contracts (#2076)

# Conflicts:
#	modules/cdp-engine/src/lib.rs
#	modules/cdp-engine/src/tests.rs
#	runtime/acala/src/lib.rs
@codecov
Copy link

codecov bot commented May 9, 2022

Codecov Report

Merging #2096 (4909ecd) into master (42f41c8) will increase coverage by 0.19%.
The diff coverage is 96.42%.

❗ Current head 4909ecd differs from pull request most recent head 418427e. Consider uploading reports for the commit 418427e to get more accurate results

@@            Coverage Diff             @@
##           master    #2096      +/-   ##
==========================================
+ Coverage   86.45%   86.64%   +0.19%     
==========================================
  Files          99       98       -1     
  Lines       21240    21141      -99     
==========================================
- Hits        18362    18317      -45     
+ Misses       2878     2824      -54     
Impacted Files Coverage Δ
modules/honzon/src/lib.rs 70.78% <0.00%> (ø)
modules/cdp-engine/src/lib.rs 75.47% <94.59%> (+0.47%) ⬆️
modules/cdp-engine/src/tests.rs 100.00% <100.00%> (ø)
primitives/src/currency.rs

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42f41c8...418427e. Read the comment docs.

@syan095 syan095 marked this pull request as ready for review May 9, 2022 03:40
@syan095 syan095 requested review from zjb0807 and xlc May 9, 2022 03:40
modules/cdp-engine/src/lib.rs Outdated Show resolved Hide resolved
modules/cdp-engine/src/lib.rs Outdated Show resolved Hide resolved
@xlc xlc requested a review from ferrell-code May 10, 2022 03:56
@syan095 syan095 merged commit 11d9541 into master May 10, 2022
@syan095 syan095 deleted the remove-CollateralCurrencyIds branch May 10, 2022 23:25
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.

Remove CollateralCurrencyIds
3 participants