Skip to content

Conversation

@ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Oct 15, 2025

Why this should be merged

We have removed block gas cost with ACP-226 so we cannot return any estimation based on block gas costs.

How this works

  • Changed default percentile from 60 to 40
  • Before each block had a estimated tip which then would form a dataset of tips. The SuggesTipCap then takes the percentile of those estimated tips. Now we're forming a dataset from all txs and their tips and then taking the percentile.

How this was tested

Added UTs, simulated mainnet tips.

The current mainnet tx medians are converging to the 1000 wei e.g:

{"summaryOverBlocks":{"p60MedianTipGwei":"0.000001","p40MedianTipGwei":"0.000001","p80MedianTipGwei":"0.01","p90MedianTipGwei":"0.2","eth_maxPriorityFeePerGas_Gwei":"0.107162306"}}

Need to be documented?

Changed documentation slightly

Need to update RELEASES.md?

yes

@ceyonur ceyonur marked this pull request as ready for review October 24, 2025 21:39
@ceyonur ceyonur requested a review from a team as a code owner October 24, 2025 21:39
@StephenButtolph StephenButtolph added this pull request to the merge queue Oct 28, 2025
Merged via the queue into master with commit 1c9ebba Oct 28, 2025
9 checks passed
@StephenButtolph StephenButtolph deleted the ceyonur/min-required-tip branch October 28, 2025 19:21
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.

SuggestTipCap should return meaningful values post‑Granite by using recent observed tips

5 participants