From 8eb40696387f4c5a6917fc478a0bc203973a6d22 Mon Sep 17 00:00:00 2001 From: Khushboo Mehta Date: Fri, 20 Feb 2026 11:37:05 +0100 Subject: [PATCH] chore: rename generted lib with only _ no - --- CMakeLists.txt | 4 ++-- flake.lock | 6 +++--- flake.nix | 2 +- justfile | 2 +- metadata.json | 2 +- src/logos_execution_zone_wallet_module.cpp | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8c6813..4254d8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.20) -project(logos-execution-zone-wallet-module LANGUAGES CXX) +project(logos_execution_zone_wallet_module LANGUAGES CXX) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) @@ -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 logos_execution_zone_wallet_module) qt_add_plugin(${PLUGIN_TARGET} CLASS_NAME LogosExecutionZoneWalletModule) diff --git a/flake.lock b/flake.lock index ffa467e..b426f0f 100644 --- a/flake.lock +++ b/flake.lock @@ -350,11 +350,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1771403500, - "narHash": "sha256-KnDqKhMjNjknUdtSupIhrTOR8CUCVHEi8ZEkEb/DUKU=", + "lastModified": 1771420202, + "narHash": "sha256-r3lO12wvYPm6Xe7YFGK40iYe+1OID5YlGlup6RGgvs8=", "owner": "logos-blockchain", "repo": "lssa", - "rev": "27f31cf3d045506e3f0e887628057e15c7588463", + "rev": "89ce9f322a1fc4214ec818e094e6efc97be02d9c", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 5df154f..7b8fcfb 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/liblogos_execution_zone_wallet_module.${extension} ''}/bin/inspect-module"; }; in diff --git a/justfile b/justfile index c4f661c..d1ef79f 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 liblogos-execution-zone-wallet-module + cmake --build build --parallel --target logos_execution_zone_wallet_module clean: rm -rf build result diff --git a/metadata.json b/metadata.json index 1c41ee9..523ecdf 100644 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { - "name": "liblogos-execution-zone-wallet-module", + "name": "liblogos_execution_zone_wallet_module", "version": "1.0.0", "description": "Logos Execution Zone Wallet Module for Logos Core", "author": "Logos Blockchain Team", diff --git a/src/logos_execution_zone_wallet_module.cpp b/src/logos_execution_zone_wallet_module.cpp index 04d1546..4c4f604 100644 --- a/src/logos_execution_zone_wallet_module.cpp +++ b/src/logos_execution_zone_wallet_module.cpp @@ -137,7 +137,7 @@ LogosExecutionZoneWalletModule::~LogosExecutionZoneWalletModule() { // === Plugin Interface === QString LogosExecutionZoneWalletModule::name() const { - return "liblogos-execution-zone-wallet-module"; + return "liblogos_execution_zone_wallet_module"; } QString LogosExecutionZoneWalletModule::version() const { @@ -147,7 +147,7 @@ QString LogosExecutionZoneWalletModule::version() const { // === Logos Core === void LogosExecutionZoneWalletModule::initLogos(LogosAPI* logosApiInstance) { - logosApi = logosApiInstance; + logosAPI = logosApiInstance; } // === Account Management ===