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

Open
1 task done
alpe opened this issue Nov 11, 2024 · 0 comments
Open
1 task done

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

alpe opened this issue Nov 11, 2024 · 0 comments
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.

@alpe alpe added the T:Bug label Nov 11, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Cosmos-SDK Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant