Skip to content

Commit

Permalink
fix contract stem
Browse files Browse the repository at this point in the history
  • Loading branch information
bbyalcinkaya committed Nov 22, 2024
1 parent accebce commit 93e5f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/komet/kasmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}'))
Expand Down

0 comments on commit 93e5f8f

Please sign in to comment.