Skip to main content

seal_bytes

Function seal_bytes 

Source
pub fn seal_bytes(
    contract: &Contract,
    targets: &[PlanTarget],
    head_sha: &str,
    version: &str,
    phases: &[PlanPhase],
    bump: Option<&BumpPlan>,
) -> Vec<u8> 
Expand description

Produce the canonical seal pre-image bytes used by the internal sealing routine. The durable plan store persists these exact bytes and verifies them through this one seam.