Skip to content

Conversation

@VictorTrustyDev
Copy link

@VictorTrustyDev VictorTrustyDev commented Dec 30, 2023

Refer #2

Describe of issues:

  • Gas meter staking for every predecessor during tracing tx that caused out-of-gas sometime when tracing
  • When trace tx/block, base fee from previous block height is used, that is incorrect

Solution applied:

  • Reset gas meter before every tx trace
  • Calculate base-fee (for using context block) at early of trace request and use it.

@VictorTrustyDev VictorTrustyDev added the enhancement Enhancement / bug-fixes or re-work on old feature label Dec 30, 2023
@VictorTrustyDev VictorTrustyDev self-assigned this Dec 30, 2023
@VictorTrustyDev VictorTrustyDev linked an issue Dec 30, 2023 that may be closed by this pull request
@VictorTrustyDev VictorTrustyDev merged commit a5c6a1d into main Dec 30, 2023
@VictorTrustyDev VictorTrustyDev deleted the fix/correct-inconsistent-base-fee-and-fix-gas-meter-stacking-when-tracing-tx branch December 30, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement / bug-fixes or re-work on old feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem: patch known issue in v12

3 participants