neofs-node
neofs-node copied to clipboard
FS chain deployment stucks on error in forming a role assignment transaction
i encountered stuck deployment with following error once:
calculating network fee: ... - witness hash mismatch
it appears when non-leader (not Az) node forms transaction designating Notary role to the committee (code)
i haven't been able to reproduce the problem yet. Note that deployment with the autoset option is protected from role designation errors
© @AnnaShaleva:
This error happens when your verification script script hash does not match the address of a non-contract signer. For example, the witness verification script is filled out incorrectly (it usually contains a push set of public keys and checksig\checkmultisig), for example, the keys are sorted incorrectly or some of the keys may be missing, I would check if there is a race anywhere in the code that composes the verification skriptik. Either the signer hash was filled in incorrectly, or it is completely empty, or someone cleaned it up after filling it.