mlabs-haskell / mlabs-haskell/cem-script

Cover all Tx submission errors in monads for greater DX

Open
#65 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backends cem-interfaces
Dominant language
Haskell
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Now bunch of Cardano errors are returned in raw form, which is hard to comprehend for user. We need to cover all such errors, preferably by static check of constraints DSL.

All stuff covered by static checks was separated to #81

TODO:

  • Parse submitting errors to structured datatype (same across backends)
  • Handle TxInOutdated and WrongSlot events
  • Graceful errors on coin selection fail

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reviewing the existing structured submission-error datatype and the work separated into #81, then trace the submission path for TxInOutdated, WrongSlot, and coin-selection failures. Done means those errors are handled gracefully rather than returned in raw form.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend, blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.