From 5a81cde7bcf8a16d7f2fb35af1e045bf4c2025b4 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Wed, 13 Sep 2023 21:31:28 -0400 Subject: [PATCH] fix: print metaTx --- cmd/soroban-rpc/internal/test/simulate_transaction_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-rpc/internal/test/simulate_transaction_test.go b/cmd/soroban-rpc/internal/test/simulate_transaction_test.go index ecf57fad81..0f4fa11c81 100644 --- a/cmd/soroban-rpc/internal/test/simulate_transaction_test.go +++ b/cmd/soroban-rpc/internal/test/simulate_transaction_test.go @@ -796,7 +796,11 @@ func TestSimulateTransactionBumpAndRestoreFootprint(t *testing.T) { }) tx, err = txnbuild.NewTransaction(params) assert.NoError(t, err) - sendSuccessfulTransaction(t, client, sourceAccount, tx) + response := sendSuccessfulTransaction(t, client, sourceAccount, tx) + var txMeta xdr.TransactionMeta + err = xdr.SafeUnmarshalBase64(response.ResultMetaXdr, &txMeta) + assert.NoError(t, err) + println(fmt.Printf("meta: %#v\n", txMeta.Operations)) err = client.CallResult(context.Background(), "getLedgerEntry", getLedgerEntryrequest, &getLedgerEntryResult) assert.NoError(t, err)