File tree Expand file tree Collapse file tree
eras/dijkstra/impl/src/Cardano/Ledger/Dijkstra/BlockBody Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,10 +131,15 @@ mkBasicBlockBodyDijkstra =
131131
132132-- | Dijkstra-specific extensions to 'EraBlockBody'
133133class EraBlockBody era => DijkstraEraBlockBody era where
134+ leiosCertBlockBodyL :: Lens' (BlockBody era ) (StrictMaybe LeiosCert )
135+ -- ^ Lens to access the optional Leios certificate in the block body
136+
134137 perasCertBlockBodyL :: Lens' (BlockBody era ) (StrictMaybe PerasCert )
135138 -- ^ Lens to access the optional Peras certificate in the block body
136139
137140instance DijkstraEraBlockBody DijkstraEra where
141+ leiosCertBlockBodyL = lensMemoRawType @ DijkstraEra dbbrLeiosCert (\ bb c -> bb {dbbrLeiosCert = c})
142+
138143 perasCertBlockBodyL = lensMemoRawType @ DijkstraEra dbbrPerasCert (\ bb c -> bb {dbbrPerasCert = c})
139144
140145deriving instance (Typeable era , NoThunks (Tx TopTx era )) => NoThunks (DijkstraBlockBodyRaw era )
You can’t perform that action at this time.
0 commit comments