mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
Notary-enabled AddPeer spends notary deposit for no good reason #994
Labels
No labels
I1
I2
I3
I4
S0
S1
S2
S3
S4
U0
U1
U2
U3
U4
blocked
bug
config
dependencies
discussion
documentation
enhancement
enhancement
epic
feature
go
good first issue
help wanted
neofs-adm
neofs-cli
neofs-cli
neofs-cli
neofs-ir
neofs-lens
neofs-storage
neofs-storage
performance
question
security
task
test
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-node#994
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Mar 15, 2023).
Expected Behavior
Notary deposits are designed to be made once for an extended period of time. If notary subsystem is used properly then notary deposit should stay the same with no fallbacks ever appearing in the chain.
Current Behavior
AddPeer/AddPeerIR relationship is bogus, storage nodes creates a valid transaction calling AddPeer, but this transaction is in fact never completed and always "replaced" by IR nodes with another one calling AddPeerIR. This leads to fallback transaction release for the first transaction and drains notary deposit.
Possible Solution
Fix IR to complete AddPeer call if node data is OK. It's node's responsibility to provide correct data.
@roman-khimov commented on GitHub (Dec 21, 2023):
Duplicates #830.