FuelLabs / fuel-core

Rust full node implementation of the Fuel v2 protocol.
Other
57.95k stars 2.79k forks source link

chore(gas_price_service): define port for L2 data #2224

Closed rymnc closed 1 month ago

rymnc commented 1 month ago

[!NOTE] This is PR 1/n in cleaning up the gas price service. This PR is first of few that moves the algorithm_updater from the sub_services module of fuel-core to fuel-core-gas-price-service.

To do so, we have to cut dependencies on fuel-core, which means we have to remove the direct dependency on Database, ConsensusParametersProvider etc.

Linked Issues/PRs

Description

We define a new port in the fuel-core-gas-price-service crate that is meant to cut the dependency of algorithm_updater from fuel-core.

Checklist

Before requesting review

After merging, notify other teams

[Add or remove entries as needed]