Skip to content

Commit 8db5cb3

Browse files
authored
Merge pull request #6372 from ledigang/master
chore: fix a large number of spelling issues
2 parents a5e309d + 3ff17e1 commit 8db5cb3

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

bench/cardano-topology/src/Cardano/Benchmarking/Topology.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ mkCoreNodes' UniCircle{..} = phase1 where
135135
phase1 = intraConnectRing False False phase0
136136
mkCoreNodes' Torus{..} = mkCoreNodesTorus tpSize tpLocations tpIdPools False
137137
-- The dense Torus, with each node having 4 intra-region connections, needs
138-
-- a minimun of nodes.
138+
-- a minimum of nodes.
139139
mkCoreNodes' TorusDense{..} = mkCoreNodesTorus tpSize tpLocations tpIdPools True
140140

141141
mkCoreNodesTorus ::Int -> [Types.Location] -> (Int -> Maybe Int) -> Bool -> [Spec]

bench/locli/src-quick/Graphics/EasyPlot.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ instance (Fractional x, Enum x, Show x, Fractional y, Enum y, Show y, Num z, Sho
275275
instance Plot String where
276276
plot' options term g = plot' @(Graph3D Double Double Int) options term $ Gnuplot3D [] [] g
277277

278-
-- | plots mutliple 3D functions using gnuplots native function parser
278+
-- | plots multiple 3D functions using gnuplots native function parser
279279
-- and renderer. The String will be interpreted as 'Gnuplot3D'.
280280
instance Plot [String] where
281281
plot' options term g = plot' @[Graph3D Double Double Int] options term $ map (Gnuplot3D [] []) g

cardano-testnet/src/Testnet/Defaults.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ defaultShelleyGenesis asbe startTime maxSupply options = do
417417
-- f
418418
activeSlotsCoeff = round (genesisActiveSlotsCoeff * 100) % 100
419419
-- make security param k satisfy: epochLength = 10 * k / f
420-
-- TODO: find out why this actually degrates network stability - turned off for now
420+
-- TODO: find out why this actually degrades network stability - turned off for now
421421
-- securityParam = ceiling $ fromIntegral epochLength * cardanoActiveSlotsCoeff / 10
422422
pVer = eraToProtocolVersion asbe
423423
protocolParams = Api.sgProtocolParams Api.shelleyGenesisDefaults

cardano-testnet/src/Testnet/Process/Cli/DRep.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ makeActivityChangeProposal
348348
-- using the 'getEpochStateView' function.
349349
-> ConwayEraOnwards era -- ^ The 'ConwayEraOnwards' witness for current era.
350350
-> FilePath -- ^ Working directory where the files will be stored
351-
-> Maybe (String, Word16) -- ^ The transaction id and the index of the previosu governance action if any.
351+
-> Maybe (String, Word16) -- ^ The transaction id and the index of the previous governance action if any.
352352
-> EpochInterval -- ^ The target DRep activity interval to be set by the proposal.
353353
-> KeyPair StakeKey -- ^ registered staking keys
354354
-> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/CommitteeAddNew.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ hprop_constitutional_committee_add_new = integrationWorkspace "constitutional-co
276276

277277
H.nothingFailM $ watchEpochStateUpdate epochStateView (L.EpochInterval 1) (return . committeeIsPresent)
278278

279-
-- show proposed committe meembers
279+
-- show proposed committee meembers
280280
H.noteShow_ ccCredentials
281281

282282
newCommitteeMembers :: Set (L.Credential L.ColdCommitteeRole)

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/DRepActivity.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ hprop_check_drep_activity = integrationWorkspace "test-activity" $ \tempAbsBaseP
171171
H.kickWatchdog watchdog
172172

173173
-- We now send a bunch of proposals to make sure that the 2 new DReps expire.
174-
-- because DReps won't expire if there is not enough activity (opportunites to participate).
174+
-- because DReps won't expire if there is not enough activity (opportunities to participate).
175175
-- This is accounted for by the dormant epoch count
176176
let numOfFillerProposals = 4 :: Int
177177
sequence_

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/InfoAction.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ hprop_ledger_events_info_action = integrationRetryWorkspace 2 "info-hash" $ \tem
242242
, "--tx-file", voteTxFp
243243
]
244244

245-
-- We check that info action was succcessfully ratified
245+
-- We check that info action was successfully ratified
246246
!meInfoRatified
247247
<- H.timeout 120_000_000 $ runExceptT $ foldBlocks
248248
configurationFile

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ hprop_ledger_events_propose_new_constitution = integrationRetryWorkspace 2 "prop
260260
length (filter ((== L.Abstain) . snd) votes) === 2
261261
length votes === fromIntegral numVotes
262262

263-
-- We check that constitution was succcessfully ratified
263+
-- We check that constitution was successfully ratified
264264
void . H.leftFailM . H.evalIO . runExceptT $
265265
foldEpochState
266266
configurationFile
@@ -361,7 +361,7 @@ filterRatificationState c guardRailScriptHash (AnyNewEpochState sbe newEpochStat
361361
let rState = Ledger.extractDRepPulsingState $ newEpochState ^. L.newEpochStateGovStateL . L.drepPulsingStateGovStateL
362362
constitution = rState ^. Ledger.rsEnactStateL . Ledger.ensConstitutionL
363363
constitutionAnchorHash = Ledger.anchorDataHash $ Ledger.constitutionAnchor constitution
364-
L.ScriptHash constitutionScriptHash = fromMaybe (error "filterRatificationState: consitution does not have a guardrail script")
364+
L.ScriptHash constitutionScriptHash = fromMaybe (error "filterRatificationState: constitution does not have a guardrail script")
365365
$ strictMaybeToMaybe $ constitution ^. Ledger.constitutionScriptL
366366
Text.pack c == renderSafeHashAsHex constitutionAnchorHash && L.hashToTextAsHex constitutionScriptHash == Text.pack guardRailScriptHash
367367

nix/workbench/backend/nomad/cloud.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ allocate-run-nomadcloud() {
474474
# We are using always the same placement!
475475
# This means node-N always runs on the same Nomad Client/AWS EC2 machine
476476
# For this a file with all the available Nomad Clients is needed!
477-
# This files is a list of Nomad Clients with a minimun of ".id", ".name"
477+
# This files is a list of Nomad Clients with a minimum of ".id", ".name"
478478
# ".class", ".datacenter", ".attributes.platform.aws["instance-type"]",
479479
# ".attributes.platform.aws.placement["availability-zone"]",
480480
# ".attributes.unique.platform.aws["instance-id"]",

0 commit comments

Comments
 (0)