IntersectMBO / cardano-ledger

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

Get rid of redundant accessor functions #3130

Open lehins opened 2 years ago

lehins commented 2 years ago

Every era defines a whole bunch of accessor functions eg, inputs', outputs', etc. which are redundant and should be removed, while all use sites should be switched to corresponding lenses. In case of ShelleyMA it even defines a pattern synonym. That one should be removed as well

aniketd commented 1 year ago

In case of ShelleyMA it even defines a pattern synonym. That one should be removed as well

This part has been addressed in #3126