Format uplc crate

This commit is contained in:
KtorZ 2024-08-25 16:20:38 +02:00
parent e9edd20c21
commit 0c9ea196be
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ pub fn eval_phase_two_raw(
.or_else(|_| MultiEraTx::decode_for_era(Era::Babbage, tx_bytes)) .or_else(|_| MultiEraTx::decode_for_era(Era::Babbage, tx_bytes))
.or_else(|_| MultiEraTx::decode_for_era(Era::Alonzo, tx_bytes))?; .or_else(|_| MultiEraTx::decode_for_era(Era::Alonzo, tx_bytes))?;
let cost_mdls = cost_mdls_bytes.map(|x| CostMdls::decode_fragment(x)).transpose()?; let cost_mdls = cost_mdls_bytes
.map(|x| CostMdls::decode_fragment(x))
.transpose()?;
let budget = ExBudget { let budget = ExBudget {
cpu: initial_budget.0 as i64, cpu: initial_budget.0 as i64,