You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a recent PR #3983 a new protocol parameter has been added. One oversigt was that the type that was used does not allow for a more fine grain tuning of the fee, because it is backed by an CoinPerByte, which is essentially a Coin. In other words it only allows one lovelace per byte granularity, which might not be enough in the future.
In order to allow us to be as precise as necessary, we need to:
- We need to change the type to NonNegativeInterval
- Change the formula to use rounding
- Rename the parameter to minFeeRefScriptCostPerByte
- Adjust CDDL
Here is the implementation of the fee calculation:
In a recent PR #3983 a new protocol parameter has been added. One oversigt was that the type that was used does not allow for a more fine grain tuning of the fee, because it is backed by an
CoinPerByte
, which is essentially aCoin
. In other words it only allows one lovelace per byte granularity, which might not be enough in the future.In order to allow us to be as precise as necessary, we need to:
NonNegativeInterval
minFeeRefScriptCostPerByte
Here is the implementation of the fee calculation:
cardano-ledger/eras/conway/impl/src/Cardano/Ledger/Conway/Tx.hs
Lines 85 to 87 in e73acc6
Which should be changed to this new calculation:
The text was updated successfully, but these errors were encountered: