diff --git a/crates/mempool/src/test_utils.rs b/crates/mempool/src/test_utils.rs index f0bc277e44..28dd5d394f 100644 --- a/crates/mempool/src/test_utils.rs +++ b/crates/mempool/src/test_utils.rs @@ -18,7 +18,7 @@ macro_rules! tx { tx_nonce: $tx_nonce:expr, max_l2_gas_price: $max_l2_gas_price:expr) => {{ let resource_bounds = ValidResourceBounds::AllResources(AllResourceBounds { l2_gas: ResourceBounds { - max_price_per_unit: GasPrice(VALID_L2_GAS_MAX_PRICE_PER_UNIT), + max_price_per_unit: $max_l2_gas_price.into(), ..Default::default() }, ..Default::default() diff --git a/crates/mempool/tests/flow_test.rs b/crates/mempool/tests/flow_test.rs index 52b1e3ddd1..9e2974d647 100644 --- a/crates/mempool/tests/flow_test.rs +++ b/crates/mempool/tests/flow_test.rs @@ -1,6 +1,5 @@ use mempool_test_utils::starknet_api_test_utils::VALID_L2_GAS_MAX_PRICE_PER_UNIT; use rstest::{fixture, rstest}; -use starknet_api::block::GasPrice; use starknet_api::core::{ContractAddress, PatriciaKey}; use starknet_api::executable_transaction::Transaction; use starknet_api::hash::StarkHash;