feat(runtime): v0.0.25 — AgentIdentity pallet wired runtime composition Index 9
Phase 2.7 AGENT IDENTITY pallet wired canonical en frame_support::runtime macro
como Index 9 (post-Fees Index 8). 9 → 10 pallets composed canonical. Config trait
RuntimeEvent association wired canonical (pattern Provenance + Fees mirror).
## Changes
- crates/origin-chain-runtime/src/lib.rs:298 — Index 9 pub type AgentIdentity = origin_chain_agent_identity::Pallet<Runtime>
- crates/origin-chain-runtime/src/configs.rs:362 — impl origin_chain_agent_identity::Config for Runtime { type RuntimeEvent = RuntimeEvent }
- crates/origin-chain-runtime/Cargo.toml — origin-chain-agent-identity workspace dep + std feature
- crates/origin-chain-node/src/main.rs — 9 → 10 pallets listed + AgentIdentity Index 9 highlighted [Phase 2.7 scaffold v0.0.25]
- crates/origin-chain-agent-identity/src/lib.rs — Config constraint AccountId = origin_chain_types::AccountId REMOVED (usa T::AccountId generic compatible runtime ChainAccountId AccountId32) + storage updated + events updated
## Verification
- cargo build -p origin-chain-runtime 5.26s clean
- cargo test --workspace — 149 tests passing, 0 failures
- cargo build --release -p origin-chain-node 3.96s clean
- origin-chain-node info muestra 10 pallets canonical
🔌 Phase 2.7 wired canonical. Real impl v0.0.26 next.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
37ccf1e95a
commit
46a0188a1d
7 files changed
+91
-14
No files matched your search
@@ -360,3 +360,20 @@ impl origin_chain_provenance::Config for Runtime {
|
||||
impl origin_chain_fees::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// origin_chain_agent_identity::Config — Phase 2.7 v0.0.25 wired
|
||||
// ============================================================
|
||||
//
|
||||
// pallet-agent-identity scaffold canonical (Phase 2.7 AGI DIDs Inmutable #41
|
||||
// AGI Cross-Species Co-authorship). Scaffold-level Config canonical v0.0.25:
|
||||
// solo RuntimeEvent association. Future canonical fields post-Phase 2.7 DC
|
||||
// ratify pending:
|
||||
//
|
||||
// - `MaxAgentChainLen: Get<u32>` (BoundedVec bound canonical para agent_chain)
|
||||
// - Custom origin canonical para Hybrid agent registration (governance Phase 5)
|
||||
// - Pallet weights canonical desde benchmarking real (post-Phase 4 testnet)
|
||||
|
||||
impl origin_chain_agent_identity::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
}
|
||||
Reference in new issue
Block a user