-
Notifications
You must be signed in to change notification settings - Fork 289
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(statesync): extract app version from snapshot #3871
Conversation
This will be ready for review after celestiaorg/celestia-core#1477 merges, I cut a release, bump to it here. 🤞 that fixes golangci-lint too. |
Docker-security-build is failing:
Going to try bumping the go-ethereum version. cc: @rach-id |
bumping go-ethereum would require also bumping btcd in core. would cool if you could do it 👍 |
Yep bumped it in celestiaorg/celestia-core@65c778d so now it works here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:shippit:
Closes #3818 ~~Blocked on celestiaorg/celestia-core#1477 I had to bump the celestia-core depedency to get a feature that I wanted. That implied upgrading Go and cosmos-sdk versions. ## Testing I verified that logs added in this PR show up when state syncing on Mocha. The logs show that the app version provided in the `OfferSnapshot` ABCI method was plumbed through correctly. ``` ./scripts/mocha.sh ... 2:44PM INF Offering snapshot to ABCI app format=2 hash="$�ڢ�\x1b� �zΊ\x15���`��왹\b^G:\x03+ߢޯ" height=2782000 module=statesync 2:44PM INF offering snapshot app_version=2 height=2782000 2:44PM INF mounting keys for snapshot app_version=2 ``` (cherry picked from commit 73793b9) # Conflicts: # .github/workflows/lint.yml # Makefile # docker/txsim/Dockerfile # go.mod # go.sum
…3936) Closes #3818 ~~Blocked on celestiaorg/celestia-core#1477 I had to bump the celestia-core depedency to get a feature that I wanted. That implied upgrading Go and cosmos-sdk versions. ## Testing I verified that logs added in this PR show up when state syncing on Mocha. The logs show that the app version provided in the `OfferSnapshot` ABCI method was plumbed through correctly. ``` ./scripts/mocha.sh ... 2:44PM INF Offering snapshot to ABCI app format=2 hash="$�ڢ�\x1b� �zΊ\x15���`��왹\b^G:\x03+ߢޯ" height=2782000 module=statesync 2:44PM INF offering snapshot app_version=2 height=2782000 2:44PM INF mounting keys for snapshot app_version=2 ```<hr>This is an automatic backport of pull request #3871 done by [Mergify](https://mergify.com). --------- Co-authored-by: Rootul P <[email protected]>
Closes #3818
Blocked on celestiaorg/celestia-core#1477I had to bump the celestia-core depedency to get a feature that I wanted. That implied upgrading Go and cosmos-sdk versions.
Testing
I verified that logs added in this PR show up when state syncing on Mocha. The logs show that the app version provided in the
OfferSnapshot
ABCI method was plumbed through correctly.