Skip to content
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

Possible (to be confirmed) Consensus (bank hash) mismatch with v1.9.8 #23253

Closed
steviez opened this issue Feb 20, 2022 · 2 comments · Fixed by #23256
Closed

Possible (to be confirmed) Consensus (bank hash) mismatch with v1.9.8 #23253

steviez opened this issue Feb 20, 2022 · 2 comments · Fixed by #23256

Comments

@steviez
Copy link
Contributor

steviez commented Feb 20, 2022

Problem

One of our nodes was running v1.9.8 and encountered the following:

solana_core::cluster_slot_state_verifier] Cluster duplicate confirmed slot 119324256
with hash AegBYCpY5ET8nmWKLWEGsWdFZWJMRHMZi6TrDeTQ2bzM,
but our version has hash B9zJTYie64wnexRt9se7d7c7X5JZDa9fLwRCCfaXYahm

Work in progress to confirm / reproduce / track down the issue

@jstarry
Copy link
Member

jstarry commented Feb 21, 2022

EDIT: Think I figured out the reason this time...

On epoch boundaries we check if any new features have been activated and, if so, apply changes to builtin programs. On testnet, there weren't any new feature activation at the latest epoch boundary. But in #23233, builtin addition/removal transitions were combined such that if the removal feature id was not activated, the builtin would be re-added. This behavior differs from v1.9.6 because that version doesn't try to re-add feature-gated builtins at all. When the built-in for ed25519 is re-added, the account becomes native loader owned and the "ed25519_program" string is stored in its data buffer. This results in a hash mismatch because on testnet, the ed25519 program id is a system owned account with an empty data buffer.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants