fuel_core_producer/block_producer/
gas_price.rsuse fuel_core_types::blockchain::header::ConsensusParametersVersion;
use std::sync::Arc;
pub trait GasPriceProvider {
fn production_gas_price(&self) -> anyhow::Result<u64>;
fn dry_run_gas_price(&self) -> anyhow::Result<u64>;
}
#[cfg_attr(feature = "test-helpers", mockall::automock)]
pub trait ConsensusParametersProvider {
fn consensus_params_at_version(
&self,
version: &ConsensusParametersVersion,
) -> anyhow::Result<Arc<fuel_core_types::fuel_tx::ConsensusParameters>>;
}