feat(runtime): v0.0.29 — Governance pallet wired runtime composition Index 10

Phase 5.1 GOVERNANCE pallet wired canonical en frame_support::runtime macro como
Index 10 (post-AgentIdentity Index 9). 10 → 11 pallets composed canonical. Config
trait RuntimeEvent association wired canonical (pattern Provenance + Fees +
AgentIdentity mirror).

## Changes

- crates/origin-chain-runtime/src/lib.rs:315 — Index 10 pub type Governance = origin_chain_governance::Pallet<Runtime>
- crates/origin-chain-runtime/src/configs.rs:382 — impl origin_chain_governance::Config for Runtime
- crates/origin-chain-runtime/Cargo.toml — origin-chain-governance workspace dep + std feature
- Cargo.toml — origin-chain-governance workspace dep default-features = false (no_std-compat)
- crates/origin-chain-node/src/main.rs — 10 → 11 pallets listed + Governance Index 10 highlighted

## Verification

- cargo build -p origin-chain-runtime 15.69s clean
- cargo test --workspace — 165 tests passing, 0 failures
- origin-chain-node info muestra 11 pallets canonical

🔌 Phase 5.1 wired canonical. Real impl v0.0.30 next.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
davidherranandClaude Opus 4.7 committed 2026-05-25 12:43:30 -05:00
1 parent 1bde93921e
commit 2a700ee6ca
7 files changed
+61 -2

No files matched your search

+2 -1
View File
@@ -191,7 +191,7 @@ fn print_info() {
println!("Impl name: {}", IMPL_NAME);
println!("Runtime version: {}", RUNTIME_VERSION);
println!();
println!("Pallets canonical (10):");
println!("Pallets canonical (11):");
println!(" • Index 0 System (frame_system foundational)");
println!(" • Index 1 Timestamp (pallet_timestamp block clock → Aura)");
println!(" • Index 2 Balances (pallet_balances OGC token CHN-2)");
@@ -202,6 +202,7 @@ fn print_info() {
println!(" • Index 7 Provenance (pallet_origin_provenance asset attestation CHN-7) [Phase 2.1 COMPLETE v0.0.17]");
println!(" • Index 8 Fees (pallet_origin_fees cross-pillar economy OCAFB-1..6) [Phase 2.4 COMPLETE v0.0.23]");
println!(" • Index 9 AgentIdentity (pallet_agent_identity AGI DIDs Inmutable #41) [Phase 2.7 COMPLETE v0.0.27]");
println!(" • Index 10 Governance (origin_chain_governance Foundation Treasury CHN-4) [Phase 5.1 scaffold v0.0.29]");
println!();
println!("Runtime APIs canonical (14):");
println!(" • sp_api::Core (version + execute_block)");