Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranduy1dol committed Aug 6, 2024
1 parent 8fdcb07 commit ff50b4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/da-clients/aptos/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ impl DaConfig<AptosDaClient> for AptosDaConfig {
let private_key = get_env_var_or_panic("APTOS_PRIVATE_KEY");
let account_address = get_env_var_or_panic("APTOS_ACCOUNT_ADDRESS");
let module_address = get_env_var_or_panic("APTOS_MODULE_ADDRESS");
let chain_id = get_env_var_or_panic("CHAIN_ID");
let trusted_setup = get_env_var_or_panic("TRUSTED_SETUP");
let chain_id = get_env_var_or_panic("APTOS_CHAIN_ID");
let trusted_setup = get_env_var_or_panic("APTOS_CRS_PATH");

Self { chain_id, node_url, private_key, account_address, module_address, trusted_setup }
}
Expand Down
3 changes: 2 additions & 1 deletion crates/da-clients/aptos/src/helper.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use std::time::SystemTime;

use aptos_sdk::transaction_builder::TransactionBuilder;
use aptos_sdk::types::chain_id::ChainId;
use aptos_sdk::types::transaction::{SignedTransaction, TransactionPayload};
use aptos_sdk::types::LocalAccount;
use std::time::SystemTime;

pub(crate) fn build_transaction(
payload: TransactionPayload,
Expand Down

0 comments on commit ff50b4f

Please sign in to comment.