Skip to content

Commit

Permalink
update gas price
Browse files Browse the repository at this point in the history
  • Loading branch information
iqdecay committed Jan 15, 2024
1 parent 4884748 commit 40633c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/fuels/tests/providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,14 +595,14 @@ async fn testnet_hello_world() -> Result<()> {

// Create the wallet.
let wallet = WalletUnlocked::new_from_private_key(secret, Some(provider));
let address = wallet.address();
println!("Address {:?} \n{:?}", address, wallet.get_balances().await?);

let mut rng = rand::thread_rng();
let salt: [u8; 32] = rng.gen();
let configuration = LoadConfiguration::default().with_salt(salt);

let tx_policies = TxPolicies::default()
.with_gas_price(1)
.with_script_gas_limit(2000);
let tx_policies = TxPolicies::default();

let contract_id = Contract::load_from(
"tests/contracts/contract_test/out/debug/contract_test.bin",
Expand Down

0 comments on commit 40633c3

Please sign in to comment.