@@ -240,11 +240,6 @@ evmc::Result ExecuteTransactionNoValidation<traits>::operator()(
240240        auth_refund = process_authorizations (state, host);
241241    }
242242
243-     if  constexpr  (!traits::eip_7702_refund_active ()) {
244-         //  monad doesn't give authorization refunds
245-         auth_refund = 0 ;
246-     }
247- 
248243    //  EIP-3651
249244    if  constexpr  (traits::evm_rev () >= EVMC_SHANGHAI) {
250245        host.access_account (header_.beneficiary );
@@ -357,26 +352,17 @@ Receipt ExecuteTransaction<traits>::execute_final(
357352        tx_,
358353        static_cast <uint64_t >(result.gas_left ),
359354        static_cast <uint64_t >(result.gas_refund ));
360-     auto  const  refund_gas_cost  =
361-         refund_gas_price <traits>(tx_, header_.base_fee_per_gas .value_or (0 ));
362-     state.add_to_balance (sender_, refund_gas_cost  * gas_refund);
355+     auto  const  gas_cost  =
356+         gas_price <traits>(tx_, header_.base_fee_per_gas .value_or (0 ));
357+     state.add_to_balance (sender_, gas_cost  * gas_refund);
363358
364-     auto  gas_used = tx_.gas_limit ;
365- 
366-     //  Monad specification §2.3: Payment Rule for User:
367-     //  The storage refund does not reduce the gas consumption of the
368-     //  transaction.
369-     if  constexpr  (traits::should_refund_reduce_gas_used ()) {
370-         gas_used -= gas_refund;
371-     }
359+     auto  gas_used = tx_.gas_limit  - gas_refund;
372360
373361    //  EIP-7623
374362    if  constexpr  (traits::evm_rev () >= EVMC_PRAGUE) {
375363        auto  const  floor_gas = floor_data_gas (tx_);
376364        if  (gas_used < floor_gas) {
377365            auto  const  delta = floor_gas - gas_used;
378-             auto  const  gas_cost =
379-                 gas_price<traits>(tx_, header_.base_fee_per_gas .value_or (0 ));
380366            state.subtract_from_balance (sender_, gas_cost * delta);
381367
382368            gas_used = floor_gas;
0 commit comments