chore(gas_price_service): refactor service initialisation in sub_services module #2184
Closed
1 task done
Labels
good first issue
Good for newcomers
tech-debt
The issue is to improve the current code and make it more clear/generic/reusable/pretty/avoidable.
ref: #2163 (comment)
need to re-architect the gas price service initialisation by hiding gas price algorithm details etc.
InitializeTask
can be aRunnableService
, butGasPriceService
should only implementRunnableTask
. Try to useTaskParams
for initialization, and handle sub service lifecycle withinGasPriceService
Definition of done
The text was updated successfully, but these errors were encountered: