diff --git a/package/version b/package/version index 5730f92..72052e2 100644 --- a/package/version +++ b/package/version @@ -1 +1 @@ -0.1.67 +0.1.68 diff --git a/pyproject.toml b/pyproject.toml index ac13eac..14465b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "komet" -version = "0.1.67" +version = "0.1.68" description = "K tooling for the Soroban platform" authors = [ "Runtime Verification, Inc. ", diff --git a/src/komet/kasmer.py b/src/komet/kasmer.py index 8679a8d..6820974 100644 --- a/src/komet/kasmer.py +++ b/src/komet/kasmer.py @@ -79,8 +79,8 @@ def _which(self, cmd: str) -> Path: return Path(path_str) @cached_property - def _soroban_bin(self) -> Path: - return self._which('soroban') + def _stellar_bin(self) -> Path: + return self._which('stellar') @cached_property def _cargo_bin(self) -> Path: @@ -89,7 +89,7 @@ def _cargo_bin(self) -> Path: def contract_bindings(self, wasm_contract: Path) -> list[ContractBinding]: """Reads a soroban wasm contract, and returns a list of the function bindings for it.""" proc_res = run_process( - [str(self._soroban_bin), 'contract', 'bindings', 'json', '--wasm', str(wasm_contract)], check=False + [str(self._stellar_bin), 'contract', 'bindings', 'json', '--wasm', str(wasm_contract)], check=False ) bindings_list = json.loads(proc_res.stdout) bindings = [] @@ -133,7 +133,7 @@ def build_soroban_contract(self, contract_path: Path, out_dir: Path | None = Non if out_dir is None: out_dir = Path(mkdtemp(f'komet_{str(contract_path.stem)}')) - run_process([str(self._soroban_bin), 'contract', 'build', '--out-dir', str(out_dir)], cwd=contract_path) + run_process([str(self._stellar_bin), 'contract', 'build', '--out-dir', str(out_dir)], cwd=contract_path) return out_dir / contract_name