From 93e5f8fe862f1053bd33820a00f52df8d89fcf71 Mon Sep 17 00:00:00 2001 From: Burak Bilge Yalcinkaya Date: Fri, 22 Nov 2024 15:23:15 +0300 Subject: [PATCH] fix contract stem --- src/komet/kasmer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komet/kasmer.py b/src/komet/kasmer.py index a33617b..96934a1 100644 --- a/src/komet/kasmer.py +++ b/src/komet/kasmer.py @@ -119,7 +119,7 @@ def build_soroban_contract(self, contract_path: Path, out_dir: Path | None = Non Returns: The path to the compiled wasm contract. """ - contract_stem = self.contract_manifest(contract_path)['name'] + contract_stem = self.contract_manifest(contract_path)['name'].replace('-', '_') contract_name = f'{contract_stem}.wasm' if out_dir is None: out_dir = Path(mkdtemp(f'komet_{str(contract_path.stem)}'))