pub struct InvocationFrameV2 {
pub network: NetworkIdentityV2,
pub transaction: TransactionIdentityV2,
pub deployment: DeploymentIdentityV2,
pub instruction_data: Vec<u8>,
pub accounts: Vec<InvocationAccountRefV2>,
pub states: Vec<AccountTransitionV2>,
pub touch: TouchEvidenceV2,
pub children: Vec<InvocationFrameV2>,
pub outcome: InvocationOutcomeV2,
pub boundary: ObservationBoundaryV2,
pub evidence: EvidenceCompletenessV2,
pub provenance: EvidenceProvenanceV2,
}Expand description
Full concrete evidence for one invocation plus its ordered CPI children.
Fields§
§network: NetworkIdentityV2§transaction: TransactionIdentityV2§deployment: DeploymentIdentityV2§instruction_data: Vec<u8>§accounts: Vec<InvocationAccountRefV2>§states: Vec<AccountTransitionV2>Exactly one entry per unique account pubkey when evidence.accounts.
touch: TouchEvidenceV2§children: Vec<InvocationFrameV2>§outcome: InvocationOutcomeV2§boundary: ObservationBoundaryV2§evidence: EvidenceCompletenessV2§provenance: EvidenceProvenanceV2Implementations§
Source§impl InvocationFrameV2
impl InvocationFrameV2
Sourcepub fn commitment(&self) -> [u8; 32]
pub fn commitment(&self) -> [u8; 32]
Stable digest over all frame fields. This commits caller-supplied provenance but does not authenticate it.
This infallible low-level helper assumes a locally constructed or
already shape-checked frame. Untrusted frames should be passed directly
to bind_invocation_v2, which enforces depth, node, and byte quotas
before invoking the recursive encoder.
Trait Implementations§
Source§impl Clone for InvocationFrameV2
impl Clone for InvocationFrameV2
Source§impl Debug for InvocationFrameV2
impl Debug for InvocationFrameV2
impl Eq for InvocationFrameV2
Source§impl PartialEq for InvocationFrameV2
impl PartialEq for InvocationFrameV2
impl StructuralPartialEq for InvocationFrameV2
Auto Trait Implementations§
impl Freeze for InvocationFrameV2
impl RefUnwindSafe for InvocationFrameV2
impl Send for InvocationFrameV2
impl Sync for InvocationFrameV2
impl Unpin for InvocationFrameV2
impl UnsafeUnpin for InvocationFrameV2
impl UnwindSafe for InvocationFrameV2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more