@@ -93,7 +93,7 @@ instance ShelleyCompatible proto era
93
93
SerialiseNodeToNode
94
94
-------------------------------------------------------------------------------}
95
95
96
- instance (ShelleyCompatible proto era ) -- , Crypto (ProtoCrypto proto))
96
+ instance (ShelleyCompatible proto era )
97
97
=> SerialiseNodeToNodeConstraints (ShelleyBlock proto era ) where
98
98
estimateBlockSize hdr = overhead + hdrSize + bodySize
99
99
where
@@ -137,7 +137,7 @@ instance ShelleyCompatible proto era
137
137
encodeNodeToNode _ _ = toCBOR
138
138
decodeNodeToNode _ _ = fromCBOR
139
139
140
- instance (ShelleyCompatible proto era ) -- , Crypto (ProtoCrypto proto))
140
+ instance (ShelleyCompatible proto era )
141
141
=> SerialiseNodeToNode (ShelleyBlock proto era ) (GenTxId (ShelleyBlock proto era )) where
142
142
encodeNodeToNode _ _ = toEraCBOR @ era
143
143
decodeNodeToNode _ _ = fromEraCBOR @ era
@@ -281,7 +281,7 @@ instance ShelleyCompatible proto era
281
281
encodeNodeToClient _ _ = toCBOR
282
282
decodeNodeToClient _ _ = fromCBOR
283
283
284
- instance (ShelleyCompatible proto era ) -- , Crypto (ProtoCrypto proto))
284
+ instance (ShelleyCompatible proto era )
285
285
=> SerialiseNodeToClient (ShelleyBlock proto era ) (GenTxId (ShelleyBlock proto era )) where
286
286
encodeNodeToClient _ _ = toEraCBOR @ era
287
287
decodeNodeToClient _ _ = fromEraCBOR @ era
@@ -301,7 +301,7 @@ instance ShelleyCompatible proto era
301
301
decodeNodeToClient _ _ = decodeShelleyQuery
302
302
303
303
instance
304
- (ShelleyCompatible proto era {- , Crypto (ProtoCrypto proto) -} ) =>
304
+ (ShelleyCompatible proto era ) =>
305
305
SerialiseResult (ShelleyBlock proto era ) (BlockQuery (ShelleyBlock proto era )) where
306
306
encodeResult _ = encodeShelleyResult
307
307
decodeResult _ = decodeShelleyResult
0 commit comments