Skip to content

Commit

Permalink
Do not wait for local execution
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind committed May 23, 2024
1 parent 7ab8afe commit 8c5f6c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sui_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use sui_types::base_types::{ObjectID, SuiAddress};
use sui_types::coin::{PAY_MODULE_NAME, PAY_SPLIT_N_FUNC_NAME};
use sui_types::gas_coin::GAS;
use sui_types::programmable_transaction_builder::ProgrammableTransactionBuilder;
use sui_types::quorum_driver_types::ExecuteTransactionRequestType;
use sui_types::transaction::{
Argument, ObjectArg, ProgrammableTransaction, Transaction, TransactionKind,
};
Expand Down Expand Up @@ -209,8 +210,8 @@ impl SuiClient {
.quorum_driver_api()
.execute_transaction_block(
tx.clone(),
SuiTransactionBlockResponseOptions::full_content(),
None,
SuiTransactionBlockResponseOptions::new().with_effects(),
Some(ExecuteTransactionRequestType::WaitForEffectsCert),
)
.await
.tap_err(|err| debug!(?digest, "execute_transaction error: {:?}", err))
Expand Down

0 comments on commit 8c5f6c9

Please sign in to comment.