Function validate_program

Source
pub fn validate_program(code: Vec<u8>) -> Result<()>
Expand description

Validates wasm code in the same way as pallet_gear::pallet::Pallet::upload_program(...).