Skip to content

Commit

Permalink
fix: remove predicates config flag (#672)
Browse files Browse the repository at this point in the history
###### Description of changes

Seems like `fuel-core` doesn't take the `--predicates` flag anymore. So
we're removing it from the SDK as well.
  • Loading branch information
digorithm authored Nov 4, 2022
1 parent a4e6e0e commit 31415bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/fuels-test-helpers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ mod tests {

#[tokio::test]
async fn test_setup_test_client_custom_config() -> Result<(), rand::Error> {
let socket = SocketAddr::new(Ipv4Addr::new(127, 0, 0, 1).into(), 5000);
let socket = SocketAddr::new(Ipv4Addr::new(127, 0, 0, 1).into(), 4000);

let wallet = WalletUnlocked::new_random(None);

Expand Down
6 changes: 0 additions & 6 deletions packages/fuels-test-helpers/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use tokio::process::Command;
pub struct Config {
pub addr: SocketAddr,
pub utxo_validation: bool,
pub predicates: bool,
pub manual_blocks_enabled: bool,
pub vm_backtrace: bool,
pub silent: bool,
Expand All @@ -37,7 +36,6 @@ impl Config {
Self {
addr: SocketAddr::new(Ipv4Addr::new(127, 0, 0, 1).into(), 0),
utxo_validation: false,
predicates: false,
manual_blocks_enabled: false,
vm_backtrace: false,
silent: true,
Expand Down Expand Up @@ -261,10 +259,6 @@ pub async fn new_fuel_node(
args.push("--utxo-validation");
}

if config.predicates {
args.push("--predicates");
}

if config.manual_blocks_enabled {
args.push("--manual_blocks_enabled");
}
Expand Down

0 comments on commit 31415bb

Please sign in to comment.