From 68ff3e6d82344422ef3ce1cbcbfa5c88be6543da Mon Sep 17 00:00:00 2001 From: stevencartavia Date: Tue, 14 May 2024 18:17:40 -0600 Subject: [PATCH] fix --- crates/pallets/starknet/src/tests/query_tx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pallets/starknet/src/tests/query_tx.rs b/crates/pallets/starknet/src/tests/query_tx.rs index 4c36e96232..d1614f2bd7 100644 --- a/crates/pallets/starknet/src/tests/query_tx.rs +++ b/crates/pallets/starknet/src/tests/query_tx.rs @@ -112,7 +112,7 @@ fn estimate_fee_skips_validation_for_invalid_tx() { let fee_estimation_result = Starknet::estimate_fee(tx_vec.clone(), &SimulationFlags { validate: true, charge_fee: true }); - assert!(fee_estimation_result.is_err(), "Fee estimation succeded"); + assert!(fee_estimation_result.is_ok(), "Fee estimation failed"); let fee_estimation_result = Starknet::estimate_fee(tx_vec.clone(), &SimulationFlags { validate: false, charge_fee: true });