From cb03e556fd3a30d3040f43df2f047cb4b5ccf40c Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Mon, 20 Apr 2026 13:52:49 +0200 Subject: [PATCH] chore: make module name small due to the macos limit of 104 characters --- CMakeLists.txt | 7 ++++++- flake.nix | 2 +- justfile | 2 +- metadata.json | 4 ++-- src/logos_execution_zone_wallet_module.cpp | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4254d8f..4b33257 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ add_library(logos_cpp_sdk INTERFACE) target_include_directories(logos_cpp_sdk INTERFACE "${SDK_INC}") # ---- Plugin ---- -set(PLUGIN_TARGET logos_execution_zone_wallet_module) +set(PLUGIN_TARGET lez_wallet_module_plugin) qt_add_plugin(${PLUGIN_TARGET} CLASS_NAME LogosExecutionZoneWalletModule) @@ -182,6 +182,11 @@ target_compile_definitions(${PLUGIN_TARGET} PRIVATE add_dependencies(${PLUGIN_TARGET} logos_execution_zone_libs) +set_target_properties(${PLUGIN_TARGET} PROPERTIES + PREFIX "" + OUTPUT_NAME "lez_wallet_module_plugin" +) + if(APPLE) set_target_properties(${PLUGIN_TARGET} PROPERTIES BUILD_RPATH "@loader_path" diff --git a/flake.nix b/flake.nix index 54a063b..67fd3f4 100644 --- a/flake.nix +++ b/flake.nix @@ -101,7 +101,7 @@ program = "${pkgs.writeShellScriptBin "inspect-module" '' exec ${logosModuleViewerPackage}/bin/logos-module-viewer \ - --module ${logosExecutionZoneWalletModuleLib}/lib/liblogos_execution_zone_wallet_module.${extension} + --module ${logosExecutionZoneWalletModuleLib}/lib/lez_wallet_module_plugin.${extension} ''}/bin/inspect-module"; }; in diff --git a/justfile b/justfile index d1ef79f..19a87c2 100644 --- a/justfile +++ b/justfile @@ -7,7 +7,7 @@ configure: ${LOGOS_EXECUTION_ZONE_WALLET_INCLUDE:+-DLOGOS_EXECUTION_ZONE_WALLET_INCLUDE="$LOGOS_EXECUTION_ZONE_WALLET_INCLUDE"} build: configure - cmake --build build --parallel --target logos_execution_zone_wallet_module + cmake --build build --parallel --target lez_wallet_module_plugin clean: rm -rf build result diff --git a/metadata.json b/metadata.json index 72dd3bb..1acac00 100644 --- a/metadata.json +++ b/metadata.json @@ -1,11 +1,11 @@ { - "name": "liblogos_execution_zone_wallet_module", + "name": "lez_wallet_module", "version": "1.0.0", "description": "Logos Execution Zone Wallet Module for Logos Core", "author": "Logos Blockchain Team", "type": "core", "category": "blockchain", - "main": "liblogos_execution_zone_wallet_module", + "main": "lez_wallet_module_plugin", "dependencies": [], "capabilities": [], "include": ["libnomos.dylib"] diff --git a/src/logos_execution_zone_wallet_module.cpp b/src/logos_execution_zone_wallet_module.cpp index 1ff02dc..2313bbc 100644 --- a/src/logos_execution_zone_wallet_module.cpp +++ b/src/logos_execution_zone_wallet_module.cpp @@ -189,7 +189,7 @@ LogosExecutionZoneWalletModule::~LogosExecutionZoneWalletModule() { // === Plugin Interface === QString LogosExecutionZoneWalletModule::name() const { - return "liblogos_execution_zone_wallet_module"; + return "lez_wallet_module"; } QString LogosExecutionZoneWalletModule::version() const {