Skip to content

Commit

Permalink
shelley: make AlonzoMeasure strict in its fields
Browse files Browse the repository at this point in the history
This is important because it is an accumulator.
  • Loading branch information
nfrisby committed Jul 27, 2021
1 parent 9321471 commit d4be038
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -294,8 +294,8 @@ instance (SL.PraosCrypto c) => TxLimits (ShelleyBlock (MaryEra c)) where
pointwiseMin = min

data AlonzoMeasure = AlonzoMeasure {
byteSize :: ByteSize
, exUnits :: ExUnits
byteSize :: !ByteSize
, exUnits :: !ExUnits
} deriving stock (Show, Eq)

instance Semigroup AlonzoMeasure where
Expand Down

0 comments on commit d4be038

Please sign in to comment.