Skip to main content

load_proposal_dir

Function load_proposal_dir 

Source
pub fn load_proposal_dir(dir: &Path) -> Result<TimelockBatches>
Expand description

Load schedule.json and execute.json from a proposal directory.

Both files must be present and parse as SafeBatch. Each batch must contain exactly one transaction. Phase is validated via batch_phase.