@@ -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