Skip to content

Commit

Permalink
fix(cardano-services): committee_term_limit renamed to governance_act…
Browse files Browse the repository at this point in the history
…ion_validity_period
  • Loading branch information
mirceahasegan committed Apr 17, 2024
1 parent cba58fb commit 3e263b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Expand Up @@ -64,7 +64,7 @@ export const toProtocolParams = ({
drep_voting_thresholds,
committee_min_size,
committee_max_term_length,
governance_action_validity_period,
gov_action_lifetime,
gov_action_deposit,
drep_deposit,
drep_inactivity_period,
Expand All @@ -80,7 +80,7 @@ export const toProtocolParams = ({
decentralizationParameter: String(decentralisation),
desiredNumberOfPools: optimal_pool_count,
governanceActionDeposit: Number(gov_action_deposit),
governanceActionValidityPeriod: Cardano.EpochNo(governance_action_validity_period),
governanceActionValidityPeriod: Cardano.EpochNo(gov_action_lifetime),
maxBlockBodySize: max_block_size,
maxBlockHeaderSize: max_bh_size,
maxCollateralInputs: max_collateral_inputs,
Expand Down
Expand Up @@ -57,6 +57,7 @@ export const findProtocolParams = `
cost_model.costs,
committee_min_size,
committee_max_term_length,
gov_action_lifetime,
FROM epoch_param
LEFT JOIN cost_model
ON cost_model.id = epoch_param.cost_model_id
Expand Down
Expand Up @@ -59,7 +59,7 @@ export interface ProtocolParamsModel {
drep_voting_thresholds: Cardano.DelegateRepresentativeThresholds;
committee_min_size: number;
committee_max_term_length: number;
governance_action_validity_period: number;
gov_action_lifetime: number;
gov_action_deposit: number;
drep_deposit: number;
drep_inactivity_period: number;
Expand Down

0 comments on commit 3e263b5

Please sign in to comment.