From 13c5e31874eb97553355d250400108882bb7c99f Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Wed, 21 Aug 2024 12:30:33 +0200 Subject: [PATCH 1/2] EVM Node: Commands not ready for users should not be exposed by man --- etherlink/bin_node/main.ml | 7 +++++-- .../expected/evm_sequencer.ml/EVM Node- man.out | 16 ---------------- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/etherlink/bin_node/main.ml b/etherlink/bin_node/main.ml index 13639653e689..c986d3b66b29 100644 --- a/etherlink/bin_node/main.ml +++ b/etherlink/bin_node/main.ml @@ -2219,6 +2219,10 @@ let debug_print_store_schemas_command = Format.printf "%s\n" output ; return_unit) +(* List of commands not ready to be used by our end-users *) +let in_development_commands = + [export_snapshot_auto_name_command; export_snapshot_named_command] + (* List of program commands *) let commands = [ @@ -2239,8 +2243,6 @@ let commands = init_config_command; describe_config_command; make_kernel_config_command; - export_snapshot_auto_name_command; - export_snapshot_named_command; patch_state_command; preemptive_kernel_download_command; debug_print_store_schemas_command; @@ -2261,6 +2263,7 @@ let dispatch args = (if Unix.isatty Unix.stdout then Tezos_clic.Ansi else Tezos_clic.Plain) Format.std_formatter commands + @ in_development_commands in let* (), remaining_args = Tezos_clic.parse_global_options global_options () args diff --git a/etherlink/tezt/tests/expected/evm_sequencer.ml/EVM Node- man.out b/etherlink/tezt/tests/expected/evm_sequencer.ml/EVM Node- man.out index 3418aaaefb55..832f8d3f909a 100644 --- a/etherlink/tezt/tests/expected/evm_sequencer.ml/EVM Node- man.out +++ b/etherlink/tezt/tests/expected/evm_sequencer.ml/EVM Node- man.out @@ -452,22 +452,6 @@ Miscellaneous commands: --enable-dal: enable flag enable_dal in the installer config --dal-slots <0,1,4,6,...>: value for dal_slots in the installer config - snapshot export [--data-dir ] [--dest ] - [--compress-on-the-fly] [--uncompressed] - Export a snapshot of the EVM node. - --data-dir : The path to the EVM node data directory - --dest : Directory in which to export the snapshot (defaults to current directory) - --compress-on-the-fly: Produce a compressed snapshot on the fly. The rollup node will use less disk space to produce the snapshot but will lock the rollup node (if running) for a longer time. Without this option, producing a snaphsot requires the available disk space to be around the size of the data dir. - --uncompressed: Produce an uncompressed snapshot. - - snapshot export [--data-dir ] - [--compress-on-the-fly] [--uncompressed] - Export a snapshot of the EVM node to a given file. - : Snapshot archive file - --data-dir : The path to the EVM node data directory - --compress-on-the-fly: Produce a compressed snapshot on the fly. The rollup node will use less disk space to produce the snapshot but will lock the rollup node (if running) for a longer time. Without this option, producing a snaphsot requires the available disk space to be around the size of the data dir. - --uncompressed: Produce an uncompressed snapshot. - patch state at with [--data-dir ] [-f --force] Patches the state with an arbitrary value. This is an unsafe command, it should be used for debugging only. Patched state is persisted and you need to use the command `reset` to revert the changes. : Durable storage path -- GitLab From f0f36b8c782c585c8e6dd157fcbc67c51af2dda0 Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Wed, 21 Aug 2024 12:19:08 +0200 Subject: [PATCH 2/2] Etherlink: Changelog of `octez-evm-node-v0.1` --- etherlink/CHANGES_NODE.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/etherlink/CHANGES_NODE.md b/etherlink/CHANGES_NODE.md index 6ce544bd2a44..74b6e31f9d5b 100644 --- a/etherlink/CHANGES_NODE.md +++ b/etherlink/CHANGES_NODE.md @@ -1,6 +1,15 @@ # Changelog -## Version for NEXT +## Version 0.1 (2024-08-28) + +This release concludes two months of development since the freeze of the +Etherlink kernel `ec7c3b349624896b269e179384d0a45cf39e1145` on June 6, 2024. It +contains a number of breaking changes, making the upgrade potentially +challenging. This was deemed necessary to clean-up the UX of the node and +provide a better foundation for further changes. + +This version is compatible with every kernel deployed on Etherlink Mainnet +Beta. ### Breaking changes @@ -11,9 +20,9 @@ - Remove the `preimages` and `preimages_endpoint` fields specific to each mode, in favor of a new `kernel_execution` top-level configuration. (!14332) -- Deprecate the field related to the RPC servers configuration (`rpc-port`, - `rpc-addr`, `max_active_connections`, `sequencer.private_rpc_port`, - etc.) in favor of `publc_rpc` and `private_rpc`. (!14460 !14527) +- Replace the fields related to the RPC servers configuration (`rpc-port`, + `rpc-addr`, `max_active_connections`, `sequencer.private_rpc_port`, etc.) in + favor of `publc_rpc` and `private_rpc`. (!14460 !14527) - Use `_` consistently instead of `-` in every fields. (!14527) - Remove the `--devmode` CLI argument. (!14602) -- GitLab