Skip to content

Commit

Permalink
fix(cardano-services): min_committee_size renamed to committee_min_size
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceahasegan committed Apr 17, 2024
1 parent adaf0eb commit 25ba341
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Expand Up @@ -62,7 +62,7 @@ export const toProtocolParams = ({
costs,
pool_voting_thresholds,
drep_voting_thresholds,
min_committee_size,
committee_min_size,
committee_term_limit,
governance_action_validity_period,
gov_action_deposit,
Expand Down Expand Up @@ -94,7 +94,7 @@ export const toProtocolParams = ({
},
maxTxSize: max_tx_size,
maxValueSize: Number(max_val_size),
minCommitteeSize: Number(min_committee_size),
minCommitteeSize: Number(committee_min_size),
minFeeCoefficient: min_fee_a,
minFeeConstant: min_fee_b,
minFeeRefScriptCostPerByte: String(min_fee_ref_script_cost_per_byte),
Expand Down
Expand Up @@ -54,7 +54,8 @@ export const findProtocolParams = `
max_epoch,
gov_action_deposit,
drep_deposit,
cost_model.costs
cost_model.costs,
committee_min_size,
FROM epoch_param
LEFT JOIN cost_model
ON cost_model.id = epoch_param.cost_model_id
Expand Down
Expand Up @@ -57,7 +57,7 @@ export interface ProtocolParamsModel {
costs: CostModelsParamModel | null;
pool_voting_thresholds: Cardano.PoolVotingThresholds;
drep_voting_thresholds: Cardano.DelegateRepresentativeThresholds;
min_committee_size: number;
committee_min_size: number;
committee_term_limit: number;
governance_action_validity_period: number;
gov_action_deposit: number;
Expand Down

0 comments on commit 25ba341

Please sign in to comment.