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

iaviewer cannot show versions #612

Open
ap0calypse644 opened this issue Nov 3, 2022 · 0 comments
Open

iaviewer cannot show versions #612

ap0calypse644 opened this issue Nov 3, 2022 · 0 comments

Comments

@ap0calypse644
Copy link

ap0calypse644 commented Nov 3, 2022

My application is failing with invalid block: Wrong Block.Header.AppHash.
I tried to inspect the application.db with iaviewer. But it cannot get any versions from the db.
I have tried to set pruning = nothing on the chain but still no luck. Versions still come out blank.
Anything i am missing?

This is the output:

iaviewer versions data_3/application.db "" 
Got version: 0
Available versions:

Similarly for data:

iaviewer data ./data_3/state.db "" 
Got version: 0
Printing all keys with hashed values (to detect diff)
Hash: E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
Size: 0

This is the db stats:

map[leveldb.aliveiters:0 leveldb.alivesnaps:0 leveldb.blockpool:BufferPool{B·4101 Z·[0 0 0 0 0] Zm·[0 0 0 0 0] Zh·[0 0 0 0 0] G·0 P·0 H·0 <·0 =·0 >·0 M·0} leveldb.cachedblock:0 leveldb.openedtables:0 leveldb.sstables:--- level 0 ---
39:121869["s/1872,v162216" .. "s/p..hts,v162218"]
--- level 1 ---
33:2118761["s/1,v274" .. "s/k..\x17S\xe8,v12922"]
34:2118987["s/k..\xf1$\xf5,v137260" .. "s/k..c\x9d+,v87270"]
35:2118499["s/k..\xe7ɇ,v87403" .. "s/k..?\xad\xe2,v136520"]
36:2114974["s/k..\x00j\x1d,v18361" .. "s/k..v\x86\xae,v35135"]
37:2117160["s/k..l\x98\x1a,v118930" .. "s/k..\xadr\x82,v122258"]
38:376436["s/k..\xe0\xd3\xfc,v122249" .. "s/p..hts,v162128"]
 leveldb.stats:Compactions
 Level |   Tables   |    Size(MB)   |    Time(sec)  |    Read(MB)   |   Write(MB)
-------+------------+---------------+---------------+---------------+---------------
   0   |          1 |       0.11622 |       0.00000 |       0.00000 |       0.00000
   1   |          6 |      10.45686 |       0.00000 |       0.00000 |       0.00000
-------+------------+---------------+---------------+---------------+---------------
 Total |          7 |      10.57309 |       0.00000 |       0.00000 |       0.00000
]

Kindly help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant