1.19.0
interBTC 1.19.0 (2022-10-06)
This release contains the changes from 1.18.0 to 1.19.0.
Global Priority
- ⚪ LOW: This is a low priority release and you may upgrade at your convenience.
Changes
- chore: bump spec versions to 1.19.0 #725
- test: reward tests from specific state #722
- fix: stricter collateral checks in vault registration #719
- feat: include clients-info crate on mainnet runtimes #720
- [BREAKING] refactor!: remove refund #696
- feat: add migration to set the parameters for collator-selection #709
- feat: allow requester to call cancel_issue #699
- feat: allow issue execution after expiry #601
- fix: spend origin should allow max for root #715
- [Breaking] feat: self-redeem #702
- [BREAKING] chore: upgrade to polkadot-v0.9.26 #708
- feat: kick collators without sufficient escrow balance #707
- feat: set release of arbitrary clients #706
- chore(deps): bump lz4-sys from 1.9.3 to 1.9.4 #711
- chore: remove kintsugi aura migration #703
- chore: document sovereign account calculation #704
- feat: fork collator-selection and use escrow for bonding #688
- chore: harmonize chain specs with live networks #700
- doc: simplified model for the staking module #690
- chore: harmonize testnet accounts #701
- [BREAKING] chore!: use ArithmeticError in other pallets #694
- fix: exclude toBeRedeemed tokens from generating rewards #655
- feat: Escrow RPCs #689
- Chore: update rust toolchain to nightly-2022-06-20 #685
- chore: use nightly-2022-06-20 #691
- chore: allow rococo-local-[paraId] and rococo-local-interlay-[paraId] #687
Chore
- bump spec versions to 1.19.0
- add pre_upgrade and post_upgrade hooks for issue v4
- set CandidacyBond to 1000 vKINT
- upgrade to polkadot-v0.9.26
- remove kintsugi aura migration
- split docs on parachain and sibling sovereign accounts
- document sovereign account calculation
- self-redeem benchmark
- lower interlay issue period to one day
- integrate collator-selection fork
- harmonize chain specs with live networks
- harmonize testnet accounts
- use ArithmeticError in other pallets
- minor cleanups
- add rococo-local-interlay-3000 chain
- update rust toolchain to nightly-2022-06-20
Doc
- simplified model for the staking module
- update destination
Feat
- include clients-info crate on mainnet runtimes
- allow requester to call cancel_issue
- allow issue execution after expiry
- add migration to set the parameters for collator-selection
- set release of arbitrary clients
- kick collators without sufficient escrow balance
- self-redeem
- use escrow for collator-selection bonding
- fork collator-selection
- add RPC extensions to the escrow pallet to allow access to balances and locked stakes
Fix
- stricter collateral checks in vault registration
- don't allow cancellation of cancelled issued
- spend origin should allow max for root
- update broken links and update description
- remove total-locked RPC
- exclude toBeRedeemed tokens from generating rewards
Refactor
- only set actual surplus with max issuable change, test overpayment and underpayment
- run issue migration for v0 and use non-default values in test
- rename variables, check more conditions in cancel issue test
- always check if vault is liquidated in cancel_issue
- remove refund
- set SpendOrigin to root
- account for rounding in tests from FixedPoint changes
- simplify new kicking mechanism logic
- rename services pallet to clients_info
- move client release logic into separate pallet
- simplify client release migration
Test
- reward tests from specific state
- kick mechanism below total balance
Dependency changes
paritytech/substrate@814752f...e8a7d16
paritytech/polkadot@22836e5...d878597
paritytech/cumulus@95ca5a0...e43b8b8
Runtimes
Interlay
🏋️ Runtime Size: 1098809 bytes
🔥 Core Version: {'specName': 'interlay-parachain', 'implName': 'interlay-parachain', 'authoringVersion': 1, 'specVersion': 1019000, '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]], 'transactionVersion': 2}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0x4de9a18f6b75108a9676bbde50e06319537564c35509150f8ad9faaecb0cf810
🗳️ authorizeUpgrade hash: 0x31addcc971728d4a851c8ec6af217d6daaca26f4ffe8601c180ac5a27b9593e3
#️⃣ Blake2-256 hash: 0x987e17412de3a277bc2cd8528995c7a2122fda52ed245b1f7983e4da0efd918d
📦 IPFS: QmcSHzTESoCdNKS8t6FrVjqwaSWR96sfymmrwHWpSEG85d
Kintsugi
🏋️ Runtime Size: 1095461 bytes
🔥 Core Version: {'specName': 'kintsugi-parachain', 'implName': 'kintsugi-parachain', 'authoringVersion': 1, 'specVersion': 1019000, '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]], 'transactionVersion': 3}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0xb6e5086b71a45516010dba52ba738bd73b02bf6c709fe8bbe7fa0adc6515efdd
🗳️ authorizeUpgrade hash: 0xd8289aa1081ac8309bd1f12452278a423446d6b3f6ad6047d79fabc94da70c65
#️⃣ Blake2-256 hash: 0x944539229c53e21398a38cfcf6e2e812180c45644342ab0894a8d496ecc427f4
📦 IPFS: QmVqZKTNpapdrD8h6Z3GB6PVLR4KY4Tp2H7yU4vvNDmKQK
Testnet-Kintsugi
🏋️ Runtime Size: 1103355 bytes
🔥 Core Version: {'specName': 'testnet-kintsugi', 'implName': 'testnet-kintsugi', 'authoringVersion': 1, 'specVersion': 1019000, '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]], 'transactionVersion': 1}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0x61b75fe4581b492ed7872bebfb0672ed251934764b2720537be75da9f12deca7
🗳️ authorizeUpgrade hash: 0x38bebd707fb44796371fae10441638896e661e122d1cceff9e8cd631d7d416ea
#️⃣ Blake2-256 hash: 0x57593ee9c47035dfb0f6d9ec69fd2fee543239dec9b79ac94017c7584b1c8f13
📦 IPFS: QmQyP2CPKWHj3DsCwWFYbWqWYzoo9tcvUxVAhphGuQqKm7
Testnet-Interlay
🏋️ Runtime Size: 1103572 bytes
🔥 Core Version: {'specName': 'testnet-interlay', 'implName': 'testnet-interlay', 'authoringVersion': 1, 'specVersion': 1019000, '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]], 'transactionVersion': 1}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0xbbfc798e8cc587c195a3ece75fe7459a2a8e910900b6bd63a50ea75df202b75e
🗳️ authorizeUpgrade hash: 0x59a030aecc1c9a0567b61dca97a93de9bfb4938ededb9b16cf814eea2cc40102
#️⃣ Blake2-256 hash: 0x03df96b26347cffc2f6c5ddf891f7c7050931b769cf92d70527a9a238510ce97
📦 IPFS: QmQBVh14LKvqTK22qGqeqZjse6GBAFXzZAGwsS6LpvaYEn