Remove epoch-based metering

This commit is contained in:
Isaac Clayton 2022-07-13 18:03:14 +02:00
parent 562e22814f
commit 8bb8e851df
5 changed files with 41 additions and 152 deletions

View file

@ -23,7 +23,7 @@ mod tests {
}
async {
let mut runtime = PluginBuilder::new_fuel_with_default_ctx(PluginYield::default_fuel())
let mut runtime = PluginBuilder::new_default()
.unwrap()
.host_function("mystery_number", |input: u32| input + 7)
.unwrap()