FuelLabs/fuel-core · error

No result for the dry run

Error message

No result for the dry run

What it means

Error "No result for the dry run" thrown in FuelLabs/fuel-core.

Source

Thrown at crates/fuel-core/src/schema/tx/assemble_tx.rs:148

        let result =
            result.ok_or_else(|| anyhow::anyhow!("No result for the coins to spend"))?;

        Ok(result)
    }

    /// Dry run the transaction to estimate the script gas limit.
    /// It uses zero gas price to not depend on the coins to cover the fee.
    async fn dry_run(
        &self,
        script: Script,
    ) -> anyhow::Result<(Transaction, TransactionExecutionStatus)> {
        self.block_producer
            .dry_run_txs(vec![script.into()], None, None, Some(false), Some(0), false)
            .await?
            .transactions
            .into_iter()
            .next()
            .ok_or_else(|| anyhow::anyhow!("No result for the dry run"))
    }
}

pub struct AssembleTx<'a, Tx> {
    tx: Tx,
    arguments: AssembleArguments<'a>,
    signature_witness_indexes: HashMap<Address, u16>,
    change_output_policies: HashMap<AssetId, ChangePolicy>,
    set_change_outputs: HashSet<AssetId>,
    set_contracts: HashSet<ContractId>,
    // The amount of the base asset that is reserved for the application logic
    base_asset_reserved: u64,
    has_predicates: bool,
    index_of_first_fake_variable_output: Option<u16>,
    original_max_fee: u64,
    original_witness_limit: u64,
    fee_payer_account: Account,
    estimated_predicates_count: usize,

View on GitHub (pinned to b9d4d170da)

When it happens

Trigger: Thrown at crates/fuel-core/src/schema/tx/assemble_tx.rs:148 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of FuelLabs/fuel-core@b9d4d170da (2026-08-16). Data as JSON: /api/errors/9c8b0ef71438a906. Report an issue: GitHub.