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

feat: extended app hash logs #7253

Merged
merged 8 commits into from
Jan 9, 2024
Merged

feat: extended app hash logs #7253

merged 8 commits into from
Jan 9, 2024

Conversation

czarcas7ic
Copy link
Member

Closes: #XXX

What is the purpose of the change

When a node app hashes, we now print the hash of every module, which will further assist with debugging app hash problems.

Testing and Verifying

Tested against mainnet:

Screenshot 2024-01-02 at 9 58 28 PM

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

  • Specification (x/{module}/README.md)
  • Osmosis documentation site
  • Code comments?
  • N/A

@czarcas7ic czarcas7ic added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v21.x backport patches to v21.x branch labels Jan 6, 2024
@czarcas7ic czarcas7ic closed this Jan 6, 2024
@czarcas7ic czarcas7ic reopened this Jan 6, 2024
@czarcas7ic czarcas7ic marked this pull request as ready for review January 6, 2024 23:10
Copy link
Member

@mattverse mattverse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, hope this gets us further

(Sidenote: if its tx simulation issue as we are assuming now, would this logging comparsion between module also make sense?)

@czarcas7ic
Copy link
Member Author

@mattverse after thinking about it, this app hash dump only helps with module app hashes. Last results hash do not cause module hashes to differ. That being said this is the first step, and on last result hashes we can eventually trigger a dump of last results endpoint

@czarcas7ic czarcas7ic closed this Jan 9, 2024
@czarcas7ic czarcas7ic reopened this Jan 9, 2024
@czarcas7ic czarcas7ic merged commit ae036e8 into main Jan 9, 2024
1 check passed
@czarcas7ic czarcas7ic deleted the adam/app-hash-logs branch January 9, 2024 04:06
mergify bot pushed a commit that referenced this pull request Jan 9, 2024
* app hash logs

* changelog entry

* Auto: update go.mod after push to adam/app-hash-logs that modified dependencies locally

* add back replace

* Auto: update go.mod after push to adam/app-hash-logs that modified dependencies locally

* fix changelog

* remove extra line

---------

Co-authored-by: github-actions <github-actions@github.com>
(cherry picked from commit ae036e8)

# Conflicts:
#	CHANGELOG.md
#	go.mod
#	go.sum
#	osmomath/go.mod
#	osmomath/go.sum
#	osmoutils/go.mod
#	osmoutils/go.sum
#	x/epochs/go.mod
#	x/epochs/go.sum
#	x/ibc-hooks/go.mod
#	x/ibc-hooks/go.sum
czarcas7ic added a commit that referenced this pull request Jan 9, 2024
* feat: extended app hash logs (#7253)

* app hash logs

* changelog entry

* Auto: update go.mod after push to adam/app-hash-logs that modified dependencies locally

* add back replace

* Auto: update go.mod after push to adam/app-hash-logs that modified dependencies locally

* fix changelog

* remove extra line

---------

Co-authored-by: github-actions <github-actions@github.com>
(cherry picked from commit ae036e8)

# Conflicts:
#	CHANGELOG.md
#	go.mod
#	go.sum
#	osmomath/go.mod
#	osmomath/go.sum
#	osmoutils/go.mod
#	osmoutils/go.sum
#	x/epochs/go.mod
#	x/epochs/go.sum
#	x/ibc-hooks/go.mod
#	x/ibc-hooks/go.sum

* fix merge conflicts

---------

Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: Adam Tucker <adamleetucker@outlook.com>
@github-actions github-actions bot mentioned this pull request Feb 1, 2024
@github-actions github-actions bot mentioned this pull request Apr 1, 2024
@github-actions github-actions bot mentioned this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v21.x backport patches to v21.x branch C:x/epochs V:state/compatible/backport State machine compatible PR, should be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants