Skip to content

Commit e2a0217

Browse files
Removed some unused code.
1 parent e569941 commit e2a0217

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/Spec/BotPlutusInterface/Balance.hs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import BotPlutusInterface.Balance qualified as Balance
88
import BotPlutusInterface.Effects (PABEffect)
99
import BotPlutusInterface.Types (
1010
ContractEnvironment (cePABConfig),
11-
PABConfig (pcOwnPubKeyHash, pcProtocolParams),
11+
PABConfig (pcOwnPubKeyHash),
1212
)
1313
import Control.Lens ((&), (.~), (<>~), (^.))
1414
import Data.Default (Default (def))
@@ -93,21 +93,17 @@ txOutRef5 = TxOutRef "52a003b3f4956433429631afe4002f82a924a5a7a891db7ae1f6434797
9393
txOutRef6 = TxOutRef "52a003b3f4956433429631afe4002f82a924a5a7a891db7ae1f6434797a57dff" 3
9494
txOutRef7 = TxOutRef "384de3f29396fdf687551e3f9e05bd400adcd277720c71f1d2b61f17f5183e51" 1
9595

96-
txIn1, txIn2, txIn3, txIn4, txIn5 :: TxIn
96+
txIn1, txIn2, txIn3, txIn4 :: TxIn
9797
txIn1 = TxIn txOutRef1 (Just ConsumePublicKeyAddress)
9898
txIn2 = TxIn txOutRef2 (Just ConsumePublicKeyAddress)
9999
txIn3 = TxIn txOutRef3 (Just ConsumePublicKeyAddress)
100100
txIn4 = TxIn txOutRef4 (Just ConsumePublicKeyAddress)
101-
txIn5 = TxIn txOutRef5 (Just ConsumeSimpleScriptAddress)
102101

103-
utxo1, utxo2, utxo3, utxo4, utxo7 :: (TxOutRef, TxOut)
102+
utxo1, utxo2, utxo3, utxo4 :: (TxOutRef, TxOut)
104103
utxo1 = (txOutRef1, TxOut addr1 (Ada.lovelaceValueOf 1_100_000) Nothing)
105104
utxo2 = (txOutRef2, TxOut addr1 (Ada.lovelaceValueOf 1_000_000) Nothing)
106105
utxo3 = (txOutRef3, TxOut addr1 (Ada.lovelaceValueOf 900_000) Nothing)
107106
utxo4 = (txOutRef4, TxOut addr1 (Ada.lovelaceValueOf 800_000 <> Value.assetClassValue tokenAsset 200) Nothing)
108-
-- utxo5 = (txOutRef5, TxOut addr3 (Ada.lovelaceValueOf 900_000) (Just $ Ledger.DatumHash ""))
109-
-- utxo6 = (txOutRef6, TxOut addr3 (Value.singleton "11223344" "Token" 200) Nothing)
110-
utxo7 = (txOutRef2, TxOut addr1 (Ada.lovelaceValueOf 5_000_000) Nothing)
111107

112108
scrValue :: Value.Value
113109
scrValue = Value.assetClassValue tokenAsset 200 <> Ada.lovelaceValueOf 500_000

0 commit comments

Comments
 (0)