Skip to content

Commit 0809e77

Browse files
authored
fix: update stellar-cli; remove unneeded features for smaller binaries (#237)
* fix: update stellar-cli; remove unneeded features for smaller binaries * fix: change to constructor arg parser * fix: other update issues
1 parent 5b6cbf7 commit 0809e77

4 files changed

Lines changed: 39 additions & 36 deletions

File tree

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stellar-registry = { path = "crates/stellar-registry" }
1616

1717
loam-sdk = { git = "https://github.com/loambuild/loam", rev = "096da30cedd371651906cfbed034b955c7b50ab4" }
1818
loam-subcontract-core = { git = "https://github.com/loambuild/loam", rev = "096da30cedd371651906cfbed034b955c7b50ab4" }
19-
stellar-cli = { version = "23.1.3", package = "soroban-cli", default-features = false }
19+
stellar-cli = { version = "23.1.4", package = "soroban-cli", default-features = false }
2020
soroban-rpc = { package = "stellar-rpc-client", version = "23.0.1" }
2121
soroban-spec-tools = "23.1.2"
2222

crates/stellar-registry-cli/src/commands/deploy/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub fn find_args_and_signers(
2424
return Ok((ScVal::Void, vec![]));
2525
}
2626
slop.insert(0, "__constructor".to_string().into());
27-
let res = arg_parsing::build_host_function_parameters(
27+
let res = arg_parsing::build_constructor_parameters(
2828
contract_id,
2929
&slop,
3030
spec_entries,

crates/stellar-scaffold-cli/src/commands/build/clients.rs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,17 @@ impl Builder {
204204
contract_id: &Contract,
205205
network: &network::Network,
206206
) -> Result<Option<String>, Error> {
207-
let result = self
208-
.run_against_rpc_server(cli::contract::fetch::Cmd {
209-
contract_id: stellar_cli::config::UnresolvedContract::Resolved(*contract_id),
210-
out_file: None,
211-
locator: self.get_config_locator().clone(),
212-
network: to_args(network),
213-
})
214-
.await;
207+
let result = cli::contract::fetch::Cmd {
208+
contract_id: Some(stellar_cli::config::UnresolvedContract::Resolved(
209+
*contract_id,
210+
)),
211+
out_file: None,
212+
locator: self.get_config_locator().clone(),
213+
network: to_args(network),
214+
wasm_hash: None,
215+
}
216+
.run_against_rpc_server(Some(&self.global_args), None)
217+
.await;
215218

216219
match result {
217220
Ok(result) => {

0 commit comments

Comments
 (0)