IntersectMBO / cardano-ledger

The ledger implementation and specifications of the Cardano blockchain.
Apache License 2.0
250 stars 157 forks source link

Make reference scripts fee grow exponentially with size #4443

Closed lehins closed 1 week ago

lehins commented 1 week ago

Description

This PR changes linear fee calculation for reference scripts to exponential.

Here are two plots of how much fee a user will have to pay for a total size of the reference scripts included in a transaction. Exponent that we settled on is: 1.2

Checklist