@@ -748,7 +748,7 @@ fn assert_failure_if_resource_bounds_exceed_balance(
748
748
match block_context. to_tx_context ( & invalid_tx) . tx_info {
749
749
TransactionInfo :: Deprecated ( context) => {
750
750
assert_matches ! (
751
- invalid_tx. execute( state, block_context, true , true ) . unwrap_err( ) ,
751
+ invalid_tx. execute( state, block_context, true , true ) . unwrap_err( ) ,
752
752
TransactionExecutionError :: TransactionPreValidationError (
753
753
TransactionPreValidationError :: TransactionFeeError (
754
754
TransactionFeeError :: MaxFeeExceedsBalance { max_fee, .. } ) )
@@ -758,7 +758,7 @@ fn assert_failure_if_resource_bounds_exceed_balance(
758
758
TransactionInfo :: Current ( context) => {
759
759
let l1_bounds = context. l1_resource_bounds ( ) . unwrap ( ) ;
760
760
assert_matches ! (
761
- invalid_tx. execute( state, block_context, true , true ) . unwrap_err( ) ,
761
+ invalid_tx. execute( state, block_context, true , true ) . unwrap_err( ) ,
762
762
TransactionExecutionError :: TransactionPreValidationError (
763
763
TransactionPreValidationError :: TransactionFeeError (
764
764
TransactionFeeError :: L1GasBoundsExceedBalance { max_amount, max_price, .. } ) )
0 commit comments