IntersectMBO / IntersectMBO/cardano-ledger

Introduce a new parameter that replaces `minFeeA`

Open
#4,263 0 comments 0 reactions 0 assignees View on GitHub
DijkstraEra
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

`minFeeA` is packed by a `Word64` and suspicion is that in the future it will not have enough precision to specify a correct multiplier for the fee.

We need to introduce a new protocol parameter that and deprecate `minFeeA`. New parameter will work similarly to `minFeeRefScriptCostPerByte`: it will be of type `NonNegativeInterval` and will use rounding during the fee calculation.

The name for the parameter will be similar to `minFeeA` after the rename due to #4264, but will end on `[new name]CostPerByte`

Related ticket that will be resolved before this one: #4262

Contributor guide

Open the contributing guide

Research direction

Resolve the related prerequisite in #4262 and review the rename planned in #4264 first. Then compare the existing minFeeA parameter with minFeeRefScriptCostPerByte and trace the fee calculation. Done means a new NonNegativeInterval parameter with the agreed CostPerByte name uses rounding and minFeeA is deprecated.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.