marigold-dev / marigold-dev/deku

Define `Entrypoint.t`

Open
#452 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog
Dominant language
OCaml
Stars
82
Forks
17
PR merge metrics
No merged PRs in 30d

Description

At this point, I am not sure about what is _really_ the entrypoint (I think it is _the smart contract entrypoint_, am I right?), but should we go for a custom type instead of `string`?
I think going for a custom type could help us to get some domain specific: What is this string, functionally? => Can this string be empty? Can this string be only a space character? Does it have to match a given regex?

_Originally posted by @gsebil08 in https://github.com/marigold-dev/deku/pull/444#discussion_r812643446_

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

Start with the definition and usages of Entrypoint.t referenced by the issue and the discussion in pull request #444. Determine whether it represents a smart-contract entrypoint and agree on its allowed values, including emptiness, whitespace, and regex constraints. Done means the domain-specific type and its validation rules are defined and consistently applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
blockchain
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.