Skip to content

Commit d516d80

Browse files
committed
fix: set module_path to challenge_id for WASM cache lookup
1 parent 694c947 commit d516d80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bins/validator-node/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,8 @@ async fn main() -> Result<()> {
813813
description: String::new(),
814814
owner: keypair.hotkey(),
815815
module: platform_core::WasmModuleMetadata {
816-
module_path: String::new(),
816+
// Use challenge_id as module_path for cache lookup
817+
module_path: challenge_id_str.clone(),
817818
code_hash: hex::encode(metadata.value_hash),
818819
version: metadata.version.to_string(),
819820
..Default::default()

0 commit comments

Comments
 (0)