-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Multi ValidatorSet not working as expected, doesn't validate new nodes but uses old contract #8994
Comments
I haven't tested using empty steps with a validator set yet. I think what you're seeing is a bug here. I'm working on this ATM so should have a fix soon. |
Cool, i will check if the problem still occurs if i setup a new chain without emtpy steps to proof that it comes from the empty step feature. |
i tried it again without empty steps and the issue is the same: at the start of the node, he tries to get the epoch set for block 0 and in the contract at block 0 the signer isn't added to the set so he turns into an endless loop 2018-06-27 20:55:33 IO Worker #3 DEBUG engine Zooming to epoch for block 0xe8e5…1e77 |
Update: when i set it seems that https://github.com/paritytech/parity/blob/master/ethcore/src/engines/authority_round/mod.rs#L889 |
Could you try with this branch? https://github.com/paritytech/parity/tree/andre/fix-aura-reporting |
i'll give it a try, one moment please :) |
doesn't seem to work. The messages appearing again: 2018-06-28 07:43:30 IO Worker #2 DEBUG engine Zooming to epoch for block 0xacaf…239d but not for every transaction the following lines appear: |
What you show in the logs of the authority constantly trying to seal a new block and then issuing:
It's normal, it's just the way the engine works. Could you explain to me the steps you take to replicate this? I just tried to replicate this and couldn't, here's what I did:
|
i will test it again today :) thx for the solutions |
Hi, tried it again ... fresh chain Spec: https://gist.github.com/S3bb1/e4d2e4689edd18b314b13ee64fc120f4 First now with a list (to exclude issues with the contract at block 0) ...
Got the following log messages:
Now the following logmessages appear:
What am i doing wrong O_o |
The contract you're using is an older version and it's deprecated. Could you test this one instead: https://github.com/parity-contracts/kovan-validator-set |
Same result with this contract. The Contract isn't finalized when created so i can't add new validators too |
Are both validators online and sealing blocks? You need signatures from >50% validators to finalize a block, which when using 2 validators means that both validators need to sign. |
This was the trick! Now it works like a charm! I get this log message now which never appears before and after 1 additional block the validatorset is finalized.
many thanks and kudos to your patience! |
Cheers 👍 |
Hi there i'm currently testing the validator set multi option on AuRa ... my current workflow is
see the log message that a new validator contract is active
but now the new validator doesn't signs any new blocks ... instead the logs say that when emptysteps are done, the old validator set is active
any ideas why for the empty steps the old validator contract is used?
The text was updated successfully, but these errors were encountered: