Skip to content

Commit

Permalink
fix(applying): remove unnecessary prot params
Browse files Browse the repository at this point in the history
  • Loading branch information
MaicoLeberle committed Jan 17, 2024
1 parent 905a538 commit 47f085c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 105 deletions.
12 changes: 0 additions & 12 deletions pallas-applying/src/utils/environment.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//! Types used for representing the environment required for validation in each
//! era.

use pallas_primitives::alonzo::CostModel;
use std::vec::Vec;

#[derive(Debug)]
pub struct Environment {
pub prot_params: MultiEraProtParams,
Expand Down Expand Up @@ -44,7 +41,6 @@ pub struct FeePolicy {
pub struct AlonzoProtParams {
pub fee_policy: FeePolicy,
pub max_tx_size: u64,
pub languages: Vec<Language>,
pub max_block_ex_mem: u64,
pub max_block_ex_steps: u64,
pub max_tx_ex_mem: u32,
Expand All @@ -53,14 +49,6 @@ pub struct AlonzoProtParams {
pub collateral_percent: u64,
pub max_collateral_inputs: u64,
pub coins_per_utxo_word: u64,
pub cost_model: CostModel,
}

#[derive(Debug, Clone)]
#[non_exhaustive]
pub enum Language {
PlutusV1,
PlutusV2,
}

impl Environment {
Expand Down
Loading

0 comments on commit 47f085c

Please sign in to comment.