Attackathon _ Fuel Network 32291 - [Blockchain_DLT - Insight] Profiling is incorrect for dependent g
Description
Brief/Intro
Vulnerability Details
pub(crate) fn gas_charge(
cgas: RegMut<CGAS>,
ggas: RegMut<GGAS>,
mut profiler: ProfileGas<'_>,
gas: Word,
) -> SimpleResult<()> {
profiler.profile(cgas.as_ref(), gas);
gas_charge_inner(cgas, ggas, gas)
}Impact Details
References
Proof of concept
Proof of Concept
PreviousAttackathon _ Fuel Network 32276 - [Smart Contract - Insight] wrong implementation in gt and lt funcNextAttackathon _ Fuel Network 32302 - [Smart Contract - Low] Src ContractConfigurables hash collision
Last updated
Was this helpful?