-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove exchange rate calculation for non CELO denominated txs in stat…
…e_transition (#2299) Fix state_transition producing invalid gas used values for pre-H fork transactions. Specifically the fix is ensuring that non CIP-66 transactions do not call GetExchangeRate on the fee currency in the debitFee function, since calling GetExchangeRate can hit some memory locations which can result in lower gas costs for accesses for the rest of the transaction.
- Loading branch information
Showing
1 changed file
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters