celestiaorg / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Other
19 stars 33 forks source link

Log module hashes if an app hash mismatch is encountered #397

Open rootulp opened 6 months ago

rootulp commented 6 months ago

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.

vibrant-boredom commented 6 months ago

could you assign this to me, please?

ninabarbakadze commented 5 months ago

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

vibrant-boredom commented 5 months ago

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

ninabarbakadze commented 5 months ago

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