Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-rpc-header-arg
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Oct 7, 2024
2 parents b13f732 + 46c534e commit 4400165
Show file tree
Hide file tree
Showing 16 changed files with 591 additions and 26 deletions.
4 changes: 2 additions & 2 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Tools for smart contract developers
* `id` — Generate the contract id for a given contract or asset
* `info` — Access info about contracts
* `init` — Initialize a Soroban project with an example contract
* `inspect` — Inspect a WASM file listing contract functions, meta, etc
* `inspect`(Deprecated in favor of `contract info` subcommands) Inspect a WASM file listing contract functions, meta, etc
* `install` — Install a WASM file to the ledger without creating a contract instance
* `invoke` — Invoke a contract function
* `optimize` — Optimize a WASM file
Expand Down Expand Up @@ -644,7 +644,7 @@ Initialize a Soroban project with an example contract

## `stellar contract inspect`

Inspect a WASM file listing contract functions, meta, etc
(Deprecated in favor of `contract info` subcommands) Inspect a WASM file listing contract functions, meta, etc

**Usage:** `stellar contract inspect [OPTIONS] --wasm <WASM>`

Expand Down
5 changes: 2 additions & 3 deletions cmd/crates/soroban-test/tests/it/integration/tx.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use soroban_cli::assembled::simulate_and_assemble_transaction;
use soroban_sdk::xdr::{Limits, ReadXdr, TransactionEnvelope, WriteXdr};
use soroban_test::{AssertExt, TestEnv};

Expand All @@ -23,9 +24,7 @@ async fn simulate() {
.success()
.stdout_as_str();
assert_eq!(xdr_base64_sim_only, assembled_str);
let assembled = sandbox
.client()
.simulate_and_assemble_transaction(&tx)
let assembled = simulate_and_assemble_transaction(&sandbox.client(), &tx)
.await
.unwrap();
let txn_env: TransactionEnvelope = assembled.transaction().clone().into();
Expand Down
Loading

0 comments on commit 4400165

Please sign in to comment.