Format uplc crate
This commit is contained in:
parent
e9edd20c21
commit
0c9ea196be
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue