cp: 118
title: Runtime Upgrade 1103
author: k/f
contributors: @WilliamFreude, @luis, @goperez, @mustermeiszer, @cdamian
uses-component: CP3
technical-proposal: yes
requires-onchain: yes
impacts/modifies:
status: passed
date-proposed: 2024-06-28
date-ended: 2024-07-04
About this proposal
Upgrade the Centrifuge chain to runtime version 1103.
Upgrade Priority of nodes if/when this Runtime Upgrade passes:
- Full Nodes: High
- Collators: High
List of content of this Runtime Upgrade
Substrate
- Enable
CheckMetadataHash
signed extension which enables generic Polkadot Ledger support (#1865) - Upgrade from Polkadot v0.9.43 to Polkadot v1.7.2 (#1756, #1833)
- Prepares for async backing (disabled for now)
- Introduces
Runtime{Hold, Freeze}Reason
- Updates to XCMv4
Pools
- Fix: Ratio calculation (#1856)
- Feat: Allow to call runtime API either with latest prices or if outdated using estimates with linear accrual based on latest settlement price (#1791)
Loans
- Fix: Make maturity date optional (#1843)
- Fix: Linear accrual (#1812)
- Fix: Transfer debt event (#1837)
- Feat: Cashflows (#1867)
- Feat: Decrease debt (#1857)
- Liquidity Pools: Inter domain tranche token transfer (#1860)
PoolFees
Proxies
- Feat: Add
Borrow
withPodOperation
priviliges (#1854)
Breaking Changes
- Deprecation of all RPC endpoints except for
ethereum
andanchor
: Please use the identical runtime API instead (#1844) - Loans: Change linear pricing behaviour to be effictive iff enabled for the loan and the corresponding oracle uses an oracle key plus there is no valid oracle using the latest settlement price (#1812)
- Pools: Restrict epoch closing to Liquidity- and Pool-Admins (#1812)
- Oracles: Add new enum variant
PoolLoanId
toOracleKey
(#1841) - Transfer AllowList: Store XCM Locations explicitly instead of hashed version (#1853)
- Node CLI: Replace
export-genesis-state
withexport-genesis-head
(#1844)
WASM
โจ Your Substrate WASM Runtime is ready! โจ
Summary generated with srtool:1.75.0-0.14.0:
Package : centrifuge-runtime v0.11.3
GIT commit : dd9ff87
GIT tag : v0.11.3
GIT branch : release-v0.11.1
Rustc : 1.75.0 (82e1608df 2023-12-21)
Time : 2024-06-27T16:24:10Z
== Compressed
๐๏ธ Runtime size: 2.109 MB (2,211,622 bytes) โ ๏ธ HEAVY
๐ Compressed: Yes, 79.17%
โจ Reserved meta: OK - [6D, 65, 74, 61]
๐ Metadata version: V14
๐ฅ Core version: centrifuge-1103 (centrifuge-1.tx2.au1)
๐ณ๏ธ Blake2-256 hash: 0xda20faa8890934dcbe05af50dd8ee6b13dfd92e1b3adb9d988e7f948bc8b4eab
๐ฆ IPFS: https://www.ipfs.io/ipfs/QmdZPdQ562sempcibMyVFMKgGUPnbC3s3R1sk9JfEhCaAV
Release Notes: v0.11.3
Docker Image: centrifugeio/centrifuge-chain:v0.11.3
Full Changelog: v0.10.39โฆv0.11.3
Governance process for this proposal
- Council Motion + fast-track
- Referendum vote open for 21,600 blocks (~3 days)
- If the referendum passes, the upgrade will be authorized immediately after and can be enacted
Once the council motion has been submitted, it will be announced in this topic.
Link to this proposal in the proposal repository on GitHub: cps/cps/CP118.md at main ยท centrifuge/cps ยท GitHub