From 1bf33f4979d1abbe943a1b2ccdb34db5311e1073 Mon Sep 17 00:00:00 2001 From: kamilsa Date: Tue, 15 Apr 2025 06:07:04 +0300 Subject: [PATCH 1/2] Enable timestamp --- core/authority_discovery/publisher/address_publisher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/authority_discovery/publisher/address_publisher.cpp b/core/authority_discovery/publisher/address_publisher.cpp index db481bebf4..6a48944fc3 100644 --- a/core/authority_discovery/publisher/address_publisher.cpp +++ b/core/authority_discovery/publisher/address_publisher.cpp @@ -30,7 +30,7 @@ namespace kagome::authority_discovery { constexpr std::chrono::hours kIntervalMax{1}; // TODO(kamilsa): #2351, remove this variable when resolved - constexpr bool kAudiDisableTimestamp = true; + constexpr bool kAudiDisableTimestamp = false; static const metrics::GaugeHelper metric_amount_addresses_last_published{ "kagome_authority_discovery_amount_external_addresses_last_published", From dfd095064e573f7428e994512a56c87ad4c42e7f Mon Sep 17 00:00:00 2001 From: kamilsa Date: Tue, 15 Apr 2025 22:49:38 +0300 Subject: [PATCH 2/2] O2 optimization --- core/runtime/wasm_edge/module_factory_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/runtime/wasm_edge/module_factory_impl.cpp b/core/runtime/wasm_edge/module_factory_impl.cpp index 5787594f48..701425608b 100644 --- a/core/runtime/wasm_edge/module_factory_impl.cpp +++ b/core/runtime/wasm_edge/module_factory_impl.cpp @@ -410,7 +410,7 @@ namespace kagome::runtime::wasm_edge { OUTCOME_TRY(configure_ctx, configureCtx(config)); auto configure_ctx_raw = configure_ctx.raw(); WasmEdge_ConfigureCompilerSetOptimizationLevel( - configure_ctx_raw, WasmEdge_CompilerOptimizationLevel_O0); + configure_ctx_raw, WasmEdge_CompilerOptimizationLevel_O2); CompilerContext compiler = WasmEdge_CompilerCreate(configure_ctx_raw); SL_INFO(log_, "Start compiling wasm module {}", path_compiled);