Centrifuge v0.11.3
Upgrade Priority:
- Full Nodes: High
- Collators: Medium
Changes
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
Exhaustive list of all changes
- add code coverage to pipeline by @gpmayorga in #1745
- Oracles: Correct feeder encoding by @lemunozm in #1793
- Remove old migrations and bump up version for centrifuge runtime by @lemunozm in #1794
- fix: Enable Runtime-Apis to update nav with estimates by @mustermeiszer in #1791
- chore: bumb dev versions by @mustermeiszer in #1795
- Set correct onchain versions by @lemunozm in #1796
- fix: chain spec not deterministic by @wischli in #1807
- Polkadot v1.1.0 by @lemunozm in #1756
- Fix: mostly non failable runtime-api by @mustermeiszer in #1810
- fix: essence tranche token metadata by @wischli in #1798
- Remove custom implementation for
MaxEncodingLen
by @lemunozm in #1800 - Integration tests. Move EVM tests to the generic framework by @lemunozm in #1801
- BlockRewards: Fix how it handle ED for Staking currency. by @lemunozm in #1802
- Runtimes: use last benchmark structure, remove unused disable-api feature by @lemunozm in #1813
- Fix: zero amount order bug by @lemunozm in #1816
- fix: looser
is_local_representation
by @wischli in #1815 - IT: rewards to generic framework. Remove previous non-generic IT utilities by @lemunozm in #1805
- fix: undecodable
ForeignInvestmentInfo
on Demo by @wischli in #1819 - fix: pool fee event dispatch order by @wischli in #1809
- fix: outdated storage versions on Demo by @wischli in #1820
- Integration test: making it cooler! by @lemunozm in #1821
- Upgrade gh actions by @gpmayorga in #1814
- Remove crowdloan pallets by @lemunozm in #1834
- Upgrade-gh-actions by @gpmayorga in #1832
- Adjust codecov settings by @gpmayorga in #1830
- Fix docker release by @gpmayorga in #1831
- Fix: transfer debt event with updated repaid amount by @lemunozm in #1837
- Feat: Add new oracle key by @mustermeiszer in #1841
- Fix/linear pricing by @mustermeiszer in #1812
- Fix docs deployment by @gpmayorga in #1839
- IT: Add test_runtimes macro to liquidity_pools tests by @lemunozm in #1845
- Feat: No maturity date by @mustermeiszer in #1843
- Loans: use mocked timer by @lemunozm in #1848
- Borrow proxy with PodOperation behavior by @lemunozm in #1854
- fix: allow root to propose and remove fees by @wischli in #1855
- Feat: decrease debt by @mustermeiszer in #1857
- Fix:
pallet-pool-system
- Ratio Calculation by @mustermeiszer in #1856 - Feat: Liquidity pools inter domain tranche token transfer by @mustermeiszer in #1860
- Loans: cashflows simple version by @lemunozm in #1867
- Upgrade to Polkadot-v1.7.2 by @lemunozm in #1833
- Release v0.11.0 by @wischli in #1868
- Feat: LP integration tests by @mustermeiszer in #1720
- Fix FMT linter by @gpmayorga in #1871
- Fix: LP integration tests compilation issue by @lemunozm in #1876
- Chore: Make min epoch time in dev smaller by @mustermeiszer in #1872
- pallets: Add Anchors V2 pallet by @cdamian in #1878
- IT: Simplify liquidity_pool test module by @lemunozm in #1869
- Liquidity-pools: Add unitary tests by @lemunozm in #1879
- Script to upgrade a Centrifuge parachain live by @gpmayorga in #1884
- IT: more support for router tests by @lemunozm in #1885
- IT: Panic if event is not found in the expected blocks by @lemunozm in #1880
- IT: clean generic folder by @lemunozm in #1887
- feat:
CheckMetadataHash
extension by @wischli in #1865
Docker Image: centrifugeio/centrifuge-chain:v0.11.3
Full Changelog: v0.10.39...v0.11.3