diff --git a/core/src/execution/rpc/http_rpc.rs b/core/src/execution/rpc/http_rpc.rs index 525e76f4..b8fbf01b 100644 --- a/core/src/execution/rpc/http_rpc.rs +++ b/core/src/execution/rpc/http_rpc.rs @@ -158,9 +158,12 @@ impl ExecutionRpc for HttpRpc { .map_err(|e| RpcError::new("get_filter_changes", e))?) } - async fn uninstall_filter(&self, _filter_id: U256) -> Result { - // TODO: support uninstalling - Ok(true) + async fn uninstall_filter(&self, filter_id: U256) -> Result { + Ok(self + .provider + .raw_request("eth_uninstallFilter".into(), (filter_id,)) + .await + .map_err(|e| RpcError::new("uninstall_filter", e))?) } async fn get_new_filter(&self, filter: &Filter) -> Result {