loom_execution_estimator::evm

Function estimator_task

Source
async fn estimator_task<T, N, DB>(
    client: Option<impl Provider<T, N> + 'static>,
    swap_encoder: impl SwapEncoder,
    estimate_request: TxComposeData<DB>,
    compose_channel_tx: Broadcaster<MessageTxCompose<DB>>,
) -> Result<()>
where T: Transport + Clone, N: Network, DB: DatabaseRef + DatabaseLoomExt + Send + Sync + Clone + 'static,