Rework execution to allow preconfirmations (#2799)
## Linked Issues/PRs ## Description ### DONE: - Move the executor trait in correct modules to correctly use ports and adapters - Makes the produce function async and add a trigger as parameter. - Pass channel of preconfirmations to the executor - Added a new production mode for PoA service. The open production mode starts the block production immediately and finishes after the `period` is passed. ## Checklist - [x] Breaking changes are clearly marked as such in the PR description and changelog - [x] New behavior is reflected in tests - [x] [The specification](https://github.com/FuelLabs/fuel-specs/) matches the implemented behavior (link update PR if changes are needed) ### Before requesting review - [x] I have reviewed the code myself - [x] I have created follow-up issues caused by this PR and linked them here --------- Co-authored-by: Mitch Turner <james.mitchell.turner@gmail.com> Co-authored-by: Green Baneling <XgreenX9999@gmail.com>
A
AurelienFT committed
29c8e04562a468ba16423987d8f4eacc09e8701d
Parent: f550340
Committed by GitHub <noreply@github.com>
on 3/6/2025, 1:04:27 AM