Skip to content

Conversation

@almk-dev
Copy link
Member

@almk-dev almk-dev commented Sep 3, 2025

Description

Changes bondDenom initialization to use the actual zero constructor instead of the direct struct, since it uses an internal pointer which can panic if nil

Closes: #579

@GuillemGarciaDev Please confirm this branch resolves the issue when configured with BaseFee=0


Author Checklist

I have...

  • tackled an existing issue or discussed with a team member
  • left instructions on how to review the changes
  • targeted the main branch

@almk-dev almk-dev requested review from a team as code owners September 3, 2025 18:15
@linear
Copy link

linear bot commented Sep 3, 2025

@almk-dev almk-dev changed the title fix int zero value fix: use zero constructor to avoid nil pointer panic when BaseFee is 0 Sep 3, 2025
@aljo242 aljo242 enabled auto-merge September 3, 2025 18:27
@aljo242 aljo242 added this pull request to the merge queue Sep 3, 2025
Merged via the queue into main with commit 2a9e687 Sep 3, 2025
20 checks passed
@aljo242 aljo242 deleted the evm-282-fix-nil-bond-denom branch September 3, 2025 18:33
zsystm pushed a commit to zsystm/evm that referenced this pull request Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EVM Mempool panics when BaseFee is 0

3 participants