Skip to content

Commit

Permalink
Replaces static_gas_price with starting_gas_price.
Browse files Browse the repository at this point in the history
  • Loading branch information
esdrubal committed Aug 13, 2024
1 parent dbe53c3 commit 6275234
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions test/src/sdk-harness/test_projects/auth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async fn can_get_predicate_address() {
}],
);
let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let wallets = &launch_custom_provider_and_get_wallets(wallets_config, Some(node_config), None)
.await
.unwrap();
Expand Down Expand Up @@ -356,7 +356,7 @@ async fn can_get_predicate_address_in_message() {

let mut wallet = WalletUnlocked::new_random(None);
let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let provider = setup_test_provider(coin_vec, message_vec, Some(node_config), None)
.await
.unwrap();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async fn ec_recover_and_match_predicate_test() -> Result<()> {
.collect::<Vec<_>>();

let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let provider = setup_test_provider(all_coins, vec![], Some(node_config), None)
.await
.unwrap();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async fn setup() -> (Vec<u8>, Address, WalletUnlocked, u64, AssetId) {
let predicate_address = fuel_tx::Input::predicate_owner(&predicate_code);

let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let mut wallets = launch_custom_provider_and_get_wallets(
WalletsConfig::new(Some(1), None, None),
Some(node_config),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async fn setup() -> (Vec<u8>, Address, WalletUnlocked, u64, AssetId) {
let predicate_address = fuel_tx::Input::predicate_owner(&predicate_code);

let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let mut wallets = launch_custom_provider_and_get_wallets(
WalletsConfig::new(Some(1), None, None),
Some(node_config),
Expand Down
2 changes: 1 addition & 1 deletion test/src/sdk-harness/test_projects/storage_string/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ abigen!(Contract(

async fn setup() -> TestStorageStringContract<WalletUnlocked> {
let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let mut wallets = launch_custom_provider_and_get_wallets(
WalletsConfig::new(Some(1), None, None),
Some(node_config),
Expand Down
2 changes: 1 addition & 1 deletion test/src/sdk-harness/test_projects/string_slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async fn setup() -> (Vec<u8>, Address, WalletUnlocked, u64, AssetId) {
let predicate_address = fuel_tx::Input::predicate_owner(&predicate_code);

let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let mut wallets = launch_custom_provider_and_get_wallets(
WalletsConfig::new(Some(1), None, None),
Some(node_config),
Expand Down
4 changes: 2 additions & 2 deletions test/src/sdk-harness/test_projects/tx_fields/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async fn setup_output_predicate() -> (WalletUnlocked, WalletUnlocked, Predicate,
);

let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let mut wallets =
launch_custom_provider_and_get_wallets(wallets_config, Some(node_config), None)
.await
Expand Down Expand Up @@ -915,7 +915,7 @@ mod outputs {
async fn can_get_tx_output_type_for_contract_deployment() {
// Setup Wallet
let mut node_config = NodeConfig::default();
node_config.static_gas_price = 0;
node_config.starting_gas_price = 0;
let wallet = launch_custom_provider_and_get_wallets(
WalletsConfig::new(
Some(1), /* Single wallet */
Expand Down

0 comments on commit 6275234

Please sign in to comment.