Skip to main content

compute_and_validate_phase_hashes

Function compute_and_validate_phase_hashes 

Source
fn compute_and_validate_phase_hashes(
    toml: &ProposalToml,
    chain_id: u64,
    calldatas: &OuterCalldatas,
    rows: &mut Vec<CheckRow>,
) -> PhaseHashes
Expand description

Recompute Safe hashes from the JSONs and assert each equals the toml value.

Returns the PhaseHashes (from the toml, now validated).