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

[Bug]: headerInfo not set in baseapp.NewUncachedContext #22507

Closed
1 task done
alpe opened this issue Nov 11, 2024 · 0 comments · Fixed by #22557
Closed
1 task done

[Bug]: headerInfo not set in baseapp.NewUncachedContext #22507

alpe opened this issue Nov 11, 2024 · 0 comments · Fixed by #22557
Assignees
Labels

Comments

@alpe
Copy link
Contributor

alpe commented Nov 11, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

This causes issues when sdk.Context BlockTime() or HeaderInfo is read.
A headerInfo for time is set in the constructor but not chainID or blockHeight.

Cosmos SDK Version

releease/v0.52.x; main

How to reproduce?

Use runtime.HeaderService.HeaderInfo with an uncached context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🥳 Done
Development

Successfully merging a pull request may close this issue.

2 participants