nspcc-dev / neofs-node

NeoFS is a decentralized distributed object storage integrated with the Neo blockchain
https://fs.neo.org
GNU General Public License v3.0
31 stars 38 forks source link

FS chain deployment stucks on error in forming a role assignment transaction #2857

Open cthulhu-rider opened 1 month ago

cthulhu-rider commented 1 month ago

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.