Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions crates/interpreter/src/instructions/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ pub fn extcall_gas_calc<H: Host + ?Sized>(
return None;
};

if load_result.is_cold {
gas!(interpreter, gas::COLD_ACCOUNT_ACCESS_COST, None);
}

// TODO(EOF) is_empty should only be checked on delegatecall
let call_cost = gas::call_cost(
BerlinSpec::SPEC_ID,
Expand All @@ -187,8 +183,6 @@ pub fn extcall_gas_calc<H: Host + ?Sized>(
return None;
}

// TODO check remaining gas more then N

gas!(interpreter, gas_limit, None);
Some(gas_limit)
}
Expand Down