interBTC 1.25.0-rc1 (2023-07-13)
This release contains the changes from 1.24.0-hotfix2 to 1.25.0-rc1.
Global Priority
- ⚪ LOW: This is a low priority release and you may upgrade at your convenience.
Changes
- chore: bump spec_version for 1.25.0 #1130
- feat: add pull request templates #1121
- chore: add missing dex-stable benchmarks #1125
- fix: hardcode past slot duration or read from chain #1109
- feat: add scale encode and decode as traits to CurrencyId. #1126
- fix: swap_assets_for_exact_assets validation for tiny amounts #1124
- docs: clean up readme #1123
- fix: restrict commission setting to prevent arbitrary storage writing #1117
- fix: enable byof on interlay #1108
- feat: Add update_user_stake extrinsic to escrow pallet #1097
- fix: Handle AlreadyActiveMarket corner case in activate_market extrinsic #1095
- chore: removed unused treasury params #1085
- refactor: deduplicate escrow reward rate runtime-api and add sanity test #1086
- chore: re-run script to fetch Bitcoin block headers #1092
- refactor: remove unused migrations and distribute rewards in benchmarks #1091
- chore: use v2 benchmark syntax for collator-selection #1093
- chore: add weights automation #1070
- chore: add srtool and rustc versions to release notes #1099
- chore: don't upload testnet release notes #1090
- test: sanity check that zero swap fees work #1096
- refactor: remove standalone node #1084
- test: compute_vault_rewards & commissions #933
- chore(deps): bump chevdor/srtool-actions from 0.6.0 to 0.7.0 #1035
- refactor: move tests to parachain runtimes #772
- refactor: allow using instant-seal on all runtimes #1082
- Chore/remove testnet runtimes #1080
- test: add amm property tests #948
- chore: update weights for mainnets #1078
- chore: deprecate testnet runtimes #1079
Chore
- bump spec_version for 1.25.0
- add missing dex-stable benchmarks
- reduce steps for benchmarking
- add weights automation
- add weights automation
- add srtool and rustc versions to release notes
- use v2 benchmark syntax for collator-selection
- re-run script to fetch Bitcoin block headers
- don't upload testnet release notes
- removed unused treasury params
- cleanup cargo features for runtime-tests
- cleanup utils and cargo fmt
- split runtime-tests based on runtime
- point (interlay|kintsugi)-testnet-latest to the mainnet runtimes
- use mainnets for xcm tests
- update weights for mainnets
Docs
- clean up readme
Feat
- add scale encode and decode as traits to CurrencyId.
- add pull request templates
- added update_user_stake extrinsic to escrow pallet
Fix
- hardcode past slot duration or read from chain
- feature gated types.
- swap_assets_for_exact_assets validation for tiny amounts
- fix broken benchmark
- restrict commission setting to prevent arbitrary storage writing
- enable byof on interlay
- use api in escrow test to distribute rewards
- Change 'mutate_market' closure to return a result and handle the 'MarketAlreadyActivated' corner case
- remove remaining testnet references
- change testnet bitcoin settings
Refactor
- remove unused migrations and distribute rewards in benchmarks
- deduplicate escrow reward rate runtime-api and add sanity test
- remove standalone node
- move vault_registry tests to parachain
- move replace tests to parachain
- move redeem tests to parachain
- delete empty oracle tests
- move nomination tests to parachain
- move multisig tests to parachain
- move loans tests to parachain
- move issue tests to parachain
- move governance tests to parachain
- move fee_pool tests to parachain
- move escrow tests to parachain
- move clients-info tests to parachain
- move btc-relay tests to parachain
- move annuity tests to parachain
- move utils to parachain runtime-tests
- allow using instant-seal on all runtimes
Test
- modified should_update_stake test case to assert users computed reward and total rewards distributed
- sanity check that zero swap fees work
- add amm property tests
- compute_vault_rewards & commissions
Dependency changes
https://github.com/paritytech//substrate/compare/98f2e3451c9143278ec53c6718940aeabcd3b68a...ff24c60ac7d9f87727ecdd0ded9a80c56e4f4b65
https://github.com/paritytech//polkadot/compare/95fe4c8862810bffd68343231a517e62689c05c0...6f991987c0b4cbbd7d4badc9ef08d83da5fefbfd
https://github.com/paritytech//cumulus/compare/e05c8d7f71734ed71188337c6cb0d30715f6320f...f603a61ff370fc33740c9373833c3c6ba1486846
Runtimes
Interlay
Built using srtool v0.11.0 and rustc 1.69.0-nightly (31f858d9a 2023-02-28)
.
🏋️ Runtime Size: 1401930 bytes
🔥 Core Version: {'specName': 'interlay-parachain', 'implName': 'interlay-parachain', 'authoringVersion': 1, 'specVersion': 1025000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 2], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 4], ['0x22b97323b9e853da', 1], ['0x0dee8b30877eda0b', 1], ['0xd482d4d14bbbf88a', 1], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1]], 'transactionVersion': 4, 'stateVersion': 0}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0x78367bfb6ae74f8fbbafc8caacc73c18ba6b90bb275836698fb99b2968cc6bc7
🗳️ authorizeUpgrade hash: 0x35afce83e491bd91c9c26ca935b54959a9408237aea4445e3fb5128423341bbe
#️⃣ Blake2-256 hash: 0xb393c194ae67d45e54e983e5bfe34405b596cb6d884e9e8804ad579dbddd82ed
📦 IPFS: QmWB8PogfCt79s9FP4CihZ8Axj3omDXUXKPjf8gx8RkSBD
Kintsugi
Built using srtool v0.11.0 and rustc 1.69.0-nightly (31f858d9a 2023-02-28)
.
🏋️ Runtime Size: 1401383 bytes
🔥 Core Version: {'specName': 'kintsugi-parachain', 'implName': 'kintsugi-parachain', 'authoringVersion': 1, 'specVersion': 1025000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 2], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 4], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1], ['0x0dee8b30877eda0b', 1], ['0xd482d4d14bbbf88a', 1]], 'transactionVersion': 4, 'stateVersion': 0}
🎁 Metadata version: V14
🗳️ system.setCode hash: 0x2f5530171794a8349827043b57303b28ef7a0de35f48dc07142bba5bcdab7b9e
🗳️ authorizeUpgrade hash: 0xa746af4d227a8f605fe891b036565f10dabe668113060cf3e9838eeb7fe760f4
#️⃣ Blake2-256 hash: 0x9a227885329cd827f156a9f29d5badaea6f8ccbd5cc1b0c509a7850805520681
📦 IPFS: QmbJmHrkEscAj27Ncb4qvWGy62frdeCaAwxFwHWhQ4KEEt