-
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
CLI (query staking validator) failed with empty expected root hash #4891
Comments
|
You have to run with the Any further insight here @zmanian @jackzampolin ? |
I will dig into this and make sure nothing is broken that isn't expected to be (as I know lite client work is still somewhat a WIP). |
In the Tendermint/Lite Client rabbit hole. Some observations thus far:
EDIT 2: Root of the problem seems to stem from SignedHeader{
Header{
Version: {10 0}
ChainID: chain-WtIMEu
Height: 1
Time: 2019-08-12 17:16:49.5350195 +0000 UTC
NumTxs: 0
TotalTxs: 0
LastBlockID: :0:000000000000
LastCommit:
Data:
Validators: 07FE11CA64BC47ECB82686C216A4588EFBD264EBC141E18872E508FD871AAC35
NextValidators: 07FE11CA64BC47ECB82686C216A4588EFBD264EBC141E18872E508FD871AAC35
App:
Consensus: 048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F
Results:
Evidence:
Proposer: 447673D738A82F202744B6D9778B7D60551F75F3
}#479A47F454D3B034322D458BC3458DB1B9CA1684110B4C136E3242B6D7F07981
Commit{
BlockID: 479A47F454D3B034322D458BC3458DB1B9CA1684110B4C136E3242B6D7F07981:1:2656B6BF2B5D
Precommits:
Vote{0:447673D738A8 1/00/2(Precommit) 479A47F454D3 D4E7530F4408 @ 2019-08-12T17:17:02.166148Z}
Vote{1:521FAA8D985E 1/00/2(Precommit) 479A47F454D3 C0823557DAEE @ 2019-08-12T17:17:02.1738255Z}
Vote{2:54A9E565109C 1/00/2(Precommit) 479A47F454D3 7C82911161C4 @ 2019-08-12T17:17:02.1209463Z}
Vote{3:86BC65EFA081 1/00/2(Precommit) 479A47F454D3 A4BCE9622344 @ 2019-08-12T17:17:02.1174948Z}
}#
} I think this makes sense because it's getting the signed header at height: 0 + 1 = 1 at which point there is no app hash yet. EDIT 3: Using TL;DR:
|
This makes sense! |
Summary of Bug
CLI
gaiacli query staking validator
failed:Version
gaia v1.0.0-rc3
Steps to Reproduce
gaiacli query staking validator
For Admin Use
The text was updated successfully, but these errors were encountered: