From 4166e27fd7717c9f3c2ed29afd14b656731672d0 Mon Sep 17 00:00:00 2001 From: rvcas Date: Sat, 24 Sep 2022 19:52:40 -0400 Subject: [PATCH] chore: v1 comments --- crates/uplc/src/machine/cost_model.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index 4e6304fb..98be17e7 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -30,7 +30,6 @@ impl ExBudget { self.cpu *= n; } - // TODO: actually fill in the v1 numbers pub fn v1() -> Self { ExBudget { mem: 14000000, @@ -92,7 +91,6 @@ impl MachineCosts { } } - // TODO: actually fill in the v1 numbers pub fn v1() -> Self { Self { startup: ExBudget { mem: 100, cpu: 100 }, @@ -233,7 +231,6 @@ pub struct BuiltinCosts { } impl BuiltinCosts { - // TODO: actually fill in the v1 numbers pub fn v1() -> Self { Self { add_integer: CostingFun { @@ -586,7 +583,7 @@ impl BuiltinCosts { }, serialise_data: CostingFun { mem: OneArgument::LinearCost(LinearSize { - intercept: 0, + intercept: 30000000000, slope: 2, }), cpu: OneArgument::LinearCost(LinearSize {