Skip to content

1.20.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Nov 10:48
· 833 commits to master since this release
47bfef0

interBTC 1.20.0 (2022-11-25)

This release contains the changes from 1.19.1 to 1.20.0.

Global Priority

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

Changes

  • fix: testnet-kintsugi build #789
  • fix(loans): oracle integration #785
  • chore: bump spec_version to 1.20.0 #787
  • fix: disable timestamp hook in testnet s.t. instant seal works #786
  • refactor: harmonize reward and staking apis #779
  • feat: add hook for aggregate change #778
  • Collateral Toggle #754
  • Feat: nomination commission #760
  • fix: use aura timestamp hook #777
  • chore: update max block weight comment #774
  • chore: move bitcoin data to tld #773
  • refactor: remove module prefix from rpc pallets #771
  • chore: upgrade to polkadot-v0.9.31 #768
  • feat(loans): rpc api #762
  • chore: add protobuf-compiler to docs build #766
  • chore: remove pallet prefix from loans / traits and enable std in run… #764
  • chore: upgrade to polkadot-v0.9.30 #763
  • Lending protocol #737
  • feat(loans): pTokens currency and oracle integration #3
  • chore: remove unused storage versions, set issue default to v4 #734
  • chore: remove unused vault migrations and update interlay version #733
  • chore: remove executed kintsugi collator-selection migration #732
  • Lockable, transferrable pTokens #2
  • Lending Protocol #1

Chore

  • bump spec_version to 1.20.0
  • update max block weight comment
  • move bitcoin data to tld
  • change ordering of multisig tests
  • set max proof size
  • run all migrations for call changes
  • cleanup dependencies, sp-core no-std
  • cargo fmt
  • change cumulus imports, update clap v4, scheduler migration
  • update dependencies to polkadot-v0.9.31
  • add protobuf-compiler to docs build
  • remove pallet prefix from loans / traits and enable std in runtimes
  • rename outer enums in tests
  • rename outer event in mocks
  • install protobuf-compiler in actions
  • cargo fmt
  • update scale-info and parity-scale-codec
  • rename outer enums, update service
  • update dependencies to polkadot-v0.9.30
  • remove executed kintsugi collator-selection migration
  • remove unused storage versions, set issue default to v4
  • remove unused vault migrations and update interlay version
  • fix toml files
  • bump toolchain to match lending pallet

Feat

  • add hook for aggregate change
  • implement nomination commission
  • use latest orml

Fix

  • testnet-kintsugi build
  • disable timestamp hook in testnet s.t. instant seal works
  • use aura timestamp hook
  • withdraw from reward pool when changing vault collateral
  • democracy enact_proposal shouldn't use max weight
  • loans rpc imports

Refactor

  • harmonize reward and staking apis
  • remove module prefix from rpc pallets
  • use same MaximumSchedulerWeight as on polkadot / kusama

Test

  • additional nomination reward tests

Dependency changes

https://github.com/paritytech//substrate/compare/cc370aa61e15c18d23a2f686b812fd576a630afe...7a4e5163091384c4c10b6d76f5cb80dac0834f38
/compare/94078b44fb6c9767bf60ffcaaa3be40681be5a76...
https://github.com/paritytech//cumulus/compare/2fa95572487cfcf8dbe6941bf93545c39d47f784...fb8c5a3d0800ebdebe14bd0e708d2a348f976d9e

Runtimes

Interlay

🏋️ Runtime Size:		1122924 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:		0xb3a20cc99ed3402d4b993aa10f7a1949ae3bf957ab97a472c5235063f6850e9c
🗳️ authorizeUpgrade hash:	0xb7a97921b3f1016efd601eefc6a3a4bc3a3ec3d27fd8f19108926fbdc84b9dfb
#️⃣ Blake2-256 hash:		0x0a651e839787e29da40b1c177e2169e18e6295f9b117e9e12391785556ff735d
📦 IPFS:			QmSdqWGyp1o7ZYVHX1bRAEwRB3ZX3gY1D8gFAguUcpzQTD

Kintsugi

🏋️ Runtime Size:		1122782 bytes
🔥 Core Version:		{'specName': 'kintsugi-parachain', 'implName': 'kintsugi-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], ['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:		0x03dd922ec3c38c3f03cfc2b7a76f959ed05e8de035f39504f5b6bd7581b31db0
🗳️ authorizeUpgrade hash:	0xc663ca520d70b1bb4c33f7d36af144681952f319259381a08f3a0b6059658284
#️⃣ Blake2-256 hash:		0xaea2be02e2d56b6910f263e47bfa43ac0655ba96574b74d53949d82ab9421840
📦 IPFS:			QmTSjgfpVwXnFNaEwxqrPWUs3XVoGgHhdsxGBNZXSmNSLM

Testnet-Kintsugi

🏋️ Runtime Size:		1185168 bytes
🔥 Core Version:		{'specName': 'testnet-kintsugi', 'implName': 'testnet-kintsugi', '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:		0x0417b3f0a71b1d7b9eac05a2d09d960815a87b6f0fa82eac4fae748ad216d222
🗳️ authorizeUpgrade hash:	0x097322c66575a14e7983eb0f0495a0f4f6d927392b2efa084367b0d221f279cc
#️⃣ Blake2-256 hash:		0xf3a2abf104e4b01640cfbf522f0b616ce8f3c671c86809471eef349a3c1978a1
📦 IPFS:			QmfZAGQ8ooBWacNmUDydDeSCFnqoMf9E2wM9M1ypJkGLxx

Testnet-Interlay

🏋️ Runtime Size:		1185810 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:		0x02e036456b395065076b559d3581c389af4d89c1bd3ea092e92e06740ca86dbc
🗳️ authorizeUpgrade hash:	0x93f30b87e3f429e67b15597f52201420f382f0c1fd3f8b854f407b1d2fc29670
#️⃣ Blake2-256 hash:		0x523be01c4fbd50585da73f418158405e3de66bfaf1fe9c153ab20117fd3b8170
📦 IPFS:			QmRcj2NkNkLQgoprYwYCoy1gR6uFiCy9yP8M4asxe7F3rs