Skip to content

Conversation

@VictorTrustyDev
Copy link

@VictorTrustyDev VictorTrustyDev commented Jan 1, 2024

Problem: ClaimStakingRewardsIfNecessary will panic if transaction fee is zero

Solution: check if tx fee is zero, bypass the rest logic of this function

@VictorTrustyDev VictorTrustyDev merged commit 0d6716d into main Jan 1, 2024
@VictorTrustyDev VictorTrustyDev deleted the fix/deduct-zero-fee-when-feemarket-disabled-and-zero-min-gas-price branch January 1, 2024 16:22
VictorTrustyDev added a commit that referenced this pull request Jan 1, 2024
…t-disabled-and-zero-min-gas-price-backport-30

fix(fee): handle deduct zero fee of zero fee tx when x/feemarket disabled and min gas price is zero (backport #30)
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.

3 participants