From 2acca1fbbc50bba69b804ce0a2ce0bd2c4db64e7 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 22 Aug 2023 12:59:01 -0700 Subject: [PATCH] unimplemented compute units for alchemy_ method --- web3_proxy/src/compute_units.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/compute_units.rs b/web3_proxy/src/compute_units.rs index 138d5fde..f15069b1 100644 --- a/web3_proxy/src/compute_units.rs +++ b/web3_proxy/src/compute_units.rs @@ -31,7 +31,7 @@ impl ComputeUnit { return Self::subscription_response(response_bytes); } - let cu = if method.starts_with("admin_") { + let cu = if method.starts_with("admin_") || method.starts_with("alchemy_") { // maybe charge extra since they are doing things they aren't supposed to return Self::unimplemented(); } else {