We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HasTextEnvelope
EraHistory
1 parent 3249ba5 commit 43e7751Copy full SHA for 43e7751
cardano-api/src/Cardano/Api/Internal/Query.hs
@@ -194,6 +194,9 @@ instance SerialiseAsCBOR EraHistory where
194
195
<$> CBOR.decodeFullDecoder' "EraHistory" (give History.EraParamsWithGenesisWindow CBOR.decode) bs
196
197
+-- | The @HasTextEnvelope@ instance for @EraHistory@ is required by the
198
+-- @transaction calculate-plutus-script-cost@ command in @cartdano-cli and it
199
+-- can be obtained through the @query era-history@ command.
200
instance HasTextEnvelope EraHistory where
201
textEnvelopeType :: AsType EraHistory -> TextEnvelopeType
202
textEnvelopeType _ = "EraHistory"
0 commit comments