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;
|
||||
}
|
||||
@@ -295,7 +295,20 @@ mod runtime {
|
||||
#[runtime::pallet_index(8)]
|
||||
pub type Fees = origin_chain_fees::Pallet<Runtime>;
|
||||
|
||||
// Identity pallet DEFERRED a Phase 2.7 (canonical decision empírica
|
||||
/// AgentIdentity pallet canonical (Phase 2.7 v0.0.25 wired canonical per
|
||||
/// CHN-7 + Inmutable #41 AGI Cross-Species Co-authorship). AGI DIDs
|
||||
/// canonical on-chain — AGIs first-class citizens del Origin Metaverse
|
||||
/// pueden owning assets + signing transactions + DAO voting via DIDs
|
||||
/// registrados. Scaffold-level v0.0.25: dispatchable `register_agent_did`
|
||||
/// placeholder, real impl v0.0.26 + Runtime API v0.0.27.
|
||||
///
|
||||
/// Naming canonical: alias `AgentIdentity` clearly distinguishes from
|
||||
/// Substrate's `pallet-identity` (deferred canonical decision Phase 2.7
|
||||
/// empírica 2026-05-21 documentada en configs.rs).
|
||||
#[runtime::pallet_index(9)]
|
||||
pub type AgentIdentity = origin_chain_agent_identity::Pallet<Runtime>;
|
||||
|
||||
// Substrate pallet-identity DEFERRED canonical (decision empírica
|
||||
// 2026-05-21 documentada en configs.rs). pallet-identity 41.0.0 ReservableCurrency
|
||||
// compat work canonical hereda al custom `pallet_agent_identity` Phase 2.7
|
||||
// (Inmutable #41 AGI DID Cross-Species Co-authorship).
|
||||
|
||||
Reference in new issue
Block a user