Skip to content

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

Merged
sergio-mena merged 4 commits intomasterfrom
sergio/context-managment-fixes
Feb 4, 2022
Merged

Fixing handling of contexts in the ABCI++ rebased branch#7768
sergio-mena merged 4 commits intomasterfrom
sergio/context-managment-fixes

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 force-pushed the sergio/context-managment-fixes branch from 3b592ae to 2c249e1 Compare February 4, 2022 12:00
@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.

4 participants