Skip to content

Commit d9e00e7

Browse files
committed
grammar raid
1 parent 1bfce04 commit d9e00e7

File tree

5 files changed

+6
-6
lines changed
  • eras
    • byron/ledger/impl/src/Cardano/Chain/Genesis
    • conway/impl/testlib/Test/Cardano/Ledger/Conway/Binary
    • dijkstra/impl/testlib/Test/Cardano/Ledger/Dijkstra/Binary
    • shelley/impl/src/Cardano/Ledger/Shelley/State
  • libs/small-steps/src/Control/State/Transition

5 files changed

+6
-6
lines changed

eras/byron/ledger/impl/src/Cardano/Chain/Genesis/Config.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ data ConfigurationError
163163
ConfigurationGenesisDataError GenesisDataError
164164
| -- | The GenesisData canonical JSON hash is different than expected
165165
GenesisHashMismatch GenesisHash (Hash Raw)
166-
| -- | An error occured while decoding the genesis hash.
166+
| -- | An error occurred while decoding the genesis hash.
167167
GenesisHashDecodeError Text
168168
deriving (Show)
169169

eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Binary/Golden.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec = do
138138
it "8th field" . expectFailureOnEmptyField 8 $
139139
DecoderErrorDeserialiseFailure
140140
(Binary.label $ Proxy @(Annotator (TxWits era)))
141-
(DeserialiseFailure 2 "An error occured while decoding (Int,Void) not a valid key:.\nError: 8")
141+
(DeserialiseFailure 2 "An error occurred while decoding (Int,Void) not a valid key:.\nError: 8")
142142
describe "Tagged" $ do
143143
let
144144
expectFailureOnEmptyField k =

eras/dijkstra/impl/testlib/Test/Cardano/Ledger/Dijkstra/Binary/Golden.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ goldenEmptyFields version =
9696
it "8th field" . expectFailureOnEmptyField 8 $
9797
DecoderErrorDeserialiseFailure
9898
(Binary.label $ Proxy @(Annotator (TxWits era)))
99-
(DeserialiseFailure 2 "An error occured while decoding (Int,Void) not a valid key:.\nError: 8")
99+
(DeserialiseFailure 2 "An error occurred while decoding (Int,Void) not a valid key:.\nError: 8")
100100
describe "Tagged" $ do
101101
let
102102
expectFailureOnEmptyField k =
@@ -129,7 +129,7 @@ goldenEmptyFields version =
129129
it "8th field" . expectFailureOnEmptyField 8 $
130130
DecoderErrorDeserialiseFailure
131131
(Binary.label $ Proxy @(Annotator (TxWits era)))
132-
(DeserialiseFailure 2 "An error occured while decoding (Int,Void) not a valid key:.\nError: 8")
132+
(DeserialiseFailure 2 "An error occurred while decoding (Int,Void) not a valid key:.\nError: 8")
133133

134134
witsDuplicateVKeyWits :: Enc
135135
witsDuplicateVKeyWits =

eras/shelley/impl/src/Cardano/Ledger/Shelley/State/Account.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class EraAccounts era => ShelleyEraAccounts era where
185185
-- | This is a getter for a `Ptr`. It is not a full lens, because it is not only unsafe to modify
186186
-- a pointer for an existing AccountState due to violation of an invariant in the
187187
-- `ShelleyAccounts`, but also because once account is registered pointer cannot change. Pointer
188-
-- describes unique point on chain when registration has occured, which means it can't change.
188+
-- describes unique point on chain when registration has occurred, which means it can't change.
189189
ptrAccountStateG :: SimpleGetter (AccountState era) Ptr
190190
default ptrAccountStateG ::
191191
AccountState era ~ ShelleyAccountState era =>

libs/small-steps/src/Control/State/Transition/Extended.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ applyRuleInternal ::
640640
-- | We need to know if the current STS incurred at least one
641641
-- PredicateFailure. This is necessary because `applyRuleInternal` is called
642642
-- recursively through the @goSTS@ argument, which will not have access to any
643-
-- of the predicate failures occured in other branches of STS rule execusion tree.
643+
-- of the predicate failures occurred in other branches of STS rule execusion tree.
644644
IsFailing ->
645645
SingEP ep ->
646646
ValidationPolicy ->

0 commit comments

Comments
 (0)