Skip to content

Commit d93f629

Browse files
authored
Merge pull request IntersectMBO#5749 from IntersectMBO/fix-update-info-test
Remove manual DRep registration from InfoAction test
2 parents ea879a3 + 553e542 commit d93f629

File tree

2 files changed

+1
-45
lines changed
  • .github/workflows
  • cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov

2 files changed

+1
-45
lines changed

.github/workflows/haskell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
env:
4040
# Modify this value to "invalidate" the cabal cache.
41-
CABAL_CACHE_VERSION: "2024-03-07"
41+
CABAL_CACHE_VERSION: "2024-04-24"
4242

4343
concurrency:
4444
group: >

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -106,50 +106,6 @@ hprop_ledger_events_info_action = H.integrationRetryWorkspace 0 "info-hash" $ \t
106106
, P.signingKeyFile = stakeSKeyFp
107107
}
108108

109-
-- Create Drep registration certificates
110-
let drepCertFile :: Int -> FilePath
111-
drepCertFile n = gov </> "drep-keys" <>"drep" <> show n <> ".regcert"
112-
H.forConcurrently_ [1..3] $ \n -> do
113-
H.execCli' execConfig
114-
[ "conway", "governance", "drep", "registration-certificate"
115-
, "--drep-verification-key-file", defaultDRepVkeyFp n
116-
, "--key-reg-deposit-amt", show @Int 1_000_000
117-
, "--out-file", drepCertFile n
118-
]
119-
120-
-- Retrieve UTxOs for registration submission
121-
txin1 <- findLargestUtxoForPaymentKey epochStateView sbe wallet0
122-
123-
drepRegTxbodyFp <- H.note $ work </> "drep.registration.txbody"
124-
drepRegTxSignedFp <- H.note $ work </> "drep.registration.tx"
125-
126-
void $ H.execCli' execConfig
127-
[ "conway", "transaction", "build"
128-
, "--change-address", Text.unpack $ paymentKeyInfoAddr wallet0
129-
, "--tx-in", Text.unpack $ renderTxIn txin1
130-
, "--tx-out", Text.unpack (paymentKeyInfoAddr wallet1) <> "+" <> show @Int 5_000_000
131-
, "--certificate-file", drepCertFile 1
132-
, "--certificate-file", drepCertFile 2
133-
, "--certificate-file", drepCertFile 3
134-
, "--witness-override", show @Int 4
135-
, "--out-file", drepRegTxbodyFp
136-
]
137-
138-
void $ H.execCli' execConfig
139-
[ "conway", "transaction", "sign"
140-
, "--tx-body-file", drepRegTxbodyFp
141-
, "--signing-key-file", paymentSKey $ paymentKeyInfoPair wallet0
142-
, "--signing-key-file", defaultDRepSkeyFp 1
143-
, "--signing-key-file", defaultDRepSkeyFp 2
144-
, "--signing-key-file", defaultDRepSkeyFp 3
145-
, "--out-file", drepRegTxSignedFp
146-
]
147-
148-
void $ H.execCli' execConfig
149-
[ "conway", "transaction", "submit"
150-
, "--tx-file", drepRegTxSignedFp
151-
]
152-
153109
-- Create info action proposal
154110

155111
void $ H.execCli' execConfig

0 commit comments

Comments
 (0)