Remove unused compute budget item (#18706)

This commit is contained in:
Jack May 2021-07-16 02:12:17 -07:00 committed by GitHub
parent 535c7ff26c
commit 5f9f3724d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -152,8 +152,6 @@ pub struct BpfComputeBudget {
/// Number of compute units that an instruction is allowed. Compute units /// Number of compute units that an instruction is allowed. Compute units
/// are consumed by program execution, resources they use, etc... /// are consumed by program execution, resources they use, etc...
pub max_units: u64, pub max_units: u64,
/// Number of compute units consumed by a log call
pub log_units: u64,
/// Number of compute units consumed by a log_u64 call /// Number of compute units consumed by a log_u64 call
pub log_64_units: u64, pub log_64_units: u64,
/// Number of compute units consumed by a create_program_address call /// Number of compute units consumed by a create_program_address call
@ -193,7 +191,6 @@ impl BpfComputeBudget {
pub fn new() -> Self { pub fn new() -> Self {
BpfComputeBudget { BpfComputeBudget {
max_units: 200_000, max_units: 200_000,
log_units: 100,
log_64_units: 100, log_64_units: 100,
create_program_address_units: 1500, create_program_address_units: 1500,
invoke_units: 1000, invoke_units: 1000,