Closed Nizametdinov closed 5 years ago
Here is the full log target-in-future.log.gz.
Some of them are followed by mempoolrej.
These ones are ok in my opinion, we simply reject vote transaction during initial sync, because they are so far.
Also have a message: has already voted for target_epoch=167
Full log: debug.log.gz
358622-2019-04-16 08:58:27 [ net] received: tx (329 bytes) peer=13
358623-2019-04-16 08:58:27 [finalization] Checking VOTE with id 86f205dab783125ead2815d1070659e6de837226a08554df0bccef0f9db57aec
358624:2019-04-16 08:58:27 [finalization] ERROR: IsVotable: validator=b84a15fd16b22d8548fc5f55896d460e74501228 has already voted for target_epoch=167.
358625-.
358626:2019-04-16 08:58:27 [finalization] ERROR: ValidateVote: not votable. validator=b84a15fd16b22d8548fc5f55896d460e74501228 target=5382e81f06c96adae2f9b06f3054f2963e8a8d28393d79cd386de0714ee6ea50 source_epoch=166 target_epoch=167
358627-.
358628-2019-04-16 08:58:27 [finalization] RecordVote: Slashable event found. Sending signal to the wallet.
358629:2019-04-16 08:58:27 [finalization] ERROR: IsVotable: validator=b84a15fd16b22d8548fc5f55896d460e74501228 has already voted for target_epoch=167.
358630-.
358631:2019-04-16 08:58:27 [finalization] ERROR: ValidateVote: not votable. validator=b84a15fd16b22d8548fc5f55896d460e74501228 target=5382e81f06c96adae2f9b06f3054f2963e8a8d28393d79cd386de0714ee6ea50 source_epoch=166 target_epoch=167
358632-.
358633:2019-04-16 08:58:27 [finalization] ERROR: VOTE (86f205dab783125ead2815d1070659e6de837226a08554df0bccef0f9db57aec) check failed: bad-vote-invalid
358634-2019-04-16 08:58:27 [ mempoolrej] 86f205dab783125ead2815d1070659e6de837226a08554df0bccef0f9db57aec from peer=13 was not accepted: bad-vote-invalid (code 16)
358635-2019-04-16 08:58:27 [ net] sending reject (53 bytes) peer=13
I suggest moving https://github.com/dtr-org/unit-e/issues/988#issuecomment-483584890 to separate issue as it detected double vote and tried to slash finalizer. It seems not to be connected to initial sync process anyhow.
Old related issue https://github.com/dtr-org/unit-e/issues/849
Describe the bug There are a lot of error messages
target_epoch=<...> is in the future
in debug.log during initial sync.Some of them are followed by
mempoolrej
.To Reproduce Start unit-e on the testnet with clean datadir.
Expected behavior The error message should not appear.
Environment