Skip to content

1.21.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jan 18:48
· 665 commits to master since this release
e5b5656

interBTC 1.21.2 (2023-01-18)

This release contains the changes from 1.21.1 to 1.21.2.

Global Priority

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

Changes

  • chore: update cargo lock #863
  • chore: upgrade to nightly-2022-12-15 #812
  • feat(loans): update capacity model on exchange rate updates #853
  • docs: add examples to derive pallet accounts #854
  • feat: allow rewards to be paid in any currency #860
  • chore: use zenlink rev with custom exchange fees #858
  • feat(farming): benchmark weights #859
  • fix: print correct runtime version #585
  • test(loans): liquidation reward is auto-locked #849
  • feat: add farming pallet to distribute LP rewards #826
  • docs: add q4 quarkslab audit report #856
  • feat(loans): add loans accounts dust whitelist on testnets #841

Chore

  • upgrade to nightly-2022-12-15
  • update cargo lock
  • use zenlink rev with custom exchange fees
  • ensure we can unreserve full amount
  • update topmost doc comment
  • add on_initialize benchmark
  • update comment and remove todo
  • simplify schedule, add farming benchmarks and increase test coverage
  • upgrade to nightly-2022-12-15

Docs

  • add latest quarkslab report
  • add q4 quarkslab audit report
  • add examples to derive pallet accounts

Feat

  • allow rewards to be paid in any currency
  • add farming to kintsugi-testnet and standalone
  • add farming pallet to distribute LP rewards

Fix

  • capture kusama spec id to print correct runtime version

Refactor

  • track reward currencies per pool
  • use treasury account instead of pallet id
  • simplify farming reward schedule interface
  • don't write state if we fail to distribute rewards
  • explicit farming variable naming

Dependency changes

paritytech/substrate@7a4e516...7a4e516
paritytech/polkadot@32dd0c9...32dd0c9
paritytech/cumulus@fb8c5a3...fb8c5a3

Runtimes

Interlay

🏋️ Runtime Size:		1139551 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:		0x261c88ad91b3ceec7b83e789df3740fe73810c0b4a9353307a8df2f06982f3d6
🗳️ authorizeUpgrade hash:	0x37fdeb02b7aa2249611f60ef79c36b60437b08e300e220c595d57c779a84d895
#️⃣ Blake2-256 hash:		0xf4c60c32d025afff6dbea2ed52ed8ce085f5f6b649996591d930ac397362faf3
📦 IPFS:			QmctA322Tehha9g2JXBrcpH18CNcmani4222GNmT8VrCy2

Kintsugi

🏋️ Runtime Size:		1134366 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:		0x16dde9eed9019bc5772bc8c1ec70da614ff7b9c3bde09427b2fa1638664cc80e
🗳️ authorizeUpgrade hash:	0xac702bad98dd6401fcba84fc8670fc4b03a255cab5e4e92d92c29e4c59cb507b
#️⃣ Blake2-256 hash:		0xbc9c90737a007b765dc5b39724a47f89462253d91a053ab9177f71563b9c6deb
📦 IPFS:			Qmdg1Hk78JwKqXvbSNQrbRfN5gdCZzEygF9T5bxvjtAzTM

Testnet-Kintsugi

🏋️ Runtime Size:		1368348 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:		0x69447db978b9173289c29de2e5bc3318b56f8cca5c8f46e92b2ee70a1abcc2ed
🗳️ authorizeUpgrade hash:	0x9e072e92573d664ddcdffbf938f50b5e02e49f6a61ab726238186ba0da208506
#️⃣ Blake2-256 hash:		0x4949ce13b1b4f573d97418a55ea2e6276a3b01e984ed3261408dcae8b6767575
📦 IPFS:			QmdimMkxKaqT7y2y41jebbReriVfD8v2Fn4z88YhXFKyWP

Testnet-Interlay

🏋️ Runtime Size:		1207353 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:		0xeb32612f32370283efa2cf70bbc4a083f3236d1f355a7470a355fcc44c00bcde
🗳️ authorizeUpgrade hash:	0x8e42d3bd09b422263277ac9f0ccab593eac82a97b4aea381d5c4977b8c943e2c
#️⃣ Blake2-256 hash:		0x8cfed80c91e3fbca922ef788edb96c490d5c7baca4ca67a885c975aa162d5cd4
📦 IPFS:			QmVQfc432ys5A4Hxv9TNL4zg3fCtuso8ftkPbnmUJKjWhZ