Fix >23 nodes multitransfer in frostfs-adm #352

Closed
opened 2023-05-15 13:05:37 +00:00 by fyrchik · 1 comment
Owner

We have 1024 byte limit on a tx witness invocation script.
740488f7f3/pkg/core/transaction/witness.go (L10)
Committee of >23 nodes effectively can't sign anything. (signature is 64 byte, we have 16 signatures needed, 16 * 64 = 1024).

I am not sure we can simply fix this, though.
Let's at least document the behaviour first:

  1. Frostfs-adm documentation
  2. Alphabet letters definitions in code.
We have 1024 byte limit on a tx witness invocation script. https://github.com/nspcc-dev/neo-go/blob/740488f7f35e367eaa99a71c0a609c315fe2b0fc/pkg/core/transaction/witness.go#L10 Committee of >23 nodes effectively _can't_ sign anything. (signature is 64 byte, we have 16 signatures needed, 16 * 64 = 1024). I am not sure we can simply fix this, though. Let's at least document the behaviour first: 1. Frostfs-adm documentation 2. Alphabet letters definitions in code.
fyrchik added the
bug
discussion
documentation
frostfs-adm
labels 2023-05-15 13:05:37 +00:00
fyrchik removed the
bug
label 2023-05-18 08:20:07 +00:00
fyrchik added this to the vNext milestone 2023-05-18 08:31:03 +00:00
fyrchik added the
internal
label 2024-05-16 10:45:03 +00:00
Author
Owner

It seems the doc is already here

// MaxAlphabetNodes is the maximum number of candidates allowed, which is currently limited by the size

It seems the doc is already here https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/af57d5a6a12f1be58c836e079ff3fc73acca39b3/cmd/frostfs-adm/internal/modules/morph/constants/const.go#L9
fyrchik modified the milestone from vNext to v0.40.0 2024-05-16 12:21:52 +00:00
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: TrueCloudLab/frostfs-node#352
No description provided.