[package] name = "origin-chain-governance" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true authors.workspace = true repository.workspace = true homepage.workspace = true description = "Foundation governance on-chain canonical: Proposal + Vote + Tally per CHN-4 AI-Driven Human-Guarded. Phase 5.1 v0.0.28 scaffold — humans-only vote enforced canonical, 5 AI advisor agents advise-only canonical." [dependencies] # Origin Chain canonical types (ProposalId + VoteStance + Vote source-of-truth) origin-chain-types = { workspace = true } # FRAME canonical pallet macro + storage + dispatch + events + errors frame-support = { workspace = true } frame-system = { workspace = true } # Runtime API canonical (v0.0.31 — GovernanceApi.query_proposal read-only RPC) sp-api = { workspace = true } # Substrate primitives canonical (BLAKE2 hashing canonical para derive_proposal_id) sp-core = { workspace = true } sp-runtime = { workspace = true } # SCALE codec canonical parity-scale-codec = { workspace = true } scale-info = { workspace = true } [dev-dependencies] # Mock runtime canonical para integration tests v0.0.30 — Pattern v0.0.26 mirror. sp-core = { workspace = true, default-features = true } sp-io = { workspace = true, default-features = true } sp-runtime = { workspace = true, default-features = true } [features] default = ["std"] std = [ "origin-chain-types/std", "frame-support/std", "frame-system/std", "sp-api/std", "sp-core/std", "sp-runtime/std", "parity-scale-codec/std", "scale-info/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", ]