Skip to content

Commit

Permalink
Merge pull request #524 from IntersectMBO/cl/minFeeRefScript
Browse files Browse the repository at this point in the history
adding MinFeeRefScriptCostPerByte to Conway PParams
  • Loading branch information
CarlosLopezDeLara authored Apr 24, 2024
2 parents 9c55417 + 2f42b4e commit d618895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cardano-api/gen/Test/Gen/Cardano/Api/ProtocolParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ genIntroducedInConwayPParams =
<*> genStrictMaybe Q.arbitrary
<*> genStrictMaybe Q.arbitrary
<*> genStrictMaybe Q.arbitrary
<*> genStrictMaybe Q.arbitrary

genShelleyEraBasedProtocolParametersUpdate :: MonadGen m => m (EraBasedProtocolParametersUpdate ShelleyEra)
genShelleyEraBasedProtocolParametersUpdate =
Expand Down
2 changes: 2 additions & 0 deletions cardano-api/internal/Cardano/Api/ProtocolParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ data IntroducedInConwayPParams era
, icGovActionDeposit :: StrictMaybe Ledger.Coin
, icDRepDeposit :: StrictMaybe Ledger.Coin
, icDRepActivity :: StrictMaybe Ledger.EpochInterval
, icMinFeeRefScriptCostPerByte :: StrictMaybe Ledger.NonNegativeInterval
} deriving Show


Expand All @@ -270,6 +271,7 @@ createIntroducedInConwayPParams IntroducedInConwayPParams{..} =
& Ledger.ppuGovActionDepositL .~ icGovActionDeposit
& Ledger.ppuDRepDepositL .~ icDRepDeposit
& Ledger.ppuDRepActivityL .~ icDRepActivity
& Ledger.ppuMinFeeRefScriptCostPerByteL .~ icMinFeeRefScriptCostPerByte


createEraBasedProtocolParamUpdate
Expand Down

0 comments on commit d618895

Please sign in to comment.