From f2334be266c16eb69a7a61de254facf443c64fb5 Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Mon, 31 Mar 2025 17:32:18 +0200 Subject: [PATCH 1/3] DAL: Add CLI alias -E for --endpoint --- src/bin_dal_node/cli.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin_dal_node/cli.ml b/src/bin_dal_node/cli.ml index 76191dc14a8b..476774e6727c 100644 --- a/src/bin_dal_node/cli.ml +++ b/src/bin_dal_node/cli.ml @@ -138,7 +138,7 @@ module Term = struct Arg.( value & opt (some endpoint_arg) None - & info ~docs ~doc ~docv:"URI" ["endpoint"]) + & info ~docs ~doc ~docv:"URI" ["endpoint"; "E"]) let attester_profile_printer = Signature.Public_key_hash.pp -- GitLab From 8a0afb25e7b9b17ff1a8570075601955ffa17b31 Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Mon, 31 Mar 2025 17:33:07 +0200 Subject: [PATCH 2/3] DAL: Add CLI alias --operator-profiles for --operator --- src/bin_dal_node/cli.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin_dal_node/cli.ml b/src/bin_dal_node/cli.ml index 476774e6727c..2f66b83699a8 100644 --- a/src/bin_dal_node/cli.ml +++ b/src/bin_dal_node/cli.ml @@ -215,7 +215,7 @@ module Term = struct ~docs ~doc ~docv:"INDEX1,INDEX2,..." - ["producer-profiles"; "producer"; "operator"]) + ["producer-profiles"; "producer"; "operator-profiles"; "operator"]) let observer_profile = let open Cmdliner in -- GitLab From 1d63db4bb46cf10fb9e0cbf3ee3d9769aed99bac Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Tue, 1 Apr 2025 10:48:09 +0200 Subject: [PATCH 3/3] DAL/Changelog: Document new CLI aliases --- CHANGES.rst | 2 +- docs/CHANGES.rst | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 18474185540a..b965f2ca3441 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -173,7 +173,7 @@ DAL node - **Change** The DAL node store version has been upgraded from 1 to 2. The DAL node store will automatically upgrade without requiring any user action. For users running the DAL node with the - ``--operator-profile`` flag enabled, the node now uses SQLite + ``--operator-profiles`` flag enabled, the node now uses SQLite specifically for managing skip list cells (MR :gl:`!15780`), preventing inode exhaustion. All other stores remain unchanged. diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index ae1887750afd..7e35c8aee65e 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -198,7 +198,7 @@ DAL node - **Change** The DAL node store version has been upgraded from 1 to 2. The DAL node store will automatically upgrade without requiring any user action. For users running the DAL node with the - ``--operator-profile`` flag enabled, the node now uses SQLite + ``--operator-profiles`` flag enabled, the node now uses SQLite specifically for managing skip list cells (MR :gl:`!15780`), preventing inode exhaustion. All other stores remain unchanged. @@ -228,6 +228,10 @@ DAL node parameters that the DAL node uses for a given level, which by default is the last finalized level the node is aware of. (MR :gl:`!16704`) +- Aliases have been added to the command line. ``--operator-profiles`` is now + equivalent to ``--operator`` and ``-E`` is equivalent to ``--endpoint``. + (MR :gl:`!17496`) + Miscellaneous ------------- -- GitLab