Skip to content

Commit

Permalink
Add Assembled from stellar-rpc-client@9f74833 (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Oct 4, 2024
1 parent d37632a commit b940978
Show file tree
Hide file tree
Showing 10 changed files with 561 additions and 15 deletions.
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 b940978

Please sign in to comment.