oasisprotocol / oasisprotocol/cli

Rename ROFL provider offer

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

Nobody has claimed this yet.

rofl
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.