Skip to main content

vm_golden

Function vm_golden 

Source
pub fn vm_golden(src: &str, func: &str, params: &[i64]) -> Result<i64, String>
Expand description

The VM’s answer for func(params) — a synthesized ## Main showing the call, run on the reference VM (the same vm_outcome every execution tier is locked against). This is the golden the chip must reproduce.