-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consensus failure on Gaia-7001a - Slashing bug #1797
Comments
Another stacktrace:
|
The slashing logic (at the time of consensus fault, at least) is behaving as intended: if validator edit: Looks like validator 10642 I[07-24|00:16:56.681] Absent validator DF54B862410BCD9B5C516FBB6C56BDC826ED6FA7 at height 2511, 0 signed, threshold 50 module=x/slashing
10643 I[07-24|00:16:56.681] Validator DF54B862410BCD9B5C516FBB6C56BDC826ED6FA7 past min height of 2510 and below signed blocks threshold of 50 module=x/slashing
10644 I[07-24|00:16:56.682] Slashing at current height 2511, not scanning unbonding delegations & redelegations module=x/stake
10645 I[07-24|00:16:56.689] Validator DF54B862410BCD9B5C516FBB6C56BDC826ED6FA7 slashed by slashFactor 1/100, burned 3/10 tokens module=x/stake
10646 I[07-24|00:16:56.695] Validator DF54B862410BCD9B5C516FBB6C56BDC826ED6FA7 revoked module=x/stake
10648 I[07-24|00:16:56.709] Executed block module=state height=2511 validTxs=1 invalidTxs=0
10649 I[07-24|00:16:56.709] Updates to validators module=state updates="[{\"address\":\"\",\"pub_key\":\"FiEl7a96NaaDaVH5mV9EK/6tOUWL5mkkT46ARRKAWIg=\",\"power\":0}]"
10650 I[07-24|00:16:56.722] Committed state module=state height=2511 txs=1 appHash=F6382E15AA2DD5A3E5D3C2FD67859505D032BAF4 The store record was deleted since the validator was unbonded from in block 2511 - as expected - but the validator should have never been in the Tendermint validator set for block 2512. Strangely, the validator sets as queried directly (2511, 2512) are correct. |
🤔 |
The issue appears to be that Tendermint sends signing info for the last block on abci.RequestBeginBlock.SigningValidators, while the SDK expected signing info for the current block. |
Fixed by #1805. Thanks all for the bug reports. |
Consensus failed because of a bug in the slashing logic
For Admin Use
The text was updated successfully, but these errors were encountered: