RGB20: reduce asset name length limit
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 202
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Currently there's an [enforcement at schema level](https://github.com/LNP-BP/rgb-node/blob/68146c578190bb578f2a4bf0f8d3298f94f0959a/src/contracts/fungible/data/schema.rs#L303) of `256` chars on the asset name.
This limit may be too high, so let's consider lowering it a bit.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/contracts/fungible/data/schema.rs at the linked enforcement around line 303, then read the issue discussion for context on the proposed reduction. Determine the intended replacement limit and the validation coverage that should change with it. Done means the schema consistently enforces the agreed lower asset-name limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100