* add docs on param module deprecation * remove todos * fix doc * Update x/params/spec/README.md Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update UPGRADING.md Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
1004 B
1004 B
params (Deprecated)
Note: The Params module has been depreacted in favour of each module housing its own parameters.
Abstract
Package params provides a globally available parameter store.
There are two main types, Keeper and Subspace. Subspace is an isolated namespace for a paramstore, where keys are prefixed by preconfigured spacename. Keeper has a permission to access all existing spaces.
Subspace can be used by the individual keepers, which need a private parameter store
that the other keepers cannot modify. The params Keeper can be used to add a route to x/gov router in order to modify any parameter in case a proposal passes.
The following contents explains how to use params module for master and user modules.