Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Seedtool Needs to Deal with Unknown Data

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Reproduce the documented seedtool envelope import/export command and compare the imported output with the original envelope. Trace the envelope handling entry points, then resolve the intended behavior for known data types, unknown data types, and attachments; done requires an agreed policy and behavior that no longer silently loses the output-descriptor data.

Written by the indexing model from the issue text.

Description

enhancement

Seedtool needs to have a methodology for dealing with unknown data in Envelopes of seeds it imports.

For example:

% envelope format ur:envelope/lrtpcsgdhkwzdtfthptokigtvwnnjsqzcxknsktdoyadcsspoycfadzttpcstantjyoeadisktjojeisdefzdydtaolytantjloxaxhdclaxvlcprfttldjobkredtlnhsidwybaeyjtswyandlgjnehtkdsidbkqzsrkphyfhsaaahdcxhnfgnepefxgdytryckticelyotsstoknfntavevaskiddmolsarntykbrybtjpksamtantjooeadlncsghykaeykaeykaocyhngrmuwzaycyzssajpsnoybdtpcskpfyhsjpjecxgdkpjpjojzihcxgdihiajecxhfinhsjztkwewyfn
Bytes(16) [
    'isA': 'Seed'
    '508': output-descriptor(Map)
    'hasName': "Dark Purple Peck Vial"
]

Currently if you import this into Seedtool and reexport it, the output-descriptor is silently dropped.

% seedtool -i envelope ur:envelope/lrtpcsgdhkwzdtfthptokigtvwnnjsqzcxknsktdoyadcsspoycfadzttpcstantjyoeadisktjojeisdefzdydtaolytantjloxaxhdclaxvlcprfttldjobkredtlnhsidwybaeyjtswyandlgjnehtkdsidbkqzsrkphyfhsaaahdcxhnfgnepefxgdytryckticelyotsstoknfntavevaskiddmolsarntykbrybtjpksamtantjooeadlncsghykaeykaeykaocyhngrmuwzaycyzssajpsnoybdtpcskpfyhsjpjecxgdkpjpjojzihcxgdihiajecxhfinhsjztkwewyfn -o envelope | envelope format
Bytes(16) [
    'isA': 'Seed'
    'hasName': "Dark Purple Peck Vial"
]

Options for dealing with this:

  1. Silently drop it [current]
  2. Drop it with a WARNING
  3. Silently carry it over
  4. Carry it over with a WARNING
  5. Drop it, but offer an additional Envelope containing only the dropped data.

...

There are potentially three categories of data here, with the possibility to deal with them differently.

A. Known data types (like output-descriptor)
B. Unknown data types
C. Attachments

Dominant language
Rust
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from BlockchainCommons/seedtool-cli-rust

All issues in BlockchainCommons/seedtool-cli-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.