github interlay/interbtc 1.24.0-rc1

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

interBTC 1.24.0-rc1 (2023-05-22)

This release contains the changes from 1.23.3 to 1.24.0-rc1.

Global Priority

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

Changes

  • feat: add defi pallets to interlay runtime #1049
  • chore: bump spec_version to 1.24.0 #1057
  • [BREAKING] feat: add vault-registry events for threshold and status changes #1058
  • feat: run benchmarks for runtimes on PR #1051
  • test: loans incentive rewards with scheduled stop #1062
  • refactor: remove AssetInfo, separate bootstrap account, cleanup errors #1053
  • chore: benchmarks&weights for extrinsic&block overhead #1048
  • [BREAKING] refactor!: use named events in dex-general and add fee updates #1050
  • Worst case redeem benchmark #1056
  • feat: re-add dex-swap-router with better weight estimation #1055
  • Worst case benchmark (nomination, vault-registry) #1052
  • fix: use RocksDbWeight for DbWeight #710
  • chore: fix benchmarks #985
  • chore: fix remaining benchmarks #1047
  • chore: sort runtime benchmarks and toml #1044
  • orml-vesting benches v2 #1037
  • chore: whitelist storage items that are read every block #1029
  • [BREAKING] chore!: remove dex-swap-router #1041
  • chore: orml-asset-registry benchmarks #1042
  • chore: xcm benchmarks #1039
  • chore: benchmark tx complexity in issue and replace #1038
  • fix: make sure address parsing has complexity O(1) #1040
  • chore: replace benchmarks #1025
  • chore: issue bench #1018
  • chore: parameterize dex-stable weights #1033
  • [BREAKING] chore!: update redeem benchmarks #1020
  • [BREAKING] chore!: update btc-relay benchmarks #1022
  • chore: benchmark supply pallet on_initialize #1030
  • chore: bound number of pool currencies in dex-stable #1028
  • chore: upgrade to polkadot 0.9.38 #984
  • chore: orml-tokens benchmarks #1023
  • chore: remove loans migration #1024
  • Loans toggle migration #1021
  • chore: fix collator-selection benchmarks and update runtime weights #1017
  • chore: frame_system benchmarks #1019
  • chore: v2 annuity benchmarks #997
  • refactor!: remove all Bitcoin parsing and use concrete types #673
  • [BREAKING] feat!: add separate event for cancelled proposal #989
  • refactor!: simplify treasury #892
  • chore(deps): bump actions/add-to-project from 0.4.1 to 0.5.0 #993
  • test: assert higher fee_point decreases protocol fee #924
  • fix: limit number of swaps in dexGeneral #981
  • test: liquidation with liquidate_incentive_reserved_factor=0 #970

Bench

  • fee pallet
  • hit worst case escrow loop

Chore

  • add all runtime weights for dex-swap-router
  • re-add orml migrations
  • bump spec_version to 1.24.0
  • clean up
  • measure validate_routes
  • clean up comments and code shift
  • benchmarks&weights for extrinsic&block overhead
  • fix remaining benchmarks
  • sort runtime benchmarks and toml
  • revert increasing the max vesting schedules
  • parameterize orml-vesting benches
  • xcm benchmarks
  • orml-asset-registry benchmarks
  • remove dex-swap-router
  • benchmark tx complexity in issue and replace
  • remove auto-generated file
  • remove unused replace benchmark code
  • descriptive bound error, update all redeem weights
  • update redeem benchmarks
  • parameterize dex-stable weights
  • benchmark supply pallet on_initialize
  • whitelist storage items that are read every block
  • bound number of pool currencies in dex-stable
  • use fork_bound and add more btc-relay benchmarks
  • fix typo
  • replace benchmarks
  • orml-tokens benchmarks
  • update btc-relay benchmarks
  • remove loans migration
  • frame_system benchmarks
  • issue bench
  • re-run annuity benchmarks and add runtime weights
  • use reward pallet in annuity benchmark tests
  • verify annuity reward is withdrawn
  • v2 annuity benchmarks
  • fix collator-selection benchmarks and update runtime weights
  • fixups after messy rebase
  • use custom weights for frame pallets
  • add parameters to dex-general benchmarks
  • re-run democracy benchmarks and add runtime weights
  • specify weights per runtime
  • align bounded voting type with frame
  • remove without_storage_info annotation from most pallets
  • add missing democracy benchmarks and force escrow balances
  • v2 clients-info benchmarks
  • tx-pause benchmarks
  • test worst-case in farming benchmarks and parameterize
  • add democracy benchmark to runtimes
  • fix democracy benchmark
  • security benchmarks
  • vault registry benchmark v2 + maxencodedlen
  • whitelist treasury account
  • cleanup runtime-benchmark dependencies
  • v2 oracle benchmarks
  • farming benchmarks v2
  • fix escrow benchmark
  • upgrade to polkadot 0.9.38
  • upgrade to polkadot 0.9.38
  • fmt + revert spec_version

Feat

  • add defi pallets to interlay runtime
  • add vault-registry events for threshold and status changes
  • re-add dex-swap-router with better weight estimation
  • run benchmarks for runtimes on PR
  • add separate event for cancelled proposal
  • use RocksDbWeight for DbWeight

Fix

  • move several trait bounds for benchmarking bounds to work
  • allow slight xcm fee increase
  • make sure address parsing has complexity O(1)
  • remove treasury from benchmarks and weights
  • add pallet-treasury patch back in
  • fmt
  • dex-general benchmarks for main runtimes
  • dex-general benchmarks for main runtimes
  • xcm migrations
  • check version and update block hash
  • limit number of swaps in dexGeneral

Refactor

  • remove AssetInfo, separate bootstrap account, cleanup errors
  • use named events in dex-general and add fee updates
  • use benchmark length bound as max
  • add bytes to separate input
  • pass writer to TryFormat
  • implement format_size for all types
  • bound reward currencies
  • use define_benchmarks macro
  • simplify treasury
  • remove all Bitcoin parsing and use concrete types

Test

  • loans incentive rewards with scheduled stop
  • decoding BoundedBTreeSet from BTreeSet
  • liquidation with liquidate_incentive_reserved_factor=0
  • assert higher fee_point decreases protocol fee

Wip

  • democracy benches v2

Dependency changes

https://github.com/paritytech//substrate/compare/f38bd6671d460293c93062cc1e4fe9e9e490cb29...18bb7c7c841b101c19a8d1881b893ae8e37de460
https://github.com/paritytech//polkadot/compare/645723987cf9662244be8faf4e9b63e8b9a1b3a3...097ffd245c42aeff28cf80f8a3568e1bee2e7da7
https://github.com/paritytech//cumulus/compare/09418fc04c2608b123f36ca80f16df3d2096753b...9b4e0247137f158d1a35118197d34adfa58858b7

Runtimes

Interlay

🏋️ Runtime Size:		1377219 bytes
🔥 Core Version:		{'specName': 'interlay-parachain', 'implName': 'interlay-parachain', 'authoringVersion': 1, 'specVersion': 1024000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 3], ['0x22b97323b9e853da', 1], ['0x0dee8b30877eda0b', 1], ['0xd482d4d14bbbf88a', 1], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1]], 'transactionVersion': 4}
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x67c6da9af34a26ee000ac679934c4ccbffd40da7c3f6099f436993199b87eca6
🗳️ authorizeUpgrade hash:	0x4ab88abac9d79565d363e010e9deb128d54d0822def54d361cf5394eac96ebc5
#️⃣ Blake2-256 hash:		0x59050982bba5be97647369aecad026b206cf04ec49768b4f8e2a694e22326922
📦 IPFS:			QmPXfEknrNmihrXzen4sfRjRVidmfj4qjoUqjbTzgjsR96

Kintsugi

🏋️ Runtime Size:		1370435 bytes
🔥 Core Version:		{'specName': 'kintsugi-parachain', 'implName': 'kintsugi-parachain', 'authoringVersion': 1, 'specVersion': 1024000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 3], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1], ['0x0dee8b30877eda0b', 1], ['0xd482d4d14bbbf88a', 1]], 'transactionVersion': 4}
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0xdc153b9a13e5ab0419df151af62af74a41b89172ea41cb9ae13a592272cf6c98
🗳️ authorizeUpgrade hash:	0x76b95525cbc201109bd0923cd0415ac63ee177eb5c530e1b0b7c645f4dfe3731
#️⃣ Blake2-256 hash:		0x052bd9d5589130406ec0b926cf02569d213c8f9362209734647bf4fecfd24381
📦 IPFS:			QmaPYiWCQk4YNbMSWvUR2obHtio9N97z9WvmCUKpRqoHJ2

Testnet-Kintsugi

🏋️ Runtime Size:		1376745 bytes
🔥 Core Version:		{'specName': 'testnet-kintsugi', 'implName': 'testnet-kintsugi', 'authoringVersion': 1, 'specVersion': 1024000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 3], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1], ['0x0dee8b30877eda0b', 1], ['0xd482d4d14bbbf88a', 1]], 'transactionVersion': 4}
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0xd50bd919830d6d4377bcde763e1bad079806ab5000842f38ea656a231cfe156f
🗳️ authorizeUpgrade hash:	0x2ae9487cd57a7ea9a68a934fddd3de0ae8a293802ee7645a3af06786e7bb2b6e
#️⃣ Blake2-256 hash:		0x1280340aed72d846aa1ad1e014fc8d8235e04577e7a625849d7d091a2ecb2649
📦 IPFS:			QmfCx8G3EeNpY3QCcVq7HVaj85TwQFCe2neLr991U443TP

Testnet-Interlay

🏋️ Runtime Size:		1363814 bytes
🔥 Core Version:		{'specName': 'testnet-interlay', 'implName': 'testnet-interlay', 'authoringVersion': 1, 'specVersion': 1024000, 'implVersion': 1, 'apis': [['0xdf6acb689907609b', 4], ['0x37e397fc7c91f5e4', 1], ['0x40fe3ad401f8959a', 6], ['0xd2bc9897eed08f15', 3], ['0xf78b278be53f454c', 2], ['0xab3c0572291feb8b', 1], ['0xdd718d5cc53262d4', 1], ['0xea93e3f16f3d6962', 2], ['0xbc9d89904f5b923f', 1], ['0x37c8bb1350a9a2a8', 3], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1], ['0x0dee8b30877eda0b', 1], ['0xd482d4d14bbbf88a', 1]], 'transactionVersion': 4}
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x48543a837624b5f88c3f48ac260ea5f911669ca92ea37364e4dcb6a80e3e0405
🗳️ authorizeUpgrade hash:	0xd5f75dd68a1596813253fd82e922a2802debed854559e604a2bc8630cab86043
#️⃣ Blake2-256 hash:		0xbccd72f9467c9a303f5e8b63852e00bf75fb360a3507804bb7147184b4239edd
📦 IPFS:			QmSbNYQ6LtvG3FpU2XhjjnQPAoxJGju7Wyn5Jzc3f2trsp

Don't miss a new interbtc release

NewReleases is sending notifications on new releases.