Container nice name with period #89

Open
opened 2025-12-28 18:08:29 +00:00 by sami · 2 comments
Owner

Originally created by @alexvanin on GitHub (May 26, 2022).

Container nice name can't have . symbol right now. The reason is that nns.isAvailable works only with top level domains. Even if we fix this, then nns contract throws one of the parent domains is not registered. This is legit, however it is technically possible to register domain a.b.c.container in several transactions.

So my question is: can we squash this process into single invocation, or is it contradict the solution from https://github.com/nspcc-dev/neofs-contract/pull/175?

Originally created by @alexvanin on GitHub (May 26, 2022). Container nice name can't have `.` symbol right now. The reason is that `nns.isAvailable` works only with top level domains. Even if we fix this, then nns contract throws `one of the parent domains is not registered`. This is legit, however it is technically possible to register domain `a.b.c.container` in several transactions. So my question is: can we squash this process into single invocation, or is it contradict the solution from https://github.com/nspcc-dev/neofs-contract/pull/175?
Author
Owner

@fyrchik commented on GitHub (Jun 2, 2022):

This is possible to do in a single transaction, just with a custom script and multiple method invocatons.

@fyrchik commented on GitHub (Jun 2, 2022): This is possible to do in a single transaction, just with a custom script and multiple method invocatons.
Author
Owner

@alexvanin commented on GitHub (Jun 2, 2022):

So container contract can invoke nns.register three times and register a.b.c.container domain if container nice name is a.b.c?

@alexvanin commented on GitHub (Jun 2, 2022): So container contract can invoke `nns.register` three times and register `a.b.c.container` domain if container nice name is `a.b.c`?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-contract#89
No description provided.