Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit a498f50

Browse files
Rename hysterical-screams to rewindable-index
1 parent eb69d69 commit a498f50

File tree

20 files changed

+64
-64
lines changed

20 files changed

+64
-64
lines changed

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ packages: doc
88
plutus-chain-index-core
99
plutus-contract
1010
plutus-example
11-
plutus-hysterical-screams
1211
plutus-contract-certification
1312
plutus-ledger
1413
plutus-ledger-constraints
@@ -19,6 +18,7 @@ packages: doc
1918
plutus-tx-constraints
2019
plutus-use-cases
2120
plutus-streaming
21+
rewindable-index
2222
web-ghc
2323

2424
-- We never, ever, want this.

plutus-chain-index/app/Marconi.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ import Marconi.Index.Utxo qualified as Utxo
3838
import Marconi.Logging (logging)
3939
import Options.Applicative (Mod, OptionFields, Parser, auto, execParser, flag', help, helper, info, long, maybeReader,
4040
metavar, option, readerError, strOption, (<**>), (<|>))
41-
import Plutus.HystericalScreams.Index.VSplit qualified as Ix
4241
import Plutus.Streaming (ChainSyncEvent (RollBackward, RollForward), ChainSyncEventException (NoIntersectionFound),
4342
withChainSyncEventStream)
4443
import Plutus.V1.Ledger.Api (Datum, DatumHash)
4544
import Prettyprinter (defaultLayoutOptions, layoutPretty, pretty, (<+>))
4645
import Prettyprinter.Render.Text (renderStrict)
46+
import RewindableIndex.Index.VSplit qualified as Ix
4747
import Streaming.Prelude qualified as S
4848

4949
-- | This executable is meant to exercise a set of indexers (for now datumhash -> datum)

plutus-chain-index/app/Marconi/Index/Datum.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ import Database.SQLite.Simple.FromField (FromField (fromField), ResultError (Con
2626
import Database.SQLite.Simple.ToField (ToField (toField))
2727

2828
import Cardano.Api (SlotNo (SlotNo))
29-
import Plutus.HystericalScreams.Index.VSqlite (SqliteIndex)
30-
import Plutus.HystericalScreams.Index.VSqlite qualified as Ix
3129
import Plutus.V1.Ledger.Api (Datum, DatumHash)
30+
import RewindableIndex.Index.VSqlite (SqliteIndex)
31+
import RewindableIndex.Index.VSqlite qualified as Ix
3232

3333
type Event = [(SlotNo, (DatumHash, Datum))]
3434
type Query = DatumHash

plutus-chain-index/app/Marconi/Index/Utxo.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ import Ledger (Address, TxId, TxOut, TxOutRef (TxOutRef, txOutRefId, txOutRefIdx
4242
import Ledger qualified as Ledger
4343
import System.Random.MWC (createSystemRandom, uniformR)
4444

45-
import Plutus.HystericalScreams.Index.VSqlite (SqliteIndex)
46-
import Plutus.HystericalScreams.Index.VSqlite qualified as Ix
45+
import RewindableIndex.Index.VSqlite (SqliteIndex)
46+
import RewindableIndex.Index.VSqlite qualified as Ix
4747

4848
data UtxoUpdate = UtxoUpdate
4949
{ _inputs :: !(Set TxOutRef)

plutus-chain-index/plutus-chain-index.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ executable marconi
126126
-- Local components
127127
--------------------
128128
build-depends:
129-
, plutus-hysterical-screams
130129
, plutus-ledger
131130
, plutus-streaming
131+
, rewindable-index
132132

133133
--------------------------
134134
-- Other IOG dependencies
File renamed without changes.

plutus-hysterical-screams/plutus-hysterical-screams.cabal renamed to rewindable-index/rewindable-index.cabal

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cabal-version: 2.2
2-
name: plutus-hysterical-screams
2+
name: rewindable-index
33
version: 0.1.0.0
44
synopsis: Exercises in Algebra Driven Design
55
description:
@@ -47,11 +47,11 @@ common lang
4747
library
4848
import: lang
4949
exposed-modules:
50-
Plutus.HystericalScreams.Index
51-
Plutus.HystericalScreams.Index.Split
52-
Plutus.HystericalScreams.Index.Sqlite
53-
Plutus.HystericalScreams.Index.VSplit
54-
Plutus.HystericalScreams.Index.VSqlite
50+
RewindableIndex.Index
51+
RewindableIndex.Index.Split
52+
RewindableIndex.Index.Sqlite
53+
RewindableIndex.Index.VSplit
54+
RewindableIndex.Index.VSqlite
5555

5656
hs-source-dirs: src
5757
build-depends:
@@ -64,27 +64,27 @@ library
6464
, sqlite-simple
6565
, vector
6666

67-
test-suite plutus-hysterical-screams-test
67+
test-suite rewindable-index-test
6868
import: lang
6969
type: exitcode-stdio-1.0
7070
main-is: Spec.hs
7171
other-modules:
72-
Plutus.HystericalScreams.Spec.Index
73-
Plutus.HystericalScreams.Spec.Split
74-
Plutus.HystericalScreams.Spec.Sqlite
75-
Plutus.HystericalScreams.Spec.VSplit
76-
Plutus.HystericalScreams.Spec.VSqlite
72+
RewindableIndex.Spec.Index
73+
RewindableIndex.Spec.Split
74+
RewindableIndex.Spec.Sqlite
75+
RewindableIndex.Spec.VSplit
76+
RewindableIndex.Spec.VSqlite
7777

7878
hs-source-dirs: test
7979
build-depends:
80-
, base >=4.7 && <5
80+
, base >=4.7 && <5
8181
, containers
8282
, data-default
8383
, lens
84-
, plutus-hysterical-screams
8584
, primitive
8685
, QuickCheck
8786
, quickspec
87+
, rewindable-index
8888
, sqlite-simple
8989
, tasty
9090
, tasty-quickcheck

plutus-hysterical-screams/src/Plutus/HystericalScreams/Index.hs renamed to rewindable-index/src/RewindableIndex/Index.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Plutus.HystericalScreams.Index
1+
module RewindableIndex.Index
22
( Index(..)
33
-- * Constructors
44
, new

0 commit comments

Comments
 (0)