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

Release v0.10.34 #1573

Merged
merged 23 commits into from
Oct 4, 2023
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4490d8f
feat: add usdc migration
wischli Sep 27, 2023
477b342
chore: bump dev spec_version
wischli Sep 27, 2023
0bc39bb
chore: bump centrifuge spec_version
wischli Sep 27, 2023
d41f4f3
fix: foreign investments bench
wischli Sep 27, 2023
47569ef
chore: bump root toml version
wischli Sep 27, 2023
e277015
feat: add LP Celo wrapped USDC
wischli Sep 27, 2023
ca9070f
fmt: fix
wischli Sep 28, 2023
d448891
Merge remote-tracking branch 'origin/main' into release-v0.10.34
wischli Sep 28, 2023
4649fb3
feat: rm StumpInboundQueue
wischli Sep 28, 2023
0f187e3
refactor: move LP config to separate file
wischli Sep 28, 2023
c2c5bb5
fix: remove UpdateTrancheInvestmentLimit msg
wischli Sep 28, 2023
049007b
Merge remote-tracking branch 'origin/main' into release-v0.10.34
wischli Sep 28, 2023
d64b21f
chore: add foreign investments to CODEOWNERS
wischli Sep 28, 2023
68ceafd
chore: update centrifuge benchmarks
wischli Sep 28, 2023
a0a7edc
chore: update defensive manual LP benchmarks
wischli Sep 28, 2023
ed46f62
chore: update altair weights
wischli Sep 28, 2023
1cd69de
fix: add missing benches to altair runtime
wischli Sep 28, 2023
00d4466
fix: add missing PolkadotXcm bench to cfg runtime
wischli Sep 28, 2023
2007529
chore: update weights again
wischli Sep 28, 2023
b9899e0
fix: enable LiquidityRewards benches in runtimes
wischli Sep 28, 2023
e2fa794
fix: missing param loans bench apply_transfer_debt
wischli Sep 28, 2023
1698109
fix: upgrade script
wischli Sep 29, 2023
0a9ef1c
fix: anemoy migration catalyst + remove USDC suffix
wischli Sep 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion pallets/loans/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,10 @@ benchmarks! {
}: _(RawOrigin::Signed(borrower), pool_id, loan_1, loan_2, repaid_amount, borrow_amount)

apply_transfer_debt {
let n in 2..Helper::<T>::max_active_loans() - 2;

let any = account("any", 0, 0);
let pool_id = Helper::<T>::prepare_benchmark();
let pool_id = Helper::<T>::initialize_active_state(n);
Comment on lines +481 to +484
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lemunozm I noticed that the loans benchmarks did parametrize apply_transfer_debt which created compiler issues as the pallet_loans::weights::WeightInfo expect the existence of a parameter. AFAICT, this provided solution should be appropriate. WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

My fault! You did the perfect fix for this! 💯

Thanks, and sorry for missing this

let change_id = Helper::<T>::propose_transfer_debt(pool_id);

}: _(RawOrigin::Signed(any), pool_id, change_id)
Expand Down