github KILTprotocol/kilt-node 1.8.0
KILT Node 1.8.0 (Optimal Optimizer)

latest releases: 1.14.5, 1.14.5-rc2, 1.14.5-rc1...
24 months ago

In this release, we introduce a major refactoring of our parachain staking pallet used for LDPoS: Rewards will not be moved into wallets of collators and delegators automatically. Instead, we migrate to a pull-based approach in which each user has to actively claim their rewards. However, the rewards will still be accounted automatically.

This idea was proposed by multiple users to reduce the number of Rewarded events. As a result, the scalability of our network is increased by orders of magnitude and it enables users to have full control over the timing for their reward. The latter should make tax reporting much easier. Unclaimed rewards come with an unlimited lifetime. Thus, from a technical perspective, there is no need to worry about claiming frequently.

We added runtime API calls to query the amount of your unclaimed rewards. Claiming these is fairly simple and can be done in a simple batch call. Our Stakeboard will also display the amount and provide means of claiming them easily.

For more details, please read out blogpost on Medium.

What's Changed

Peregrine only

Public Credentials will be enabled only on Peregrine to make testing possible. It will most likely be enabled on Spiritnet in the 1.9.0 release.

  • feat: asset DIDs and public credentials by @ntn-x2 in #378

Full Changelog: 1.7.5...1.8.0

Breaking changes (API, Types):

Staking

  • The extrinsicsdelegator_stake_more and delegator_stake_less do not require a candidate id as input anymore. Thus we bumped the transaction version of the runtime.
  • DelegatorState is now of type Stake and only points to a single collator candidate AccountId instead of an array of length 1

Runtime API

  • Removed runtime API DidApi after adding the Did variant in 1.7.5
    • DidApi.query_did --> Did.query
    • DidApi.query_did_by_w3n --> Did.query_by_web3_name
    • DidApi.query_did_by_account_id --> Did.query_by_account

WASM

Spiritnet

 Rustc       : rustc 1.64.0 (a55dd71d5 2022-09-19)
 Time        : 2022-11-16T09:42:46Z
== Compressed
 Version          : [object]
 Metadata         : V14
 Size             : 897.40 KB (918942 bytes)
 Compression      : 80.96%
 setCode          : 0xa8da5e3cb96654d9182bad499309e568c24dd7b92e477a034cce810f0aeac17b
 authorizeUpgrade : 0xd53f5c27b81a09ae90e368645c7b848eccb22d7e85338054fc53d031a53c67e4
 IPFS             : QmfWDs1YC8uVAt2HW37bzuwv9o6EiRvtp43qa5nxdQ9uQE
 BLAKE2_256       : 0xd4973ebc57d9f0b98ca5ea8f397abf5c3a74a48da2eb8ae2451eaba34128df32
 Wasm             : runtimes/spiritnet/target/srtool/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm

Peregrine

 Rustc       : rustc 1.64.0 (a55dd71d5 2022-09-19)
 Time        : 2022-11-16T09:38:15Z
== Compressed
 Version          : [object]
 Metadata         : V14
 Size             : 938.03 KB (960545 bytes)
 Compression      : 81%
 setCode          : 0x543cb89e6236e63a381f070d51fb02b727e9f4b79c0ea3812d89ebd65d4dd94f
 authorizeUpgrade : 0xd24ee7a13b2726b440bfb4845b5cc8746272f7384bc95549ac7f12a95cf64c96
 IPFS             : QmU7bFgAyV3Fa8YXnByN4MUN9ms3QhZeD7Pf31ZMb5irAy
 BLAKE2_256       : 0x28df4664c64de9e1f3c3444756f48d475e0ea376a689fc9ef720c03f91ff2cd1
 Wasm             : runtimes/peregrine/target/srtool/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm

Don't miss a new kilt-node release

NewReleases is sending notifications on new releases.