fuel_core_executor::ports

Trait TransactionExt

source
pub trait TransactionExt {
    // Required method
    fn max_gas(
        &self,
        consensus_params: &ConsensusParameters,
    ) -> ExecutorResult<u64>;
}

Required Methods§

source

fn max_gas(&self, consensus_params: &ConsensusParameters) -> ExecutorResult<u64>

Implementations on Foreign Types§

source§

impl TransactionExt for Transaction

source§

fn max_gas(&self, consensus_params: &ConsensusParameters) -> ExecutorResult<u64>

source§

impl TransactionExt for CheckedTransaction

Implementors§