forc_util::bytecode

Function get_bytecode_id

Source
pub fn get_bytecode_id<P>(path: P) -> Result<String>
where P: AsRef<Path> + Clone,
Expand description

Gets the bytecode ID from a bytecode file. The bytecode ID is the hash of the bytecode after removing the condigurables section, if any.