Skip to content

Mega parameter upgrade proposal #3626

@bedeho

Description

@bedeho

Background

We currently have quite a few parameters, that is mutable storage values that impact business logic, in the runtime, and we will get more in the future.
#4225

Right now, we have followed the approach of updating each proposal individually, this is fine, but it also leads to at least the following two problems

  1. We need a very very large number of proposal types
  2. There may be many cases, some of which we are unlikely to be able to anticipate in advance, where you really want to make a coordinated change to a number of parameters simultaneously. The canonical example would be to change all Balance values in a coordinated way because of a long run persistent change in the asset value of a $JOY.

Dependency

#4225

Proposal

Introduce a new proposal which allows the caller to optionally specify a new value for every single parameter value in the system currently updatable by a proposal. In particular, all parameters that emerge from this exercise should be included

#4225

┆Issue is synchronized with this Asana task by Unito

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions