Skip to content

Commit

Permalink
Upgrade fuels version
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoplavkov committed Aug 26, 2024
1 parent 0592359 commit eb36f33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions scripts/swap_exact_input_script/tests/cases/success.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use fuels::prelude::VariableOutputPolicy;
use crate::utils::setup;
use fuels::programs::call_utils::TxDependencyExtension;
use test_harness::interface::amm::pool_metadata;
use test_harness::interface::scripts::get_transaction_inputs_outputs;
use test_harness::utils::common::{pool_assets_balance, MINIMUM_LIQUIDITY};
Expand Down Expand Up @@ -41,7 +41,7 @@ async fn swap_between_two_volatile_tokens() {
.with_contracts(&[&amm.instance])
.with_inputs(inputs)
.with_outputs(outputs)
.append_variable_outputs(2)
.with_variable_output_policy(VariableOutputPolicy::Exactly(2))
.call()
.await
.unwrap()
Expand Down Expand Up @@ -72,7 +72,7 @@ async fn swap_between_two_volatile_tokens() {
.with_contracts(&[&amm.instance])
.with_inputs(inputs)
.with_outputs(outputs)
.append_variable_outputs(1)
.with_variable_output_policy(VariableOutputPolicy::Exactly(1))
.call()
.await
.unwrap()
Expand Down Expand Up @@ -137,7 +137,7 @@ async fn swap_between_three_volatile_tokens() {
.with_contracts(&[&amm.instance])
.with_inputs(inputs)
.with_outputs(outputs)
.append_variable_outputs(2)
.with_variable_output_policy(VariableOutputPolicy::Exactly(2))
.call()
.await
.unwrap()
Expand Down Expand Up @@ -165,7 +165,7 @@ async fn swap_between_three_volatile_tokens() {
.with_contracts(&[&amm.instance])
.with_inputs(inputs)
.with_outputs(outputs)
.append_variable_outputs(2)
.with_variable_output_policy(VariableOutputPolicy::Exactly(2))
.call()
.await
.unwrap()
Expand Down Expand Up @@ -199,7 +199,7 @@ async fn swap_between_three_volatile_tokens() {
.with_contracts(&[&amm.instance])
.with_inputs(inputs)
.with_outputs(outputs)
.append_variable_outputs(1)
.with_variable_output_policy(VariableOutputPolicy::Exactly(1))
.call()
.await
.unwrap()
Expand Down
2 changes: 1 addition & 1 deletion test-harness/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub mod amm {
pub async fn initialize_ownership(
contract: &MiraAMM<WalletUnlocked>,
owner: Identity,
) -> FuelCallResponse<()> {
) -> CallResponse<()> {
contract
.methods()
.transfer_ownership(owner)
Expand Down

0 comments on commit eb36f33

Please sign in to comment.