-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Initial BeginBlock contains invalid votes and differs on replay #2810
Comments
Note that BeginBlock contains VoteInfo from the LastCommit - ie. the commit for the previous block. For block 1, there is no LastCommit, because we're dealing with the first block. So the list of votes is expected to be empty for the first block. Does that explain this? Or is something else going on here? |
Thank you, this explains this — previously Also sending empty votes in initial |
Can you clarify the issue here? Could it be related to #2893?
Not sure what you're asking for here - we should just send the info corresponding to the validator set for this first block, even though all |
Closing this - let us know if there's still something to address. |
Tendermint version: 0.26.0-c086d0a3
ABCI app: https://ercoin.tech
Steps to reproduce:
0c6cedda6bdae870a70655
).src/ercoin_abci.erl
:make app
make testnet
and entering the following data options:make run
.tendermint node --home ~/.ercoin/
.Ctrl-C
two times).What should happen:
The screen with ABCI server should contain the following info which looks like the following in both invocations (the address bytes will differ):
What actually happens:
The screen with ABCI server contains the following info at first invocation:
It contains the following info at second invocation (note that
true
is replaced withfalse
):(The above difference doesn’t cause a difference in app hash on replay — and panic as a result — only because currently the pseudotimestamp of last block in initial data is the same as
genesis_time
— see #2587 and commit 916246e1 in Ercoin).Have you tried the latest version: yes
The text was updated successfully, but these errors were encountered: