FuelLabs/fuel-core · error · anyhow::Error
{:?}
Error message
{:?} What it means
Error "{:?}" thrown in FuelLabs/fuel-core.
Source
Thrown at crates/fuel-core/src/schema/dap.rs:133
self.vm
.get(id)
.and_then(|vm| vm.memory().read(start, size).ok())
}
pub fn init(
&mut self,
txs: &[Script],
params: Arc<ConsensusParameters>,
storage: &Database<OnChain>,
) -> anyhow::Result<ID> {
let id = Uuid::new_v4();
let id = ID::from(id);
let vm_database = Self::vm_database(storage)?;
let tx = Self::dummy_tx(params.tx_params().max_gas_per_tx() / 2);
let checked_tx = tx
.into_checked_basic(vm_database.block_height()?, ¶ms)
.map_err(|e| anyhow::anyhow!("{:?}", e))?;
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| {View on GitHub (pinned to b9d4d170da)
When it happens
Trigger: Thrown at crates/fuel-core/src/schema/dap.rs:133 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/60a14600faa91bdd.
Report an issue: GitHub.