IntersectMBO / IntersectMBO/cardano-ledger
Ensure every predicate check is imp tested in Conway
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
This ticket only lists all of the cases for all of the predicate failures. Every predicate failure that is missing an imp test will need a new ticket created that will track a respective imp test implementation.
Naturally, it is often possible to trigger a predicate failure by differ conditions, but we are not trying to be exhaustive. However, we do need to ensure that all predicate failures have at least one imp test written for them.
Here is also a list of tickets that will put check marks on many of the predicate failures below, once those tests have been transitioned to imp spec: #4180, #4181, #4182, #4183
This task is complete when all have checkmarks and a permalink to at least one imp test that is executed by `cardano-ledger-conway` test suite.
### `POOL`
* [x] - [`StakePoolNotRegisteredOnKeyPOOL`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/PoolSpec.hs#L52)
* [x] - [`StakePoolRetirementWrongEpochPOOL`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/PoolSpec.hs#L216)
* [x] - [`StakePoolCostTooLowPOOL`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/PoolSpec.hs#L67)
* [x] - [`WrongNetworkPOOL`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/PoolSpec.hs#L35)
* [x] - [`PoolMedataHashTooBig`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/PoolSpec.hs#L77)
* [x] - [`VRFKeyHashAlreadyRegistered`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/PoolSpec.hs#L93)
### `UTXO`
* [x] - [`BadInputsUTxO`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/LedgerSpec.hs#L255)
* [ ] - `OutsideValidityIntervalUTxO`
* [ ] - `MaxTxSizeUTxO`
* [ ] - `InputSetEmptyUTxO`
* [ ] - `FeeTooSmallUTxO`
* [x] - [`ValueNotConservedUTxO`](https://github.com/IntersectMBO/cardano-ledger/blob/7d5541927699555c529432f6575c510800851eb7/eras/mary/impl/testlib/Test/Cardano/Ledger/Mary/Imp/UtxoSpec.hs#L69)
* [ ] - `WrongNetwork`
* [ ] - `WrongNetworkWithdrawal`
* [ ] - `OutputTooSmallUTxO`
* [ ] - `OutputBootAddrAttrsTooBig`
* [ ] - `OutputTooBigUTxO`
* [x] - [`InsufficientCollateral`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxoSpec.hs#L63)
* [ ] - `ScriptsNotPaidUTxO`
* [x] - [`ExUnitsTooBigUTxO`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxoSpec.hs#L43)
* [ ] - `CollateralContainsNonADA`
* [x] - [`WrongNetworkInTxBody`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxoSpec.hs#L36)
* [ ] - `OutsideForecast`
* [ ] - `TooManyCollateralInputs`
* [ ] - `NoCollateralInputs`
* [x] - [`IncorrectTotalCollateralField`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/babbage/impl/testlib/Test/Cardano/Ledger/Babbage/Imp/UtxoSpec.hs#L76)
* [x] - [`BabbageOutputTooSmallUTxO`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/babbage/impl/testlib/Test/Cardano/Ledger/Babbage/Imp/UtxoSpec.hs#L98)
* [x] - [`BabbageNonDisjointRefInputs`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/UtxoSpec.hs#L170)
### `UTXOW`
* [x] - [`InvalidWitnessesUTXOW`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L51C46-L51C67)
* [x] - [`MissingVKeyWitnessesUTXOW`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L66)
* [x] - [`MissingScriptWitnessesUTXOW`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L78)
* [x] - [`ScriptWitnessNotValidatingUTXOW`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/UtxosSpec.hs#L467C45-L467C76)
* [x] - [`MissingTxBodyMetadataHash`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L89)
* [x] - [`MissingTxBodyMetadataHash`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L99)
* [x] - [`ConflictingMetadataHash`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L109)
* [x] -[`InvalidMetadata`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/allegra/impl/testlib/Test/Cardano/Ledger/Allegra/Imp/UtxowSpec.hs#L34)
* [x] - [`ExtraneousScriptWitnessesUTXOW`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/shelley/impl/testlib/Test/Cardano/Ledger/Shelley/Imp/UtxowSpec.hs#L123)
* [x] - [`MissingRedeemers`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxowSpec.hs#L51)
* [x] - [`MissingRequiredDatums`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxowSpec.hs#L66)
* [x] - [`NotAllowedSupplementalDatums`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxowSpec.hs#L79)
* [x] - [`PPViewHashesDontMatch`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxowSpec.hs#L95)
* [x] - [`UnspendableUTxONoDatumHash`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxowSpec.hs#L123)
* [x] - [`ExtraRedeemers`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxowSpec.hs#L149)
* [x] - [`MalformedScriptWitnesses`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/babbage/impl/testlib/Test/Cardano/Ledger/Babbage/Imp/UtxowSpec.hs#L30)
* [x] - [`MalformedReferenceScripts`](https://github.com/input-output-hk/cardano-ledger/blob/fdd6a9a402a2831fa3381686b5bf5ba1b4d2144e/eras/babbage/impl/testlib/Test/Cardano/Ledger/Babbage/Imp/UtxowSpec.hs#L40)
* [x] - [`ScriptIntegrityHashMismatch`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/UtxowSpec.hs#L67)
### `UTXOS`
* [x] - [`ValidationTagMismatch`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/alonzo/impl/testlib/Test/Cardano/Ledger/Alonzo/Imp/UtxosSpec.hs#L178)
* [x] - [`CollectErrors`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/UtxosSpec.hs#L719)
### `GOVCERT`
* [x] - [`ConwayDRepAlreadyRegistered`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovCertSpec.hs#L202)
* [x] - [`ConwayDRepNotRegistered`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovCertSpec.hs#L212)
* [x] - [`ConwayDRepIncorrectDeposit`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovCertSpec.hs#L168)
* [x] - [`ConwayCommitteeHasPreviouslyResigned`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovCertSpec.hs#L228)
* [x] - [`ConwayDRepIncorrectRefund`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovCertSpec.hs#L187)
### `DELEG`
* [x] - [`IncorrectDepositDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/c456f5e27b19b2c35c0e3f2ac8b568d3e8558ce3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L99)
* [x] - [`StakeKeyRegisteredDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/c456f5e27b19b2c35c0e3f2ac8b568d3e8558ce3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L83)
* [x] - [`StakeKeyNotRegisteredDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/c456f5e27b19b2c35c0e3f2ac8b568d3e8558ce3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L125)
* [x] - [`StakeKeyHasNonZeroRewardAccountBalanceDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/c456f5e27b19b2c35c0e3f2ac8b568d3e8558ce3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L166)
* [x] - [`DelegateeDRepNotRegisteredDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L403)
* [x] -[ `DelegateeStakePoolNotRegisteredDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L292)
* [x] - [`DepositIncorrectDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L94)
* [x] - [`RefundIncorrectDELEG`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/DelegSpec.hs#L145)
### `GOV`
* [x] - [`GovActionsDoNotExist`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L734)
* [x] - [`MalformedProposal`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L223)
* [x] - [`ProposalProcedureNetworkIdMismatch`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L969)
* [x] - [`TreasuryWithdrawalsNetworkIdMismatch`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L993)
* [x] - [`ProposalDepositIncorrect`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L107)
* [x] - [`DisallowedVoters`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L1162)
* [x] - [`ConflictingCommitteeUpdate`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L127)
* [x] - [`ExpirationEpochTooSmall`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L86)
* [x] - [`InvalidPrevGovActionId`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L268)
* [x] - [`VotingOnExpiredGovAction`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L724)
* [x] - [`ProposalCantFollow`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L1095)
* [x] - [`InvalidPolicyHash`](https://github.com/IntersectMBO/cardano-ledger/blob/bc2fdce909fe27e8af93c5c308fda9b16a861bc3/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/GovSpec.hs#L942)
### `LEDGER`
* [x] - [`ConwayWdrlNotDelegatedToDRep`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/LedgerSpec.hs#L80)
* [ ] - `ConwayTreasuryValueMismatch`
* [x] - [`ConwayTxRefScriptsSizeTooBig`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/LedgerSpec.hs#L57)
* [x] - [`ConwayMempoolFailure`](https://github.com/IntersectMBO/cardano-ledger/blob/eb123e6035b9cf2f195be9df64e89115c6155a39/eras/conway/impl/testlib/Test/Cardano/Ledger/Conway/Imp/LedgerSpec.hs#L233)
Contributor guide
Assessment
This issue has not been assessed yet.