Skip to content

Commit

Permalink
Remove branch based fuel-core dep for sdk-harness (FuelLabs#4033)
Browse files Browse the repository at this point in the history
## Description

Ensures the sdk-harness is running on the latest versions.

---------

Co-authored-by: Joshua Batty <[email protected]>
  • Loading branch information
Voxelot and JoshuaBatty authored Feb 9, 2023
1 parent 6b3ae49 commit d77cafd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
12 changes: 5 additions & 7 deletions test/src/sdk-harness/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ version = "0.0.0"

[dependencies]
assert_matches = "1.5.0"
fuel-core = { version = "0.16", default-features = false }
fuel-core-client = { version = "0.16", default-features = false }
fuel-types = "0.25"
fuel-vm = "0.25"
# TODO: Return back `0.35` after merge of the https://github.com/FuelLabs/fuels-rs/pull/813
# fuels = { version = "0.35", features = ["fuel-core-lib"] }
fuels = { git = "https://github.com/FuelLabs/fuels-rs", branch = "Voxelot/fuel-core-0.16", features = ["fuel-core-lib"] }
fuel-core = { version = "0.17", default-features = false }
fuel-core-client = { version = "0.17", default-features = false }
fuel-types = "0.26"
fuel-vm = "0.26"
fuels = { version = "0.36", features = ["fuel-core-lib"] }
hex = "0.4.3"
rand = "0.8"
sha2 = "0.10"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use fuel_vm::{consts::*, prelude::Opcode};
use fuel_vm::fuel_asm::{op, RegId};
use fuels::{
core::abi_encoder::ABIEncoder,
prelude::*,
Expand Down Expand Up @@ -60,7 +60,7 @@ async fn create_predicate(
1,
1000000,
0,
Opcode::RET(REG_ONE).to_bytes().to_vec(),
op::ret(RegId::ONE).to_bytes().to_vec(),
vec![],
wallet_coins,
vec![output_coin, output_change],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use fuel_vm::{consts::*, prelude::Opcode};
use fuel_vm::fuel_asm::{op, RegId};
use fuels::{
core::abi_encoder::ABIEncoder,
prelude::*,
Expand Down Expand Up @@ -60,7 +60,7 @@ async fn create_predicate(
1,
1000000,
0,
Opcode::RET(REG_ONE).to_bytes().to_vec(),
op::ret(RegId::ONE).to_bytes().to_vec(),
vec![],
wallet_coins,
vec![output_coin, output_change],
Expand Down
1 change: 1 addition & 0 deletions test/src/sdk-harness/test_projects/tx_fields/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ mod inputs {
.methods()
.get_tx_input_predicate_data_pointer(0)
.call_params(call_params)
.unwrap()
.call()
.await
.unwrap();
Expand Down

0 comments on commit d77cafd

Please sign in to comment.