-
Notifications
You must be signed in to change notification settings - Fork 720
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare Cardano.Api.ProtocolParameters for Alonzo era.
In the Alonzo era we introduce 6 new protocol parameters and remove 1 protocol parameter. In anticipation of the Alonzo era, we make some modifications to the ProtocolParameters type. minUTxOValue becomes a Maybe (This parameter gets deprecated in Alonzo) We introduce the following but note they are currently ignored: - adaPerUTxoByte - Cost in ada per byte of UTxO storage (replaces minUTxOValue) - costmdls - The cost models for plutus scripts - prices - The prices of execution units for plutus scripts - maxTxExUnits - Max total script execution resource units allowed per tx - maxBlockExUnits - Max total script execution resource units allowed per block - maxValSize - Max size of a Value in a tx output We introduce an era parameter in the ProtocolParameters type in order to reduce boilerplate. We have avoided the typical GADT pattern in cardano-api to prevent an explosion of types.
- Loading branch information
Showing
14 changed files
with
1,028 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.