feat: rename transaction eval and add error enum

This commit is contained in:
rvcas
2022-09-18 15:35:10 -04:00
parent 68fc0f643e
commit 9e280f9cb5
8 changed files with 34 additions and 26 deletions

View File

@@ -9,8 +9,10 @@ use uplc::{
ast::{DeBruijn, FakeNamedDeBruijn, Name, NamedDeBruijn, Program, Term},
machine::cost_model::ExBudget,
parser,
transaction_eval::eval_tx,
transaction_eval::script_context::{ResolvedInput, SlotConfig},
tx::{
self,
script_context::{ResolvedInput, SlotConfig},
},
};
mod args;
@@ -52,7 +54,7 @@ fn main() -> anyhow::Result<()> {
slot_length,
};
eval_tx(tx_babbage, &resolved_inputs, None, &slot_config)?;
tx::eval(tx_babbage, &resolved_inputs, None, &slot_config)?;
}
}
},