Skip to content

Conversation

@zlacfzy
Copy link

@zlacfzy zlacfzy commented Jan 6, 2026

Description

TestDualHeapEviction was failing because the pool size (4) was too small.
The floatingCount calculation uses integer division: len(urgent) * 1 / 5 = 0,
leaving the floating heap empty and high gasFeeCap transactions unprotected.

Increased pool capacity from 4 to 20 transactions:

  • GlobalSlots: 2 → 10
  • GlobalQueue: 2 → 10
  • Loop iterations: 4 → 20

This makes floatingCount = 4, properly activating dual heap protection.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@allformless allformless merged commit 5d1a60a into allformless:upstream-geth-v-1-16-7-fix Jan 7, 2026
3 checks passed
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.

2 participants