From 7ba107e7f5b46ba871210f28a562863198b9b8a8 Mon Sep 17 00:00:00 2001 From: erhant Date: Thu, 18 Jun 2026 17:01:53 +0300 Subject: [PATCH] fix: multi-line to single-line otherwise LIDL parser fails silently --- src/lez_indexer_module_impl.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lez_indexer_module_impl.h b/src/lez_indexer_module_impl.h index b64d3c3..f9bb22e 100644 --- a/src/lez_indexer_module_impl.h +++ b/src/lez_indexer_module_impl.h @@ -50,11 +50,15 @@ public: std::string getLastFinalizedBlockId(); /// Transactions touching `account_id` (32-byte hex), paginated by decimal /// `offset`/`limit`. - std::string getTransactionsByAccount( - const std::string& account_id, - const std::string& offset, - const std::string& limit - ); + // + // MUST stay on a single line: the universal `--header-to-lidl` parser drops + // methods whose parameter list spans multiple lines, so a wrapped signature + // silently vanishes from the published LIDL contract (and thus from typed + // consumers like lez_explorer_ui). clang-format off keeps the linter from + // re-wrapping this long line. + // clang-format off + std::string getTransactionsByAccount(const std::string& account_id, const std::string& offset, const std::string& limit); + // clang-format on // Indexer Logging (opt-in) //