-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add incentive reserved ratio & Add liquidation threshold #1588
Conversation
after some discussion, we add a separated pallet account for the reserved incentive and allow redeem back by governance when required |
|
f71cabe
to
b26c276
Compare
Codecov Report
@@ Coverage Diff @@
## master #1588 +/- ##
==========================================
+ Coverage 66.46% 66.67% +0.20%
==========================================
Files 105 105
Lines 10897 11024 +127
==========================================
+ Hits 7243 7350 +107
- Misses 3654 3674 +20
Continue to review full report at Codecov.
|
during test of bd288c1 found the issue and seems related with paritytech/substrate#11017 and fixed in @GopherJ have you met this issue before? are we going to bump parity dependencies in next upgrade window? Meanwhile I guess can only test the storage migration with locally setup. |
Should use release bin rather than debug one. |
migration works as expected |
there is another issue found during try-runtime test when enable
seems still can be reproduced in parallel runtime migration |
the CI issue may be caused by rust toolchain version, can you rebase/merge latest master and try again? |
weird dont know what happened:) |
@GopherJ seems not related to the version of rust, maybe we can remove the cache layer temporarily and try again? Or could we change to self host runner , speed of building in github host is a little slow |
yes we may think about changing to self hosted runner, I guess we can also remove |
@zhoujia6139 @yz89
After checking the
liquidate_borrow
impl seems for ED-1392 we do not need to setup another reserve address. Just update liquidator's voucher_balance a little less should be enough and the left part will automatically reserved in our pallet account. Correct me if I'm wrong.PS: The pr is not ready yet, just ignore the hard coded ratio will remove to runtime config later or as initialized parameter of market.