Skip to content

Commit 122f4d3

Browse files
Use stellar binary instead of soroban binary (#83)
* use `stellar` binary instead of `soroban` binary * Set Version: 0.1.67 * Set Version: 0.1.68 --------- Co-authored-by: devops <[email protected]>
1 parent f87cabf commit 122f4d3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.67
1+
0.1.68

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "komet"
7-
version = "0.1.67"
7+
version = "0.1.68"
88
description = "K tooling for the Soroban platform"
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",

src/komet/kasmer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def _which(self, cmd: str) -> Path:
7979
return Path(path_str)
8080

8181
@cached_property
82-
def _soroban_bin(self) -> Path:
83-
return self._which('soroban')
82+
def _stellar_bin(self) -> Path:
83+
return self._which('stellar')
8484

8585
@cached_property
8686
def _cargo_bin(self) -> Path:
@@ -89,7 +89,7 @@ def _cargo_bin(self) -> Path:
8989
def contract_bindings(self, wasm_contract: Path) -> list[ContractBinding]:
9090
"""Reads a soroban wasm contract, and returns a list of the function bindings for it."""
9191
proc_res = run_process(
92-
[str(self._soroban_bin), 'contract', 'bindings', 'json', '--wasm', str(wasm_contract)], check=False
92+
[str(self._stellar_bin), 'contract', 'bindings', 'json', '--wasm', str(wasm_contract)], check=False
9393
)
9494
bindings_list = json.loads(proc_res.stdout)
9595
bindings = []
@@ -133,7 +133,7 @@ def build_soroban_contract(self, contract_path: Path, out_dir: Path | None = Non
133133
if out_dir is None:
134134
out_dir = Path(mkdtemp(f'komet_{str(contract_path.stem)}'))
135135

136-
run_process([str(self._soroban_bin), 'contract', 'build', '--out-dir', str(out_dir)], cwd=contract_path)
136+
run_process([str(self._stellar_bin), 'contract', 'build', '--out-dir', str(out_dir)], cwd=contract_path)
137137

138138
return out_dir / contract_name
139139

0 commit comments

Comments
 (0)