cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

Log module hashes if an app hash mismatch is encountered

Open rootulp opened this issue 1 year ago • 4 comments

Context

It's difficult to debug an app hash mismatch because it's not immediately obvious which module is responsible for the mismatch.

Proposal

When debugging locally, Callum and I have resorted to debugging via this print statement. We may consider printing out all module store hashes if an app hash module is encountered. That way if a user encounters this, they can share helpful logs with us.

rootulp avatar May 06 '24 17:05 rootulp

could you assign this to me, please?

etimofeeva avatar May 09 '24 13:05 etimofeeva

@murluki are you planning on working on this? otherwise i'll have to get started on it.

ninabarbakadze avatar Jun 19 '24 13:06 ninabarbakadze

@ninabarbakadze apologies, got caught up at work but will be posting it tonight. Sorry about the delay.

etimofeeva avatar Jun 19 '24 14:06 etimofeeva

No worries! That would be amazing! Thanks! @murluki

ninabarbakadze avatar Jun 19 '24 15:06 ninabarbakadze

added with https://github.com/celestiaorg/celestia-app/pull/4453

tac0turtle avatar Apr 04 '25 13:04 tac0turtle