docs: actualize x/ module specs to match v6+ codebase#800
Open
saint-Joy wants to merge 13 commits into
Open
Conversation
Key changes: - Replace rechargeable battery model with permanent volt burn model - Fix gRPC paths to match proto definitions (neuron, total) - Add missing BaseLoad parameter with validation rules - Update defaults to match code (RecoveryPeriod: 100, MaxBlockBandwidth: 10000) - Replace investmint references with mint (resources module) - Note price adjustment disabled since v6, fixed at BasePrice - Add MsgUpdateParams governance message to API - Fix CLI subcommands to match actual implementation (neuron, total) - Use protobuf definitions for state types Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Abstract and concepts now reflect both BeginBlocker and EndBlocker support - Remove stale TODO about per-contract gas limit (already implemented) - Remove HTML order comments and bold formatting - Compact tables and descriptions - Add parameter default and validation to state doc Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ndex - Fill empty concepts: proxy pattern, 2% transfer burn, transfer hooks, ampere index - Document in-memory state maps and dual-snapshot loading - Document state transitions: SendCoins burn flow, EndBlocker stake update, change detection - Add 2% burn mechanism to README abstract - Remove bold formatting from contents Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ocument fee bypass and ampere routing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rewrite spec from generic Cosmos SDK copy to match go-cyber implementation. Add pool lifecycle (create, deposit, withdraw, depleted), queries, WASM bindings (deprecated), errors, and CLI sections. Renumber files 00-11. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Stake-weighted PageRank module: concepts (algorithm, quality-over-quantity incentive, calculation cycle, negentropy), queries, state, end-block, messages, parameters, WASM bindings, CLI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rewrite to match current code: hydrogen is burned (not locked), resources available immediately (1-sec vesting for UI compat), length param ignored (maxPeriod used). Document halving/doubling compensation, supply decay as real growth curve, maxPeriod as virtual value. Fix param defaults, mark MaxSlots and MinInvestmintPeriod as legacy. Add MsgUpdateParams, rename energy→resources, agent→neuron. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Wrapper around Cosmos SDK staking with hydrogen coupling: delegate mints hydrogen, undelegate burns it, cancel unbonding re-mints. Documents the 1:1 relationship between staked BOOT and circulating hydrogen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Permissionless token creation module with admin capabilities: create, mint, burn, force-transfer, change-admin, set-metadata. Documents capabilities system, WASM bindings, creation fee exemption for contracts, and all 10 error codes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rewrite concept and definition sections to say what IS instead of what is not. Error descriptions and validation messages left as-is — only definitions, concepts, and abstracts affected. 18 files across 10 modules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
|
funded |
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.
Summary
neuron,totalinstead ofaccount,desirable)BaseLoadparameter (default: 0.10) with validation rulesRecoveryPeriod: 100,MaxBlockBandwidth: 10000)investmintreferences withmintviaresourcesmoduleBasePriceMsgUpdateParamsgovernance message to API specTest plan
proto/cyber/bandwidth/v1beta1/query.protox/bandwidth/types/params.gox/bandwidth/types/keys.gox/bandwidth/types/errors.go🤖 Generated with Claude Code