chore: update cost model with placeholders for new terms to pass tests

This commit is contained in:
microproofs 2023-08-02 17:19:01 -04:00 committed by Kasey
parent 40e1d39f8b
commit 85901dc141
1 changed files with 10 additions and 8 deletions

View File

@ -147,12 +147,12 @@ impl MachineCosts {
}, },
// Placeholder values // Placeholder values
constr: ExBudget { constr: ExBudget {
mem: 40000000, mem: 30000000000,
cpu: 400000000000, cpu: 30000000000,
}, },
case: ExBudget { case: ExBudget {
mem: 40000000, mem: 30000000000,
cpu: 400000000000, cpu: 30000000000,
}, },
} }
} }
@ -193,12 +193,12 @@ impl Default for MachineCosts {
}, },
// Placeholder values // Placeholder values
constr: ExBudget { constr: ExBudget {
mem: 40000000, mem: 30000000000,
cpu: 400000000000, cpu: 30000000000,
}, },
case: ExBudget { case: ExBudget {
mem: 40000000, mem: 30000000000,
cpu: 400000000000, cpu: 30000000000,
}, },
} }
} }
@ -3254,6 +3254,8 @@ impl TryFrom<u8> for StepKind {
4 => Ok(StepKind::Delay), 4 => Ok(StepKind::Delay),
5 => Ok(StepKind::Force), 5 => Ok(StepKind::Force),
6 => Ok(StepKind::Builtin), 6 => Ok(StepKind::Builtin),
7 => Ok(StepKind::Constr),
8 => Ok(StepKind::Case),
v => Err(super::error::Error::InvalidStepKind(v)), v => Err(super::error::Error::InvalidStepKind(v)),
} }
} }