Skip to content

Commit

Permalink
Merge branch 'master' into fs-remove-cargo-deny.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki authored May 21, 2024
2 parents 9802d66 + a7de066 commit cdaff19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/instruction_handlers/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ fn precompile_call(
let Ok(()) = vm.state.use_gas(aux_data.extra_ergs_cost) else {
return Ok(&PANIC);
};

// TODO record extra pubdata cost
vm.state.current_frame.total_pubdata_spent += aux_data.extra_pubdata_cost as i32;

let mut abi = PrecompileCallABI::from_u256(Register1::get(args, &mut vm.state));
if abi.memory_page_to_read == 0 {
Expand Down

0 comments on commit cdaff19

Please sign in to comment.