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
@@ -191,7 +191,7 @@ fn print_info() {
|
||||
println!("Impl name: {}", IMPL_NAME);
|
||||
println!("Runtime version: {}", RUNTIME_VERSION);
|
||||
println!();
|
||||
println!("Pallets canonical (9):");
|
||||
println!("Pallets canonical (10):");
|
||||
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)");
|
||||
@@ -201,6 +201,7 @@ fn print_info() {
|
||||
println!(" • Index 6 Session (pallet_session 4h epoch rotation CHN-1)");
|
||||
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 scaffold v0.0.25]");
|
||||
println!();
|
||||
println!("Runtime APIs canonical (13):");
|
||||
println!(" • sp_api::Core (version + execute_block)");
|
||||
|
||||
Reference in new issue
Block a user