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

Fixing handling of contexts in the ABCI++ rebased branch #7768

Merged
merged 4 commits into from
Feb 4, 2022

Conversation

sergio-mena
Copy link
Contributor

While looking at the code belonging to PrepareProposal and vote extensions, I saw some instances of functions that, rather than receiving a context and passing it along, they use context.Background()

@sergio-mena
Copy link
Contributor Author

Just rebased on top of @creachadair's revert (thanks a lot BTW!)

@sergio-mena sergio-mena merged commit 854fd07 into master Feb 4, 2022
@sergio-mena sergio-mena deleted the sergio/context-managment-fixes branch February 4, 2022 14:55
tychoish pushed a commit to tychoish/tendermint that referenced this pull request Feb 4, 2022
…7768)

* Fixing context

* Removed logger change

* Fixing UTs

* Bump
sergio-mena added a commit that referenced this pull request Dec 22, 2022
…nch (#7768)

* Fixing context

* Removed logger change

* Fixing UTs

* Bump
faddat pushed a commit to notional-labs/tendermint that referenced this pull request Apr 3, 2023
…endermint#7768 (#7)

* [cherry-picked] Fixing handling of contexts in the ABCI++ rebased branch (tendermint#7768)

* Fixing context

* Removed logger change

* Fixing UTs

* Bump

* Fix build, make UTs pass

* Thread contexts to the concerned test cases

* Placate linter

* Make TestCheckSwitchToConsensusLastHeightZero less flaky

* bump

* Update blocksync/reactor_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants