interBTC 1.21.0 (2022-12-16)
This release contains the changes from 1.20.0-hotfix+sub to 1.21.0.
Global Priority
- 🔴 HIGH: This is a high priority release and you must upgrade as soon as possible.
- 🔵 MEDIUM: This is medium priority release and you should upgrade not later than [INSERT DATE]
- ⚪ LOW: This is a low priority release and you may upgrade at your convenience.
Breaking CLI changes
Changes
- chore: use zenlink fork with vec import #811
- test: TotalUserVaultCollateral check in migration #810
- chore: use active toolchain in ci tests #809
- fix: always update total backing collateral in withdraw_collateral #808
- feat: table two proposals on monday #805
- fix: set minimum xcm fee for statemine/t transfers #807
- Zenlink integration (testnet-kintsugi) #713
- Implement vault capacity model #790
- fix(loans): accrue interest before changing reserve balances #806
- feat(loans): use Amount instead of FixedU128 #801
- fix(loans): Set min and max exchange rates on runtime upgrade #799
- fix: get try-runtime to work again #800
- feat: add automatic tags for issue requests #796
- [BREAKING] Refactor: remove vault collateral interface #781
Chore
- use zenlink fork with vec import
- use active toolchain in ci tests
- make proposal launch offset configurable in runtime
- cargo fmt
- add additional migration integrity checks
- add capacity migration to kintsugi runtime
- remove unused pool-manager test
- add missing type on loans mock
- fix and remove superfluous reward tests
- remove performed migrations
Feat
- table 2 proposals at a time
- table proposals on monday
- integrate zenlink into testnet-kintsugi runtime
- vault rewards rpc should compute using all pools
- vault capacity migration
- implement capacity model
- add automatic tags for issue requests
Fix
- always update total backing collateral in withdraw_collateral
- set minimum xcm fee for statemine/t transfers
- launch proposals at 9 am
- set commission in randomized tests
- skip duplicate arg group name in standalone node
- submit exchange rate in vault_registry benchmarks
- get capacity model to work
- get try-runtime to work again
Refactor
- remove BasicVaultRegistry and fixup more integration tests
- deprecate vault collateral extrinsics in favor of nomination
Test
- TotalUserVaultCollateral check in migration
- add integration testing utils for capacity model
- update tests for vault collateral change
Dependency changes
paritytech/substrate@7a4e516...7a4e516
paritytech/polkadot@...32dd0c9
paritytech/cumulus@fb8c5a3...fb8c5a3
Runtimes
Interlay
🏋️ Runtime Size: 1129777 bytes
🔥 Core Version: {'specName': 'interlay-parachain', 'implName': 'interlay-parachain', 'authoringVersion': 1, 'specVersion': 1020000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 1], ['0x22b97323b9e853da', 1], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1]], 'transactionVersion': 2}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0xe93b0a6345f270ae3ce9708a6edf92ff89deb68c516fc1c863caa0108355a4ba
🗳️ authorizeUpgrade hash: 0xb94b4920a685e4c31b4386b2978ee0e40b0b6fada2fde20b1febeadb1ca0f5c6
#️⃣ Blake2-256 hash: 0xcd344ad1a36036501ac15ef059c0b5feaef826b95a5210f5cb44a76852dc38ac
📦 IPFS: QmXHkD6VFtAx49kQCafshcKjyWKPf4hn7gjQCuz1zjhE1J
Kintsugi
🏋️ Runtime Size: 1129006 bytes
🔥 Core Version: {'specName': 'kintsugi-parachain', 'implName': 'kintsugi-parachain', 'authoringVersion': 1, 'specVersion': 1021000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 1], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1]], 'transactionVersion': 3}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0xba67472da1c376e640f85260cecbf36604a1d8cebd6135febb3057292ac3a245
🗳️ authorizeUpgrade hash: 0xe8c544203ff95b55bb9d3e38bd4ad4d832599112029872d4c84f8bd76841ba5b
#️⃣ Blake2-256 hash: 0xcab855f36ec38db0f4ec401d64e7c017203bd24c286d8fc26bd4b69ac8adae27
📦 IPFS: Qmb5DtVLYYs8SLb1VSgeKrwBggwke5tjW3tBPnKSbosX8y
Testnet-Kintsugi
🏋️ Runtime Size: 1342830 bytes
🔥 Core Version: {'specName': 'testnet-kintsugi', 'implName': 'testnet-kintsugi', 'authoringVersion': 1, 'specVersion': 1021000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 1], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1], ['0x60aed43cb52456f1', 1], ['0x5179b539a332ab9a', 1]], 'transactionVersion': 1}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0x49af2571acf0fdfc96069ab628686b12366f551a1e098b9581d5e590f38492e9
🗳️ authorizeUpgrade hash: 0x244937ead009ab26fc5a4a5e68ddbcdf9441a01a7adbcd7eacf7bec17000a325
#️⃣ Blake2-256 hash: 0x73e75afc6ef1924a793c69a67aeece3e24a581858d5852ada19650ecec24367e
📦 IPFS: QmQF8nn7QAAVjaem4bTyypC27gH82GuPEDUmsMu1A8Bbg6
Testnet-Interlay
🏋️ Runtime Size: 1203794 bytes
🔥 Core Version: {'specName': 'testnet-interlay', 'implName': 'testnet-interlay', 'authoringVersion': 1, 'specVersion': 1020000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 1], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1]], 'transactionVersion': 1}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0x3cb77097b044f62b3bb4f3c3016f0f93696f4aa7c85548b23ee8571f264a7c92
🗳️ authorizeUpgrade hash: 0xdfa90de95e9d0b6722ee82ecadad505d7ea823d27b393a3253d8e2999eb9ed67
#️⃣ Blake2-256 hash: 0xe7d42dd87958a7afc40fb44c6094009a9b3ee77de9700cb95197036ae0a38f62
📦 IPFS: QmVXjDC1fWy9prKPN9tE3NvURhx6gShMyMB1HfGVsjY8g8