Skip to content

Commit

Permalink
fix(applying): use correct cost model for Conway (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Aug 25, 2024
1 parent f32d3e4 commit 51c331c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pallas-applying/src/utils/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use pallas_primitives::{
Coin, CostMdls, ExUnitPrices, ExUnits, Nonce, ProtocolVersion, RationalNumber, UnitInterval,
},
babbage::CostMdls as BabbageCostMdls,
conway::CostMdls as ConwayCostMdls,
};

#[allow(clippy::large_enum_variant)]
Expand Down Expand Up @@ -155,7 +156,7 @@ pub struct ConwayProtParams {
pub protocol_version: ProtocolVersion,
pub min_pool_cost: Coin,
pub ada_per_utxo_byte: Coin,
pub cost_models_for_script_languages: BabbageCostMdls,
pub cost_models_for_script_languages: ConwayCostMdls,
pub execution_costs: ExUnitPrices,
pub max_tx_ex_units: ExUnits,
pub max_block_ex_units: ExUnits,
Expand Down

0 comments on commit 51c331c

Please sign in to comment.