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

fix(thorchain/utxo): fix race conditions #1281

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

misko9
Copy link
Contributor

@misko9 misko9 commented Oct 2, 2024

Fixes a few race conditions on thorchain and utxo chains.

Thorchain: sidecar processes now get their own copy of env list so they can make runtime changes in parallel.

Utxo: reading and writing KeynameToWalletMap and AddrToKeynameMap is now protected by a mutex. The block producing go routine is now ran after faucet creation and a utxo stop method is added for the test framework to cancel its context.

Thorchain's setup_test.go is updated to call the utxo chain's stop method. This will also be reflected in the thornode v50 branch.

@misko9 misko9 requested a review from a team as a code owner October 2, 2024 20:39
Copy link

vercel bot commented Oct 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
interchaintest-docs ⬜️ Ignored (Inspect) Visit Preview Oct 2, 2024 8:40pm

@misko9 misko9 requested a review from agouin October 2, 2024 20:40
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.

1 participant