//
Network parameter handling
Search
Duplicate
Try Notion
Network parameter handling
Concept
The Params module is extended from the Cosmos SDK's params module. It provides a global parameter store for modules within the network. The module comprises two key types: Keeper and Subspace. Subspace allows for isolated namespaces in the parameter store, where keys are prefixed with a designated namespace, while the Keeper has permission to access all existing namespaces.
Currently, KIRA only uses the Params module as it is a dependency of the Auth module. The Params module ensures that the Auth module parameters can be modified as needed through the x/gov router via a proposal. However, as these parameters are not currently being utilized, the Params module might be deprecated in the future.
For example, here is how the Auth module's Params structure is defined in the Protobuf message format:
Protobuf
Copy
protoCopy code message Params { uint64 max_memo_characters = 1; uint64 tx_sig_limit = 2; uint64 tx_size_cost_per_byte = 3; uint64 sig_verify_cost_ed25519 = 4; uint64 sig_verify_cost_secp256k1 = 5; }