github interlay/interbtc 1.21.1

latest releases: 1.25.4, 1.25.3, 1.25.2-hotfix2...
pre-release20 months ago

interBTC 1.21.1 (2023-01-13)

This release contains the changes from 1.20.1 to 1.21.1.

Global Priority

  • ⚪ LOW: This is a low priority release and you may upgrade at your convenience.

Changes

  • feat(loans): remove AccountEarned storage #850
  • fix: more robust vault reward calculation in rpc #845
  • refactor: always use 12000 slot duration #794
  • Test multiple lending liquidations #844
  • feat: add rpcs to estimate rewards #842
  • feat: true oracle medianizing #846
  • feat: add prototype scripts for modelling capacity based rewards #739
  • [BREAKING] feat: add pallet-proxy to all runtimes #693
  • refactor: transfer expired griefing to treasury #820
  • chore(deps): bump crazy-max/ghaction-github-pages from 2 to 3 #840
  • chore(deps): bump docker/setup-buildx-action from 1 to 2 #838
  • chore(deps): bump tokio from 1.23.0 to 1.24.1 #835
  • chore(deps): bump actions/checkout from 2 to 3 #839
  • Lending events refactoring #832
  • Fix: minor typo #836
  • fix(loans): benchmarks #821
  • feat: add a disabled sudo pallet back in #816
  • chore(deps): bump chevdor/srtool-actions from 0.2.0 to 0.6.0 #829
  • chore(deps): bump docker/login-action from 1 to 2 #828
  • chore(deps): bump docker/setup-qemu-action from 1 to 2 #827
  • chore(deps): bump docker/metadata-action from 3 to 4 #830
  • chore(deps): bump docker/build-push-action from 2 to 3 #831
  • Chore - add dependabot for github actions #818
  • Chore - update changelog template #825
  • chore: patch orml version #814
  • fix: enable std on zenlink-protocol #813
  • 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

  • add comment on instance filter and fix warnings
  • add projects workflow
  • patch orml version
  • 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
  • explicit router, reduce number of vars

Feat

  • true oracle medianizing
  • add rpcs to estimate rewards
  • add pallet-proxy to all runtimes
  • update benchmark template, generate loans weights
  • add a disabled sudo pallet back in
  • 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
  • add prototype scripts for modelling capacity based rewards

Fix

  • remove PR trigger
  • more robust vault reward calculation in rpc
  • fmt
  • benchmark feature dependencies
  • enable std on zenlink-protocol
  • 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

Fix

  • minor typo

Refactor

  • always use 12000 slot duration
  • default to one year for reward rate estimate
  • safe math in medianizing
  • transfer expired griefing to treasury
  • remove BasicVaultRegistry and fixup more integration tests
  • deprecate vault collateral extrinsics in favor of nomination
  • capacity rewards for vaults should be based on threshold

Test

  • TotalUserVaultCollateral check in migration
  • add integration testing utils for capacity model
  • update tests for vault collateral change

Dependency changes

https://github.com/paritytech//substrate/compare/7a4e5163091384c4c10b6d76f5cb80dac0834f38...7a4e5163091384c4c10b6d76f5cb80dac0834f38
https://github.com/paritytech//polkadot/compare/32dd0c9cfcd1a1bda821747f6ab334f0e3577558...32dd0c9cfcd1a1bda821747f6ab334f0e3577558
https://github.com/paritytech//cumulus/compare/fb8c5a3d0800ebdebe14bd0e708d2a348f976d9e...fb8c5a3d0800ebdebe14bd0e708d2a348f976d9e

Runtimes

Interlay

🏋️ Runtime Size:		1153509 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:		0x511e8467f7fd8a0207d0355e2fe13a73feca437f50926c628d4ae0cd62b97032
🗳️ authorizeUpgrade hash:	0x38f81ff082bce963ca994e39229d414d478b7a9da344eb317aec9592e44c21bb
#️⃣ Blake2-256 hash:		0x027f350badb77a27f1fe16a52617c8991b130e88816fac99ef21bc1282b0a2be
📦 IPFS:			QmWL9MtTz9hjCzqAQ5KZPUFkuhTXyHERC3SMNgSBCHZPWX

Kintsugi

🏋️ Runtime Size:		1151100 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:		0xc613a3386706af3e1ee7ceeee86bb012c492f155988c07917de785e6dddee1bf
🗳️ authorizeUpgrade hash:	0xa1ed5a78f4e04649996613b7145c1fc6b31ccf9f4a571f31b0694a3f04d3680e
#️⃣ Blake2-256 hash:		0x9bda8d956b7423a62ac29ac5bac7d9494a94b8ea89610734d8f076132d45f383
📦 IPFS:			QmRFkNQfNDy4idnZzaQS9FLvYEMzMbtiqzBWM2zDfvRfpt

Testnet-Kintsugi

🏋️ Runtime Size:		1358220 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:		0xa2cb222baf356c3178c2c215582104d9e872eb16bd3ba5cbce2cc40510a3ff48
🗳️ authorizeUpgrade hash:	0x8739128f6cd5f441d9dbf140aaa46b1469c8d2f8aae69cc3cca915d2b51f4b3d
#️⃣ Blake2-256 hash:		0xb6cc4905361e3fcc932f8cc254f5bab3f4f2cf7506205a43e067cef160756d48
📦 IPFS:			QmXCXBNEUsY4Kg1SZyzWmjguWK4sL3vGtui3uei6AGqr1T

Testnet-Interlay

🏋️ Runtime Size:		1219828 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:		0x60607f5b75c99a2319fb28cbb5442a5e6509eb0daef0f284244d7afeda733273
🗳️ authorizeUpgrade hash:	0x607dfe852e0323bd97250226527b57495d315b3aff6cb31f889dc23706bf90d8
#️⃣ Blake2-256 hash:		0x283f1112ccb2a09f2831621b754d34dab3a82b7d6bd2eb60899c8a4f904e3a32
📦 IPFS:			QmdNyenQJo8EEvzQKefVNcmfinXzoQUWmKE662uv4SqThX

Don't miss a new interbtc release

NewReleases is sending notifications on new releases.