Skip to content

Commit

Permalink
feat(core): add new ogmios txsubmit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceahasegan committed May 9, 2024
1 parent 6cbd003 commit 5d48beb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/core/src/CardanoNode/types/CardanoNodeErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ export enum TxSubmissionErrorCode {
InvalidCommitteeUpdate = 3157,
TreasuryWithdrawalMismatch = 3158,
InvalidOrMissingPreviousProposal = 3159,
/**
* Identical UTxO references were found in both the transaction inputs and references. This is redundant and no longer allowed by the ledger.
* Indeed, if the a UTxO is present in the inputs set, it is already in the transaction context
*/
ConflictingInputsAndReferences = 3164,
FailureUnrecognizedCertificateType = 3998,
InternalLedgerTypeConversionError = 3999,
DeserialisationFailure = -32_602
Expand Down Expand Up @@ -113,3 +118,7 @@ export type ValueNotConservedData = {
export type IncompleteWithdrawalsData = {
withdrawals: Cardano.Withdrawal[];
};

export type UnknownOutputReferencesData = {
unknownOutputReferences: Cardano.TxIn[];
};

0 comments on commit 5d48beb

Please sign in to comment.