Skip to content

1.21.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jan 14:51
· 615 commits to master since this release
1a1afa9

interBTC 1.21.4 (2023-01-25)

This release contains the changes from 1.21.3 to 1.21.4.

Global Priority

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

Changes

  • feat: add zenlink rpcs to parachain service #886
  • Remove Assets config type from Loans pallet #885
  • feat: add rpc to compute farming reward #872
  • fix: use precise stake in reward calculation #888
  • fix: set stake in reward pool to 0 when vault is not accepting new issues #884
  • fix: kintsugi authorship config should use collator-selection hook #883
  • test: vault rewards rpc in case of 0 collateral #882
  • refactor: bound entries in collator-selection #879
  • fix: estimate vault reward rate for lend token vault collateral #880
  • fix(loans): cargo docs #878
  • chore: include code substitution in kintsugi chainspec #877
  • fix: update capacity on exchange rate change #876
  • refactor: allow deposit in reward pool without schedule #871
  • fix(loans): remove logic that redeems locked lend tokens #870
  • [BREAKING] chore: upgrade to polkadot 0.9.36 #802
  • [BREAKING] Feat: tx pause #855
  • refactor: de-duplicate vault reward rpc #868
  • Lending doc comments #867
  • chore(loans): remove withdraw_missing_reward extrinsic #865

Chore

  • include code substitution in kintsugi chainspec
  • upgrade to polkadot 0.9.36
  • add missing try-runtime feature
  • fmt

Feat

  • add zenlink rpcs to parachain service
  • add rpc to compute farming reward
  • add tx-pause to all runtimes
  • tx-pause fork

Fix

  • use precise stake in reward calculation
  • set stake in reward pool to 0 when vault is not accepting new issues
  • kintsugi authorship config should use collator-selection hook
  • only register MaxCandidates-1 candidates initially
  • estimate vault reward rate for lend token vault collateral
  • update capacity on exchange rate change
  • restore missing basecallfilter items
  • get tx-pause to compile

Refactor

  • bound entries in collator-selection
  • allow deposit in reward pool without schedule
  • remove StatusCode::Shutdown
  • de-duplicate vault reward rpc

Test

  • vault rewards rpc in case of 0 collateral
  • integration tests for tx-pause

Dependency changes

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

Runtimes

Interlay

🏋️ Runtime Size:		1158075 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', 2], ['0x22b97323b9e853da', 1], ['0x60aed43cb52456f1', 1], ['0x5179b539a332ab9a', 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:		0x8a76278d4774e9bebc8debfe76696528a4795f5c0d925ef3719e28ae47afb009
🗳️ authorizeUpgrade hash:	0xd3a99c9de7c52fcb02c3b3d224482d53ecdb86527e4faecff073e6e0ba48f543
#️⃣ Blake2-256 hash:		0x17adb4ff4b33e92fe93dcf055516a526612bbc23e48feebf92b840d5b47f266c
📦 IPFS:			QmX8VnCb4umNpQgStn7f5XiELP8tTDT1jUyHAJhsHEYDe7

Kintsugi

🏋️ Runtime Size:		1152745 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', 2], ['0xc6b106fa1a388380', 1], ['0x6ef953004ba30e59', 1], ['0x16da96d36c6d5bb7', 1], ['0xcbfba9ca38dbdb1a', 1], ['0xc1e19f5c3385297a', 1], ['0xcaf39b979a6880bd', 1], ['0x69e2e1aa421f4fb0', 1], ['0x2be5cb02b0a56e73', 1], ['0x22b97323b9e853da', 1], ['0x60aed43cb52456f1', 1], ['0x5179b539a332ab9a', 1]], 'transactionVersion': 3}
🎁 Metadata version:		V14
🗳️ system.setCode hash:		0x46c19a9947cf94257c772b597d584f557f12d2155d95dea65e4c8c920e4036e2
🗳️ authorizeUpgrade hash:	0xe0885ee6980f68da26111d04abd14a922c58bdd0782dadb460437a9cff096960
#️⃣ Blake2-256 hash:		0x579765d7c2229f4278b683777e7b23e1ff56947c319e4d2c7068188164f6a499
📦 IPFS:			QmTKWsBBiqZa9QP58p76N8HoZZW83NXfc17kJ9B5P9Yzqq

Testnet-Kintsugi

🏋️ Runtime Size:		1356630 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', 2], ['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:		0x9bf2cdbfee31252268a8210fc4e673ffb571bba2dc6ea6a281a55d5893204b53
🗳️ authorizeUpgrade hash:	0xbf68248b23969689c58658be9f7e0f84c7e77a7f92ac7133d460c4970ba284ff
#️⃣ Blake2-256 hash:		0x044958e9ebe6e1c3daef1cae8f4a6c60b521a74de046769d9114f4b21c6bc3ed
📦 IPFS:			QmX8U2JuwGChMxC3qxAJ9ZAHw8PyaiFimWQnpSjrWurjU3

Testnet-Interlay

🏋️ Runtime Size:		1353040 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', 2], ['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:		0xaf6c87bb4946e6c3d85b3515d6fb3c0975ff4b2a49101f1468168c1516532532
🗳️ authorizeUpgrade hash:	0xf1cbe2ef1d6489923b3a4886749b5f8b2105f5d184b33f613bed6e1486c5feda
#️⃣ Blake2-256 hash:		0x32726fc2afd131e91bda3a2e5cf352079c46c63da280f2ff453ed3c54a13b3d5
📦 IPFS:			QmYGTtfg2J89MwtMh2dA4Aj21qTbaUzR3sQh4veYntg5Br