From 88a04f59ff8f037748e2d417bd44acd26344abd4 Mon Sep 17 00:00:00 2001 From: Aner Ben Efraim Date: Sun, 27 Oct 2024 10:50:04 +0200 Subject: [PATCH] chore(blockifier): make warning more concise --- crates/blockifier/src/blockifier/block.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/blockifier/src/blockifier/block.rs b/crates/blockifier/src/blockifier/block.rs index ead1856f36..9e404fd509 100644 --- a/crates/blockifier/src/blockifier/block.rs +++ b/crates/blockifier/src/blockifier/block.rs @@ -54,8 +54,8 @@ impl GasPrices { if GasPrice::from(eth_l2_gas_price) != expected_eth_l2_gas_price { // TODO!(Aner): change to panic! Requires fixing several tests. warn!( - "eth_l2_gas_price does not match expected! eth_l2_gas_price:{eth_l2_gas_price}, \ - expected:{expected_eth_l2_gas_price}." + "eth_l2_gas_price {eth_l2_gas_price} does not match expected eth_l2_gas_price \ + {expected_eth_l2_gas_price}." ) } let expected_strk_l2_gas_price = VersionedConstants::latest_constants() @@ -63,8 +63,8 @@ impl GasPrices { if GasPrice::from(strk_l2_gas_price) != expected_strk_l2_gas_price { // TODO!(Aner): change to panic! Requires fixing test_discounted_gas_overdraft warn!( - "strk_l2_gas_price does not match expected! \ - strk_l2_gas_price:{strk_l2_gas_price}, expected:{expected_strk_l2_gas_price}." + "strk_l2_gas_price {strk_l2_gas_price} does not match expected strk_l2_gas_price \ + {expected_strk_l2_gas_price}." ) }