pub async fn apply_commodity_hook( commodity: Commodity, tags: Arc<Mutex<HashMap<String, String>>>, hook: &[u8], ) -> Result<Commodity, HookError>