nspcc-dev / nspcc-dev/neofs-api

Status for already removed container

Open
#366 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature I3 S3 U4
Dominant language
Makefile
Stars
11
Forks
15
Avg merge
2d 8h
Merged PRs (30d)
9

Description

Is your feature request related to a problem? Please describe.

similar to https://github.com/nspcc-dev/neofs-api/blob/fc8584b766d6b544337fc055dca34c29b0155d31/status/types.proto#L137-L138

Container contract supports the exception since https://github.com/nspcc-dev/neofs-contract/pull/404. Once container is removed, it becomes inoperable. This fact would be nice to be highlighted in responses

Describe the solution you'd like

add CONTAINER_ALREADY_REMOVED status

Contributor guide

Open the contributing guide

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 reading status/types.proto at the referenced lines in neofs-api and compare the existing removed-container status in neofs-contract. Add the requested CONTAINER_ALREADY_REMOVED status declaration where the API status values are defined, then verify the proto files remain valid and the new status is exposed in responses.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.