Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(block_producer): immediately return error if lock cannot be acqui…
…red during production (#2413) ## Linked Issues/PRs <!-- List of related issues/PRs --> fixes #2412 ## Description <!-- List of detailed changes --> Similar to how the lock is used in the sync process, we try to lock and immediately return an error if a block was already being produced. ## Checklist - [ ] Breaking changes are clearly marked as such in the PR description and changelog - [ ] New behavior is reflected in tests - [ ] [The specification](https://github.com/FuelLabs/fuel-specs/) matches the implemented behavior (link update PR if changes are needed) ### Before requesting review - [ ] I have reviewed the code myself - [ ] I have created follow-up issues caused by this PR and linked them here ### After merging, notify other teams [Add or remove entries as needed] - [ ] [Rust SDK](https://github.com/FuelLabs/fuels-rs/) - [ ] [Sway compiler](https://github.com/FuelLabs/sway/) - [ ] [Platform documentation](https://github.com/FuelLabs/devrel-requests/issues/new?assignees=&labels=new+request&projects=&template=NEW-REQUEST.yml&title=%5BRequest%5D%3A+) (for out-of-organization contributors, the person merging the PR will do this) - [ ] Someone else?
- Loading branch information