Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Oct 3, 2024
1 parent d9cc20c commit c95e9a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/soroban-cli/src/assembled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use stellar_xdr::curr::{
self as xdr, ExtensionPoint, Hash, InvokeHostFunctionOp, LedgerFootprint, Limits, Memo,
Operation, OperationBody, Preconditions, ReadXdr, RestoreFootprintOp,
SorobanAuthorizationEntry, SorobanAuthorizedFunction, SorobanResources, SorobanTransactionData,
Transaction, TransactionExt, TransactionSignaturePayload,
TransactionSignaturePayloadTaggedTransaction, VecM, WriteXdr,
Transaction, TransactionEnvelope, TransactionExt, TransactionSignaturePayload,
TransactionSignaturePayloadTaggedTransaction, TransactionV1Envelope, VecM, WriteXdr,
};

use soroban_rpc::{Error, RestorePreamble, SimulateTransactionResponse};
Expand Down Expand Up @@ -231,7 +231,7 @@ fn assemble(
}

// Update transaction fees to meet the minimum resource fees.
let classic_tx_fee: u64 = crate::DEFAULT_TRANSACTION_FEES.into();
let classic_tx_fee: u64 = DEFAULT_TRANSACTION_FEES.into();

// Choose larger of existing fee or inclusion + resource fee.
tx.fee = tx.fee.max(
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/deploy/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl NetworkRunnable for Cmd {

print.infoln("Simulating deploy transaction…");

let txn = simulate_and_assemble_transaction(&client, &tx).await?;
let txn = simulate_and_assemble_transaction(&client, &txn).await?;
let txn = self.fee.apply_to_assembled_txn(txn).transaction().clone();

if self.fee.sim_only {
Expand Down

0 comments on commit c95e9a3

Please sign in to comment.