File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Block Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,16 @@ import Data.Word (Word64)
21
21
import GHC.Generics (Generic )
22
22
import NoThunks.Class
23
23
import Ouroboros.Consensus.Block.Abstract
24
+ import Quiet (Quiet (.. ))
24
25
25
26
newtype PerasRoundNo = PerasRoundNo { unPerasRoundNo :: Word64 }
26
- deriving stock (Show , Generic )
27
+ deriving Show via Quiet PerasRoundNo
28
+ deriving stock Generic
27
29
deriving newtype (Eq , Ord , NoThunks )
28
30
29
31
newtype PerasWeight = PerasWeight { unPerasWeight :: Word64 }
30
- deriving stock (Show , Generic )
32
+ deriving Show via Quiet PerasWeight
33
+ deriving stock Generic
31
34
deriving newtype (Eq , Ord , NoThunks )
32
35
deriving (Semigroup , Monoid ) via Sum Word64
33
36
You can’t perform that action at this time.
0 commit comments