Unpaid containers #437

Open
opened 2025-12-28 18:16:20 +00:00 by sami · 1 comment
Owner

Originally created by @carpawell on GitHub (Nov 21, 2025).

I'm always frustrated when our new feature is not tested. We have released the deny-of-service-if-not-paid feature: https://github.com/nspcc-dev/neofs-node/pull/3650.

Describe the solution you'd like

  1. Add a wallet with a balance, store objects more than the owner may afford
  2. Wait an epoch to report updated storage values and another one for payments
  3. See that SNs refuse to add additional objects to this container.
  4. WARNING: before v0.51.0 release, there is only found unpaid container message in log, AFTER v0.51.0 release, there will also be dropping all the container's data
  5. WARNING: after v.0.51.0 release, it will be possible to keep storing objects again after container cleanup (if balance still allows storing smth).

Describe alternatives you've considered

-

Additional context

https://github.com/nspcc-dev/neofs-node/issues/3691
https://github.com/nspcc-dev/neofs-node/issues/3692

Originally created by @carpawell on GitHub (Nov 21, 2025). ## Is your feature request related to a problem? Please describe. I'm always frustrated when our new feature is not tested. We have released the deny-of-service-if-not-paid feature: https://github.com/nspcc-dev/neofs-node/pull/3650. ## Describe the solution you'd like 1. Add a wallet with a balance, store objects more than the owner may afford 2. Wait an epoch to report updated storage values and another one for payments 3. See that SNs refuse to add additional objects to this container. 4. WARNING: before v0.51.0 release, there is only `found unpaid container` message in log, AFTER v0.51.0 release, there will also be dropping all the container's data 5. WARNING: after v.0.51.0 release, it will be possible to keep storing objects again after container cleanup (if balance still allows storing smth). ## Describe alternatives you've considered \- ## Additional context https://github.com/nspcc-dev/neofs-node/issues/3691 https://github.com/nspcc-dev/neofs-node/issues/3692
Author
Owner

@carpawell commented on GitHub (Nov 21, 2025):

Smth about checking container's payment status will be there: https://github.com/nspcc-dev/neofs-node/pull/3693

@carpawell commented on GitHub (Nov 21, 2025): Smth about checking container's payment status will be there: https://github.com/nspcc-dev/neofs-node/pull/3693
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-testcases#437
No description provided.