Fork of Cosmos SDK v0.50.x for AtomOne.
This fork is based on Cosmos SDK v0.50.x. Its changes fall into two groups: features developed specifically for AtomOne, and features backported from later or related Cosmos SDK work that the v0.50.x line does not include. See the CHANGELOG.md for the complete, versioned list.
- Governors (
x/gov). A new class of participants — governors — can hold delegated voting power. Users may self-elect as governors (subject to a minimum self-delegation) and delegate their voting power to one, decoupling governance participation from staking. Upstreamed from the AtomOne governance module. See thex/govREADME. - Dynamic governance parameters (
x/gov). The minimum deposit, minimum initial deposit, and quorum adjust dynamically to network activity. - Removed
MsgCancelProposalfromx/gov. - Nakamoto Bonus (
x/distribution, ADR-004). Block rewards are split into a stake-proportional part and a fixed bonus shared equally across validators, to incentivize decentralization; the bonus coefficient is recomputed each epoch. This replaces the proposer-reward parameters (base_proposer_reward,bonus_proposer_reward), which were removed. See thex/distributionREADME. - Validator commission updates (
x/staking). Existing validator commissions are updated when the commission parameters change. - Custom ABCI query router (
baseapp). Re-added for custom ABCI queries — the Cosmos SDK removed it. - Mono
go.mod. Non-forkedcosmossdk.io/*modules were removed from the repository; only the forked SDK and thecosmossdk.io/x/upgrademodule are maintained here. Everything else is consumed from upstream releases.
These are absent from the v0.50.x base but originate in newer or related Cosmos SDK code:
x/epochsmodule. A generalized epoch/timer system that lets modules hook into periodic execution (used by the Nakamoto Bonus). Backported from the upstream lineage (cosmossdk.io/x/epochs, originally from Osmosis). See thex/epochsREADME.- App version connected to consensus params (
baseapp).SetProtocolVersionis renamed toSetAppVersionand stores the app version in baseapp's consensusParamStore. Backport of Cosmos SDK #16244 (with parts of #23622 and #21508). - Consensus key rotation (
x/staking, ADR-016). Validators can rotate their consensus key viaMsgRotateConsPubKey. Backport of the Cosmos SDK ADR-016 feature. See ADR-016. - Grant-pruning limits (
x/authz). At most 200 expired grants pruned per block, plus aPruneExpiredGrantsmessage. Backport of Cosmos SDK #18737. - Legacy global account number (
x/auth). Falls back to the legacy global account-number key when querying historical state from before the counter was migrated to collections storage. Backport from the crypto.com (Cronos) Cosmos SDK fork (#1353).