Charge compute budget for bytes passed via cpi (#15874)

This commit is contained in:
Jack May
2021-03-15 22:41:44 -07:00
committed by GitHub
parent 8567b41d5f
commit ad9901d7c6
4 changed files with 35 additions and 7 deletions

View File

@@ -1110,6 +1110,7 @@ mod tests {
stack_frame_size: 4096,
log_pubkey_units: 100,
max_cpi_instruction_size: usize::MAX,
cpi_bytes_per_unit: 250,
},
Rc::new(RefCell::new(Executors::default())),
None,