Skip to content

Commit

Permalink
Remove (resolved) TODOs left in source code.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Aug 11, 2023
1 parent 244afc7 commit 4316764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ describe('TransactionSubmission', () => {
)
} catch (e) {
expect(e).toBeInstanceOf(JSONRPCError)
// TODO: assert on error code
// expect(errors[0]).toBeInstanceOf(EvaluateTx.errors.ValidatorFailed.Error)
}
})

Expand Down
6 changes: 3 additions & 3 deletions server/src/Ogmios/Data/Ledger/PredicateFailure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ data MultiEraPredicateFailure crypto
| InvalidProtocolParametersUpdate

---------------------------------------------------------------------------
-- Rule → DELEGS TODO
-- Rule → DELEGS
---------------------------------------------------------------------------

-- Stake pool must exist / be registered when delegating to it.
Expand All @@ -356,7 +356,7 @@ data MultiEraPredicateFailure crypto
}

---------------------------------------------------------------------------
-- Rule → POOL TODO
-- Rule → POOL
---------------------------------------------------------------------------

-- A stake pool must not issue a retirement certificate too far in the
Expand All @@ -382,7 +382,7 @@ data MultiEraPredicateFailure crypto
}

---------------------------------------------------------------------------
-- Rule → DELEG TODO
-- Rule → DELEG
---------------------------------------------------------------------------

-- One cannot register a stake credential twice
Expand Down

0 comments on commit 4316764

Please sign in to comment.