-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5188 from input-output-hk/newhoggy/golden-tests-f…
…or-errors Golden tests for `cardano-api` errors
- Loading branch information
Showing
100 changed files
with
478 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-} |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/Bech32DecodeError/Bech32DataPartToBytesError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
There was an error in extracting the bytes from the data part of the Bech32-encoded string. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/Bech32DecodeError/Bech32DecodingError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
StringToDecodeTooLong |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/Bech32DecodeError/Bech32DeserialiseFromBytesError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
There was an error in deserialising the data part of the Bech32-encoded string into a value of the expected type. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/Bech32DecodeError/Bech32UnexpectedPrefix.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Unexpected Bech32 prefix: the actual prefix is "<text>", but it was expected to be "<text>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/Bech32DecodeError/Bech32WrongPrefix.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Mismatch in the Bech32 prefix: the actual prefix is "<text>", but the prefix for this payload value should be "<text>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/InputDecodeError/InputBech32DecodeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Mismatch in the Bech32 prefix: the actual prefix is "<text>", but the prefix for this payload value should be "<text>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/InputDecodeError/InputInvalidError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Invalid key. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/InputDecodeError/InputTextEnvelopeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelope aeson decode error: <string> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/InvalidCostModel/InvalidCostModel.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Invalid cost model: applyParams error: Internal problem occurred upon generating the applied cost model parameters with JSON error: <string> Cost model: CostModel [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42] |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/JsonDecodeError/JsonDecodeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<string> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrCandidateNonceStillEvolving.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Candidate nonce is still evolving |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrDecodeLedgerStateFailure.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Failed to successfully decode ledger state |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrDecodeProtocolEpochStateFailure.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Failed to successfully decode the current epoch state: DecoderErrorVoid |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrDecodeProtocolStateFailure.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Failed to successfully decode protocol state: Attempted to decode Void |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrGenesisSlot.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Leadership schedule currently cannot be calculated from genesis |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrSlotRangeCalculationFailure.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Error while calculating the slot range: <text> |
4 changes: 4 additions & 0 deletions
4
cardano-api/golden/files/errors/LeadershipError/LeaderErrStakeDistribUnstable.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The current stake distribution is currently unstable and therefore we cannot predict the following epoch's leadership schedule. Please wait until : SlotNo 2 before running the leadership-schedule command again. | ||
Current slot: SlotNo 1 | ||
Stability window: SlotNo 3 | ||
Calculated last slot of current epoch: SlotNo 4 |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/LeadershipError/LeaderErrStakePoolHasNoStake.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The stake pool: "9e734b6c2263c0917bfc550e9c949f41afa3fe000377243bd29df399" has no stake |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/OperationalCertIssueError/OperationalCertKeyMismatch.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Key mismatch: the signing key does not match the one that goes with the counter |
1 change: 1 addition & 0 deletions
1
...olden/files/errors/ProtocolParametersError/PParamsErrorMissingAlonzoProtocolParameter.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The Alonzo era protocol parameters in use is missing one or more of the following fields: UTxOCostPerWord, CostModels, Prices, MaxTxExUnits, MaxBlockExUnits, MaxValueSize, CollateralPercent, MaxCollateralInputs. Did you intend to use an Alonzo era protocol parameters value? |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ProtocolParametersError/PParamsErrorMissingMinUTxoValue.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The ConwayEra protocol parameters value is missing the following field: MinUTxoValue. Did you intend to use a ConwayEra protocol parameters value? |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/RawBytesHexError/RawBytesHexErrorBase16DecodeFail.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Expected Base16-encoded bytestring, but got <bytestring>; <string> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/RawBytesHexError/RawBytesHexErrorRawBytesDecodeFail.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Failed to deserialise <bytestring> as VerificationKey GenesisKey. <string> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptDataJsonBytesError/ScriptDataJsonBytesErrorInvalid.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ScriptData is invalid: Constructor numbers in script data value 0 is outside the range 0 .. 2^64-1. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptDataJsonBytesError/ScriptDataJsonBytesErrorValue.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Error decoding ScriptData JSON value: JSON schema error within the script data: null | ||
JSON null values are not supported. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptDataJsonError/ScriptDataJsonSchemaError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
JSON schema error within the script data: "<JSON>" | ||
JSON null values are not supported. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptDataJsonError/ScriptDataRangeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Value out of range within the script data: "<JSON>" | ||
Constructor numbers in script data value 1 is outside the range 0 .. 2^64-1. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonBadMapPair.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Expected a list of key/value pair { "k": ..., "v": ... } objects. | ||
Unexpected value: "<JSON>" |
3 changes: 3 additions & 0 deletions
3
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonBadObject.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
JSON object does not match the schema. | ||
Expected a single field named "int", "bytes", "list" or "map". | ||
Unexpected object field(s): {"<text>":"<JSON>"} |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonBoolNotAllowed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JSON bool values are not supported. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonNotObject.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JSON object expected. Unexpected value: "<JSON>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonNullNotAllowed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JSON null values are not supported. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonNumberNotInteger.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JSON numbers must be integers. Unexpected value: 0.0 |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonSchemaError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
JSON schema error within the script data: null | ||
JSON null values are not supported. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptDataJsonSchemaError/ScriptDataJsonTypeMismatch.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The value in the field "<text>" does not have the type required by the schema. | ||
Unexpected value: "<JSON>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptDataRangeError/ScriptDataConstructorOutOfRange.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Constructor numbers in script data value 1 is outside the range 0 .. 2^64-1. |
6 changes: 6 additions & 0 deletions
6
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorEvaluationFailed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The Plutus script evaluation failed: Cost model parameters were not as we expected | ||
Script debugging logs: <text> | ||
<text> | ||
<text> | ||
<text> | ||
<text> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorExecutionUnitsOverflow.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The execution units required by this Plutus script overflows a 64bit word. In a properly configured chain this should be practically impossible. So this probably indicates a chain configuration problem, perhaps with the values in the cost model. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorMissingCostModel.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
No cost model was found for language PlutusV2 |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorMissingScript.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The redeemer pointer: RdmrPtr Mint 0 points to a Plutus script that does not exist. | ||
The pointers that can be resolved are: fromList [] |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorMissingTxIn.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The supplied UTxO is missing the txin 210c0a4bb6391baf606843e67863d1474cc462374ab12c42d55f78a0b55b56e0#1 |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorNotPlutusWitnessedTxIn.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
transaction input 0 (in the order of the TxIds) is not a Plutus script witnessed tx input and cannot be spent using a Plutus script witness.The script hash is "a0d442ce189bc932515c85be74ac939df19ea8450c03030234790921". |
1 change: 1 addition & 0 deletions
1
...golden/files/errors/ScriptExecutionError/ScriptErrorRedeemerPointsToUnknownScriptHash.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
transaction input 0 (in the order of the TxIds) points to a script hash that is not known. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorTxInWithoutDatum.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The Plutus script witness for the txin does not have a script datum (according to the UTxO). The txin in question is 210c0a4bb6391baf606843e67863d1474cc462374ab12c42d55f78a0b55b56e0#1 |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/ScriptExecutionError/ScriptErrorWrongDatum.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The Plutus script witness has the wrong datum (according to the UTxO). The expected datum value has hash "ee155ace9c40292074cb6aff8c9ccdd273c81648ff1149ef36bcea6ebb8a3e25" |
1 change: 1 addition & 0 deletions
1
...den/files/errors/StakePoolMetadataValidationError/StakePoolMetadataInvalidLengthError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Stake pool metadata must consist of at most 0 bytes, but it consists of 1 bytes. |
1 change: 1 addition & 0 deletions
1
...golden/files/errors/StakePoolMetadataValidationError/StakePoolMetadataJsonDecodeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<string> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeCddlError/TextEnvelopeCddlAesonDecodeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Could not JSON decode TextEnvelopeCddl file at: <string> Error: <string> |
1 change: 1 addition & 0 deletions
1
...lden/files/errors/TextEnvelopeCddlError/TextEnvelopeCddlErrByronKeyWitnessUnsupported.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelopeCddl error: Byron key witnesses are currently unsupported. |
1 change: 1 addition & 0 deletions
1
...no-api/golden/files/errors/TextEnvelopeCddlError/TextEnvelopeCddlErrCBORDecodingError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelopeCDDL CBOR decoding error: DecoderErrorVoid |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeCddlError/TextEnvelopeCddlErrUnknownType.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Unknown TextEnvelopeCddl type: <text> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeCddlError/TextEnvelopeCddlTypeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelopeCddl type error: Expected one of: <text> Actual: <text> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeCddlError/TextEnvelopeCddlUnknownKeyWitness.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Unknown key witness specified |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeError/TextEnvelopeAesonDecodeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelope aeson decode error: <string> |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeError/TextEnvelopeDecodeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelope decode error: DecoderErrorVoid |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TextEnvelopeError/TextEnvelopeTypeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TextEnvelope type error: Expected one of: <string>, <string> Actual: <string> |
1 change: 1 addition & 0 deletions
1
...no-api/golden/files/errors/TransactionValidityError/TransactionValidityCostModelError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
An error occurred while converting from the cardano-api cost models to the cardano-ledger cost models. Error: <string> Cost models: fromList [(AnyPlutusScriptVersion PlutusScriptV2,CostModel [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42])] |
1 change: 1 addition & 0 deletions
1
...-api/golden/files/errors/TransactionValidityError/TransactionValidityTranslationError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Error translating the transaction context: TimeTranslationPastHorizon "<text>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyEmptyTxIns.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction body has no inputs |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyEmptyTxInsCollateral.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction body has no collateral inputs, but uses Plutus scripts |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyEmptyTxOuts.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction body has no outputs |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyInIxOverflow.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction input index is too big, acceptable value is up to 2^32-1, in input TxIn "210c0a4bb6391baf606843e67863d1474cc462374ab12c42d55f78a0b55b56e0" (TxIx 1) |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyMetadataError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Error in metadata entry 1: Byte string metadata value must consist of at most 64 bytes, but it consists of 2 bytes. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyMintAdaError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction cannot mint ada, only non-ada assets |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyMissingProtocolParams.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction uses Plutus scripts but does not provide the protocol parameters to hash |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyOutputNegative.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Negative quantity (1) in transaction output: TxOutInAnyEra AllegraEra (TxOut (AddressInEra (ShelleyAddressInEra ShelleyBasedEraAllegra) (ShelleyAddress Mainnet (KeyHashObj (KeyHash "250ca83514191f9ceaccee2eb3276d5ad964e17cc31a067691e04ca8")) StakeRefNull)) (TxOutAdaOnly AdaOnlyInAllegraEra (Lovelace 1)) TxOutDatumNone ReferenceScriptNone) |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyError/TxBodyOutputOverflow.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Quantity too large (1 >= 2^64) in transaction output: TxOutInAnyEra AllegraEra (TxOut (AddressInEra (ShelleyAddressInEra ShelleyBasedEraAllegra) (ShelleyAddress Mainnet (KeyHashObj (KeyHash "250ca83514191f9ceaccee2eb3276d5ad964e17cc31a067691e04ca8")) StakeRefNull)) (TxOutAdaOnly AdaOnlyInAllegraEra (Lovelace 1)) TxOutDatumNone ReferenceScriptNone) |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Transaction body has no inputs |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorAdaBalanceNegative.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The transaction does not balance in its use of ada. The net balance of the transaction is negative: Lovelace 1 lovelace. The usual solution is to provide more inputs, or inputs with more ada. |
5 changes: 5 additions & 0 deletions
5
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorAdaBalanceTooSmall.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The transaction does balance in its use of ada, however the net balance does not meet the minimum UTxO threshold. | ||
Balance: Lovelace 1 | ||
Offending output (change output): addr1vyjse2p4zsv3l882enhzave8d4ddje8p0np35pnkj8sye2qu9km4v + 1 lovelace | ||
Minimum UTxO threshold: Lovelace 0 | ||
The usual solution is to provide more inputs, or inputs with more ada to meet the minimum UTxO threshold |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorByronEraNotSupported.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The Byron era is not yet supported by makeTransactionBodyAutoBalance |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorMinUTxONotMet.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Minimum UTxO threshold not met for tx output: addr1vyjse2p4zsv3l882enhzave8d4ddje8p0np35pnkj8sye2qu9km4v + 1 lovelace | ||
Minimum required UTxO: Lovelace 1 |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorMissingParamMinUTxO.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The minUTxOValue protocol parameter is required but missing |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorNonAdaAssetsUnbalanced.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Non-Ada assets are unbalanced: 1 lovelace |
1 change: 1 addition & 0 deletions
1
...es/errors/TxBodyErrorAutoBalance/TxBodyErrorScriptWitnessIndexMissingFromExecUnitsMap.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ScriptWitnessIndex (redeemer pointer): ScriptWitnessIndexTxIn 1 is missing from the execution units (redeemer pointer) map: fromList [(ScriptWitnessIndexTxIn 2,ExecutionUnits {executionSteps = 1, executionMemory = 1})] |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyErrorValidityInterval.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
An error occurred while converting from the cardano-api cost models to the cardano-ledger cost models. Error: <string> Cost models: fromList [] |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyScriptBadScriptValidity.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
One or more of the scripts were expected to fail validation, but none did. |
3 changes: 3 additions & 0 deletions
3
cardano-api/golden/files/errors/TxBodyErrorAutoBalance/TxBodyScriptExecutionError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The following scripts have execution failures: | ||
the script for transaction input 1 (in the order of the TxIds) failed with: | ||
The execution units required by this Plutus script overflows a 64bit word. In a properly configured chain this should be practically impossible. So this probably indicates a chain configuration problem, perhaps with the values in the cost model. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/TxMetadataJsonError/TxMetadataJsonSchemaError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
JSON schema error within the metadata item 0: "<JSON>" | ||
JSON null values are not supported. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/TxMetadataJsonError/TxMetadataJsonToplevelBadKey.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The JSON metadata top level must be a map (JSON object) with unsigned integer keys. | ||
Invalid key: "<text>" |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxMetadataJsonError/TxMetadataJsonToplevelNotMap.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The JSON metadata top level must be a map (JSON object) from word to value. |
2 changes: 2 additions & 0 deletions
2
cardano-api/golden/files/errors/TxMetadataJsonError/TxMetadataRangeError.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Value out of range within the metadata item 0: "<JSON>" | ||
Byte string metadata value must consist of at most 64 bytes, but it consists of 0 bytes. |
1 change: 1 addition & 0 deletions
1
cardano-api/golden/files/errors/TxMetadataRangeError/TxMetadataJsonToplevelNotMap.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Byte string metadata value must consist of at most 64 bytes, but it consists of 0 bytes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.