[package] name = "origin-chain-provenance" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true authors.workspace = true repository.workspace = true homepage.workspace = true description = "Asset attestation pallet canonical per CHN-7. Phase 2.1 scaffold v0.0.14 — trait-first foundation pattern. Real impl post Ergon arkhe-noesis-attestation-types Cap 42+ sub-crate." [dependencies] # Origin Chain canonical types (vendor ValidationAttestation interim Option B) origin-chain-types = { workspace = true } # FRAME canonical pallet macro + storage + dispatch + events + errors frame-support = { workspace = true } frame-system = { workspace = true } # Runtime API canonical (v0.0.17 PROV-8 — verify_provenance read-only RPC query) sp-api = { workspace = true } # Crypto canonical. FIX-4: sp-io host function ed25519_verify (no bloatea wasm, # precedente FIX-3 agent-identity) + blake3 para dedup. ed25519-dalek se mantiene # solo para los fixtures de test (dev-deps) — el runtime usa sp_io. blake3 = { workspace = true } # FIX-4 (V3-C1): verificacion Ed25519 on-chain via host function + genesis read. sp-core = { workspace = true } sp-io = { workspace = true } # SCALE codec canonical parity-scale-codec = { workspace = true } scale-info = { workspace = true } # Benchmarking canonical (FRAME v2) — optional, solo activo bajo runtime-benchmarks. frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] # Mock runtime canonical para integration tests — PROV-3 E2E flow + golden # vectors ASP-3. ed25519-dalek solo aqui (fixtures); el runtime usa sp_io. sp-core = { workspace = true, default-features = true } sp-io = { workspace = true, default-features = true } sp-runtime = { workspace = true, default-features = true } ed25519-dalek = { workspace = true, default-features = true } [features] default = ["std"] std = [ "origin-chain-types/std", "frame-support/std", "frame-system/std", "sp-api/std", "sp-core/std", "sp-io/std", "parity-scale-codec/std", "scale-info/std", "frame-benchmarking?/std", ] runtime-benchmarks = [ "dep:frame-benchmarking", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", ]