FuelLabs/fuel-core · error · anyhow::Error

Failed to apply dynamic values to checked tx: {:?}

Error message

Failed to apply dynamic values to checked tx: {:?}

What it means

Error "Failed to apply dynamic values to checked tx: {:?}" thrown in FuelLabs/fuel-core.

Source

Thrown at crates/fuel-core/src/schema/dap.rs:152

        self.tx
            .get_mut(&id)
            .map(|tx| tx.extend_from_slice(txs))
            .unwrap_or_else(|| {
                self.tx.insert(id.clone(), txs.to_owned());
            });

        let gas_costs = params.gas_costs();
        let fee_params = params.fee_params();

        let ready_tx = checked_tx
            .into_ready(
                GAS_PRICE,
                gas_costs,
                fee_params,
                Some(vm_database.block_height()?),
            )
            .map_err(|e| {
                anyhow!("Failed to apply dynamic values to checked tx: {:?}", e)
            })?;

        let interpreter_params = InterpreterParams::new(GAS_PRICE, params.as_ref());
        let mut vm = Interpreter::with_storage(
            MemoryInstance::new(),
            vm_database,
            interpreter_params,
        );
        vm.transact(ready_tx).map_err(|e| anyhow::anyhow!(e))?;
        self.vm.insert(id.clone(), vm);

        Ok(id)
    }

    pub fn kill(&mut self, id: &ID) -> bool {
        self.tx.remove(id);
        self.vm.remove(id).is_some()
    }

View on GitHub (pinned to b9d4d170da)

When it happens

Trigger: Thrown at crates/fuel-core/src/schema/dap.rs:152 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/31923287b3a24d8a. Report an issue: GitHub.