diff --git a/web3_proxy/src/compute_units.rs b/web3_proxy/src/compute_units.rs index 6f446f08..9644e663 100644 --- a/web3_proxy/src/compute_units.rs +++ b/web3_proxy/src/compute_units.rs @@ -23,6 +23,9 @@ impl ComputeUnit { let cu = if method.starts_with("ots_") { // TODO: refine the different methods 1000 + } else if method.starts_with("admin_") { + // maybe charge extra since they are doing things they aren't supposed to + return Self::unimplemented(); } else { match (chain_id, method) { (1101, "zkevm_batchNumber") => 0,