Conversation
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #162 +/- ##
==========================================
+ Coverage 60.45% 60.51% +0.05%
==========================================
Files 600 601 +1
Lines 38791 38920 +129
==========================================
+ Hits 23452 23551 +99
- Misses 13366 13386 +20
- Partials 1973 1983 +10
|
* fix: [Cosmetic] Go linting * CI test run - setting golang v1.18.10
|
@@ Coverage Diff @@ main #162 +/-==========================================
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the Municipal Inflation mechanism.
Municipal(= Local) GOVERNANCE of distribution
The defining feature is the governance of the tokens generated(minted) by Municipal Inflation - tokens are minted on to predefined target address, and whoever controls access to that adress (e.g. it can be related private key, multisig wallet, contract, or possibly address of cosmos-sdk module) fully controls dictribution of tokens generated by the municipal inflation at that target address - hence the "Municipal" name (as opposed to trully decentralised governance distribution model(e.g. distrubution based on proportionality of users stake agains over all staked amount)).
If required, the Decentralisation can be achieved by using contract (which implements decentralised distribution of the inflated tokens) and setting address of such contract in to
target_address. This will “convert” Municipal distribution governance do Decentralised one, so to speak.CONFIGURATION
Municipal inflation is configured in
genesis.jsonlocated in themint.minter.municipal_inflationnode - see below the example.min.minternode in order to make the configuartion immutable = by design, it is NOT possible to change configuration of Municipal Inflation while network is running (e.g. via governance proposal). The only way how to change the configuration of Municipal Inflation is to restart the network.valuerepresents ANNUAL value of inflation in[1]unit ([%] = 100x[1]), what means that"value": 0.03equals to3%annual inflation