From cc4ef4e88f8b228345cff7ee8c79218c0a375d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=90=EF=B8=8FNINIKA=E2=AD=90=EF=B8=8F?= Date: Tue, 16 Jul 2024 15:18:23 +0300 Subject: [PATCH] refactor(queries): remove stray comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ⭐️NINIKA⭐️ --- client/src/query.rs | 1 - client/tests/integration/queries/query_errors.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/client/src/query.rs b/client/src/query.rs index 626babf0697..216c77604e1 100644 --- a/client/src/query.rs +++ b/client/src/query.rs @@ -144,7 +144,6 @@ impl From for ClientQueryError { impl QueryExecutor for Client { type Cursor = ClientQueryCursor; - // TODO: split these two errors maybe? (it's more useful for smart contracts though..) type Error = ClientQueryError; type SingleError = ClientQueryError; diff --git a/client/tests/integration/queries/query_errors.rs b/client/tests/integration/queries/query_errors.rs index 156394118c3..8958515e497 100644 --- a/client/tests/integration/queries/query_errors.rs +++ b/client/tests/integration/queries/query_errors.rs @@ -15,8 +15,6 @@ fn non_existent_account_is_specific_error() { .execute_single() .expect_err("Should error"); - // NOTE: with the current implementation, the error returned is less specific than it was before - // (we no longer get the context that it is the entire domain that doesn't exist, not just the account) match err { ClientQueryError::Single(SingleQueryError::ExpectedOneGotNone) => {} x => panic!("Unexpected error: {x:?}"),