Skip to main content

decode_proposal

Function decode_proposal 

Source
pub fn decode_proposal(batches: TimelockBatches) -> Result<DecodedUpgrade>
Expand description

Decode a TimelockBatches into a DecodedUpgrade.

Each batch must have exactly one transaction; extra transactions would escape verification.