---
# System prepended metadata

title: Proposal to update `min_untrusted_score` in Kusama
tags: [' opengov', kusama, ' staking']

---

---
title: Proposal to update `min_untrusted_score` in Kusama
tags: kusama, staking, opengov
---

## Proposal to update `min_untrusted_score` in Kusama

> Add to proposal comments:

On [2022-12-12](https://kusama.subsquare.io/referenda/referendum/16) this [referendum proposal](https://kusama.polkassembly.io/referenda/16) was executed to, among other things, lower the `min_untrusted_score` to deal with a [mass slashing incident](https://forum.polkadot.network/t/kusama-era-4543-slashing/1410) in Kusama.

This proposal aims at updating the current `min_unstrusted_score` in Kusama back to sensible values. The new minimum untrusted score was calculated by averaging the last 30 election scores and halving them (starting from election at block [#17416892](https://kusama.subscan.io/block/17416892)).

When enacted, this proposal will change the current untrusted minimum score in Kusama from

```
{
  minimalStake: '1,722,238,583,242,009',
  sumStake: '2,171,296,385,410,646,127',
  sumStakeSquared: '62,184,223,048,402,160,114,561,549,513,680,866'
}
```

to
```
{
  minimalStake: '2,957,640,724,907,066',
  sumStake: '3,471,819,933,857,856,584',
  sumStakeSquared: '78,133,097,080,615,021,100,202,963,085,417,458'
}

```


---
### Calls generated from `joepetrowski/opengov-submit`

Proposal: https://kusama.polkassembly.io/referenda/151

Extrinsic: https://kusama.subscan.io/extrinsic/0x85915a0b92803838746911d54e495eabe8f4986b0e816cc59caed672359d7b76


- Submit the preimage for the public referendum:
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x2000cc2501013a04c864f5810a00000000000000000048bcb7d9d5612e300000000000000000f2dbb9693c6a9d80edcebf54420c0f00

- Open a public referendum to dispatch the call:
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x15002b00021bd7c0d6bfffba077faac0dad95e43f8ea6b5d87d9cf28fa5efb1fa4d27ad88233000000010a000000

- Batch including all calls:
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/extrinsics/decode/0x1804082000cc2501013a04c864f5810a00000000000000000048bcb7d9d5612e300000000000000000f2dbb9693c6a9d80edcebf54420c0f0015002b00021bd7c0d6bfffba077faac0dad95e43f8ea6b5d87d9cf28fa5efb1fa4d27ad88233000000010a000000

---

Raw ext values to submit
```
min_stake: 2957640724907066, 2.9576 kKSM
sum_stake: 3471819933857856584, 3.4718 MKSM
sum_stake_squared: 78133097080615021100202963085417458, 78.1330 ZKSM
```

Encoded call data
```
0x2501013a04c864f5810a00000000000000000048bcb7d9d5612e300000000000000000f2dbb9693c6a9d80edcebf54420c0f00
```

Encoded call hash
```
0x1bd7c0d6bfffba077faac0dad95e43f8ea6b5d87d9cf28fa5efb1fa4d27ad882
```

https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama.public.curie.radiumblock.co%2Fws#/extrinsics/decode/0x2501013a04c864f5810a00000000000000000048bcb7d9d5612e300000000000000000f2dbb9693c6a9d80edcebf54420c0f00
```
encoding details
callindex 2501
maybenextscore 01
minimalstake 3a04c864f5810a000000000000000000
sumstake 48bcb7d9d5612e300000000000000000
sumstakesquared f2dbb9693c6a9d80edcebf54420c0f00
```


