Skip to content

sync from 0 broken on mainnet/devnet (sometimes) #3444

@alessiodf

Description

@alessiodf

Devnet 2.6.0-next.10:

1|ark-core  | [2020-02-07 00:55:00.476] DEBUG: Delegate darkgalp (037997a6553ea8073eb199e9f5ff23b8f0892e79433ef35e13966e0a12849d02e3) allowed to forge block 611,446
1|ark-core  | TypeError: Cannot read property 'keysgroup' of undefined
1|ark-core  |     at MultiSignatureRegistrationTransaction.serialize (/home/ark/.config/yarn/global/node_modules/@arkecosystem/crypto/dist/transactions/types/multi-signature.js:54:60)
1|ark-core  |     at Function.serialize (/home/ark/.config/yarn/global/node_modules/@arkecosystem/crypto/dist/transactions/serializer.js:39:40)
1|ark-core  |     at Function.toBytes (/home/ark/.config/yarn/global/node_modules/@arkecosystem/crypto/dist/transactions/utils.js:11:40)
1|ark-core  |     at Function.serializeWithTransactions (/home/ark/.config/yarn/global/node_modules/@arkecosystem/crypto/dist/blocks/serializer.js:29:53)
1|ark-core  |     at Function.serializeWithTransactions (/home/ark/.config/yarn/global/node_modules/@arkecosystem/crypto/dist/blocks/block.js:67:40)
1|ark-core  |     at Function.fromData (/home/ark/.config/yarn/global/node_modules/@arkecosystem/crypto/dist/blocks/factory.js:37:42)
1|ark-core  |     at Blockchain.processBlocks (/home/ark/.config/yarn/global/node_modules/@arkecosystem/core-blockchain/dist/blockchain.js:316:64)

At which point sync stops until the process is manually restarted. Had to restart the node 5 times before it would continue. An identical problem also exists at height 368177.

If it is because of a bad peer sending a block with an invalid asset, at least Core should handle it more gracefully and not require a (repeated) manual restart.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions