Skip to content

atomone-hub/atomone-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11,960 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cosmos SDK for AtomOne

Fork of Cosmos SDK v0.50.x for AtomOne.

Differences from the Cosmos SDK

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.

AtomOne-specific changes

  • 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 the x/gov README.
  • Dynamic governance parameters (x/gov). The minimum deposit, minimum initial deposit, and quorum adjust dynamically to network activity.
  • Removed MsgCancelProposal from x/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 the x/distribution README.
  • 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-forked cosmossdk.io/* modules were removed from the repository; only the forked SDK and the cosmossdk.io/x/upgrade module are maintained here. Everything else is consumed from upstream releases.

Backported from later/related Cosmos SDK work

These are absent from the v0.50.x base but originate in newer or related Cosmos SDK code:

  • x/epochs module. 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 the x/epochs README.
  • App version connected to consensus params (baseapp). SetProtocolVersion is renamed to SetAppVersion and stores the app version in baseapp's consensus ParamStore. Backport of Cosmos SDK #16244 (with parts of #23622 and #21508).
  • Consensus key rotation (x/staking, ADR-016). Validators can rotate their consensus key via MsgRotateConsPubKey. 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 a PruneExpiredGrants message. 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).

About

⛓️ A Framework for Building High Value Public Blockchains ✨

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages

  • Go 89.3%
  • C 8.6%
  • Java 0.4%
  • Sage 0.4%
  • Assembly 0.4%
  • Makefile 0.3%
  • Other 0.6%