Skip to content

Commit cbdc6b5

Browse files
authored
Merge pull request #3499 from input-output-hk/erikd/spelling
Fix spelling errors
2 parents 4de2de8 + e50b31b commit cbdc6b5

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

cardano-cli/src/Cardano/CLI/Byron/Parsers.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,9 @@ parseMpcThd =
507507

508508
parseProtocolVersion :: Parser ProtocolVersion
509509
parseProtocolVersion =
510-
ProtocolVersion <$> (parseWord "protocol-version-major" "Protocol verson major." "WORD16" :: Parser Word16)
511-
<*> (parseWord "protocol-version-minor" "Protocol verson minor." "WORD16" :: Parser Word16)
512-
<*> (parseWord "protocol-version-alt" "Protocol verson alt." "WORD8" :: Parser Word8)
510+
ProtocolVersion <$> (parseWord "protocol-version-major" "Protocol version major." "WORD16" :: Parser Word16)
511+
<*> (parseWord "protocol-version-minor" "Protocol version minor." "WORD16" :: Parser Word16)
512+
<*> (parseWord "protocol-version-alt" "Protocol version alt." "WORD8" :: Parser Word8)
513513

514514
parseHeavyDelThd :: Parser Byron.LovelacePortion
515515
parseHeavyDelThd =

cardano-cli/src/Cardano/CLI/Byron/Tx.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ txSpendGenesisUTxOByronPBFT gc nId sk (ByronAddress bAddr) outs = do
170170
TxMintNone
171171
TxScriptValidityNone
172172
case makeTransactionBody txBodyCont of
173-
Left err -> error $ "Error occured while creating a Byron genesis based UTxO transaction: " <> show err
173+
Left err -> error $ "Error occurred while creating a Byron genesis based UTxO transaction: " <> show err
174174
Right txBody -> let bWit = fromByronWitness sk nId txBody
175175
in makeSignedTransaction [bWit] txBody
176176
where
@@ -209,7 +209,7 @@ txSpendUTxOByronPBFT nId sk txIns outs = do
209209
TxMintNone
210210
TxScriptValidityNone
211211
case makeTransactionBody txBodyCont of
212-
Left err -> error $ "Error occured while creating a Byron genesis based UTxO transaction: " <> show err
212+
Left err -> error $ "Error occurred while creating a Byron genesis based UTxO transaction: " <> show err
213213
Right txBody -> let bWit = fromByronWitness sk nId txBody
214214
in makeSignedTransaction [bWit] txBody
215215

cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ pMintMultiAsset balanceExecUnits =
19921992
)
19931993
where
19941994
helpText = "Mint multi-asset value(s) with the multi-asset cli syntax. \
1995-
\You must specifiy a script witness."
1995+
\You must specify a script witness."
19961996

19971997
pInvalidBefore :: Parser SlotNo
19981998
pInvalidBefore =

cardano-cli/src/Cardano/CLI/Shelley/Run/Query.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ renderShelleyQueryCmdError err =
127127
"Consensus mode and era mismatch. Consensus mode: " <> show cMode <>
128128
" Era: " <> show era
129129
ShelleyQueryCmdEraMismatch (EraMismatch ledgerEra queryEra) ->
130-
"\nAn error mismatch occured." <> "\nSpecified query era: " <> queryEra <>
130+
"\nAn error mismatch occurred." <> "\nSpecified query era: " <> queryEra <>
131131
"\nCurrent ledger era: " <> ledgerEra
132132
ShelleyQueryCmdUnsupportedMode mode -> "Unsupported mode: " <> renderMode mode
133133
ShelleyQueryCmdPastHorizon e -> "Past horizon: " <> show e

cardano-node/src/Cardano/Node/Parsers.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ parseNodeHostIPv6Address str =
149149
maybe
150150
(Left $
151151
"Failed to parse IPv6 address: " ++ str ++
152-
". If you want to specify an IPv4 adddress, use --host-addr option.")
152+
". If you want to specify an IPv4 address, use --host-addr option.")
153153
(Right . NodeHostIPv6Address)
154154
(readMaybe str)
155155

cardano-node/src/Cardano/Node/Tracing/Tracers/Consensus.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ docChainSyncServerEvent = Documented [
298298
DocMsg
299299
(TraceChainSyncServerRead anyProto anyProto)
300300
[]
301-
"A server read has occured, either for an add block or a rollback"
301+
"A server read has occurred, either for an add block or a rollback"
302302
, DocMsg
303303
(TraceChainSyncServerReadBlocked anyProto anyProto)
304304
[]

cardano-node/src/Cardano/Node/Tracing/Tracers/NonP2P.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ docSubscription = Documented [
290290
, DocMsg
291291
(SubscriptionTraceApplicationException anyProto (anyProto :: SomeException))
292292
[]
293-
"Application Exception occured."
293+
"Application Exception occurred."
294294
, DocMsg
295295
(SubscriptionTraceAllocateSocket anyProto)
296296
[]
@@ -342,7 +342,7 @@ docDNSResolver = Documented [
342342
(WithDomainName anyProto
343343
(DnsTraceLookupException anyProto))
344344
[]
345-
"A DNS lookup exception occured."
345+
"A DNS lookup exception occurred."
346346
, DocMsg
347347
(WithDomainName anyProto
348348
(DnsTraceLookupAError anyProto))

0 commit comments

Comments
 (0)