open-standards/jcp/jcp-rs/crates/jcp-efficiency/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dcharlot65-transactionsci 57a9e5596c
jcp-efficiency: commit an attested energy figure into efficiency/1 (#30)
Add an optional energy_attestation field: a content-id commitment to the raw
attestation-report bytes from sandbox-tee::energy, sealed into the signed
preimage via Efficiency::with_energy_attestation. Keeps the receipt crate free
of any attestation dependency — the receipt commits, the attestation layer
adjudicates trust (IntegrityAttested vs PhysicallyRooted), so the receipt never
asserts a level it cannot prove. MAPPING §4 documents the composed verification.
Round-trip test; example unchanged. No new deps.

Co-authored-by: Transaction Science <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
2026-07-03 11:29:59 -04:00
..
session.rs jcp-efficiency: commit an attested energy figure into efficiency/1 (#30) 2026-07-03 11:29:59 -04:00