oasisprotocol / oasisprotocol/cli
Rename ROFL provider offer
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 80
- Forks
- 23
- Avg merge
- 9h 43m
- Merged PRs (30d)
- 3
Description
Currently, if you rename an offer in rofl-provider.yaml it deletes the offer and creates a new one. This is confusing because existing machines are not associated with a living offer ID anymore although the specs are the same. Add support for renaming the existing offer and keeping the ID.
For example
oasis rofl provider rename-offer <old_name> <new_name>
Then this issues a normal update transaction and just assigns a new name.
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 by locating the code that reads rofl-provider.yaml and currently deletes and recreates offers. Trace the provider CLI entry points and transaction handling, then verify the rename-offer command issues a normal update while preserving the existing offer ID and changing only its name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100