feat(runtime): Phase 2.1 v0.0.15 — Provenance pallet wired runtime + BoundedVec agent_chain
8 pallets composed total (Provenance Index 7 wired canonical). DC PROVENANCE_PALLET_V1 5/10 firmas en ratificación — procediendo paralelo per "notify and continue" canonical. Deliverables canonical: - Pallet wire: configs.rs Config impl + lib.rs runtime composition macro pallet_index(7) Provenance - Alias `Provenance` (NO OriginProvenance que conflictaría con trait existente) - BoundedVec<AccountId, ConstU32<10>> replace Vec en AssetAttestation.agent_chain - Inmutable #41 pragmatic bound canonical: max 10 AGI co-authors per asset - Removed #[pallet::without_storage_info] (MaxEncodedLen ahora satisfied) - AccountId + Signature: DecodeWithMemTracking derive added (FRAME stable2512+ requirement) - AssetAttestation: Encode/Decode/DecodeWithMemTracking/MaxEncodedLen/TypeInfo SCALE derives - 4 nuevos tests boundary canonical (max 10 enforce + boundary accepted + SCALE roundtrip) Verification end-to-end: - cargo check workspace verde 2.14s - 82+ tests pass workspace - cargo build release 5.57s clean - info subcommand muestra 8 pallets (Provenance index 7) - build-spec subcommand NO regression Slice 3 mock-WASM chain_spec Roadmap canonical post-v0.0.15: - v0.0.16 Real Ed25519 verify (post Ergon Cap 42+ sub-crate) - v0.0.17 Runtime API verify_provenance PROV-8 - v0.1.0 Full integration testnet Q3 2026 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
4359515f45
commit
e0c5e8be18
11 files changed
+178
-23
No files matched your search
@@ -40,6 +40,10 @@ pallet-aura.workspace = true
|
||||
pallet-grandpa.workspace = true
|
||||
pallet-session.workspace = true
|
||||
|
||||
# Charon custom pallets Phase 2.x (per DCs)
|
||||
# Phase 2.1 v0.0.15: pallet-origin-provenance scaffold canonical wired
|
||||
origin-chain-provenance.workspace = true
|
||||
|
||||
# pallet-identity DEFERRED a Phase 2.7 (canonical decision empírica 2026-05-21)
|
||||
|
||||
# RuntimeAPI canonical (sp_api::impl_runtime_apis! consumers)
|
||||
@@ -93,6 +97,7 @@ std = [
|
||||
"pallet-aura/std",
|
||||
"pallet-grandpa/std",
|
||||
"pallet-session/std",
|
||||
"origin-chain-provenance/std",
|
||||
"sp-offchain/std",
|
||||
"sp-genesis-builder/std",
|
||||
"sp-transaction-pool/std",
|
||||
|
||||
Reference in new issue
Block a user