paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.92k stars 709 forks source link

Clear process to update `MinimumUntrustedScore` #456

Open kianenigma opened 2 years ago

kianenigma commented 2 years ago

We deployed this last year, and it is a great security addition, but we need a better way to update it.

Currently I mostly do it manually, every quarter or so, through a proposal to the governance.

We need a new system where this value is updated automatically, either via bots offchain, or preferably via a simple onchain mechanism.

The onchain mechanism should still be overwritten by any governance controlled origin.

This is the blocker for https://github.com/paritytech/substrate/pull/11703 and alike as well.

kianenigma commented 1 year ago

an urgent sub-task of this is to table a proposal to kusama, reverting the existing values that are fairly low in response to a recent slashing incident.

Screenshot 2023-04-01 at 21 19 21
gpestana commented 1 year ago

A simple and low overhead solution to update the MinimumUntrustedScore on-chain https://hackmd.io/IwJiYgMwRKer0e7khbLhUQ