Add FIP: Premium Percentile Ratio #1236
Replies: 5 comments 6 replies
-
|
We had a side discussion on slack about whether we can abolish the 100 attoFIL base fee minimum with this change. I think we can, but there were some objections:
I don't think we'll be sitting at the floor after this change. We're stuck on the floor because it is much harder to increase the base fee than to decrease it, even under congestion, as discussed here and in the FIP motivation. I proposed that if we think the base fee adjusts too slowly, we can decrease the |
Beta Was this translation helpful? Give feedback.
-
|
A weighted quickselect algorithm such as wselect0 can find the percentile premium in average linear time without sorting. It doesn't seem anyone's been able to get the worst case down to linear for weighted percentiles, but median-of-medians quickselect can get there for unweighted. It seems advanced pivot selection is not used in practice because it is much slower on average. |
Beta Was this translation helpful? Give feedback.
-
|
I found a bug in the protocol's current deduping logic for base fee. We only dedupe by Cid, not by sender+nonce, so it is possible for a griefer to drive up the base fee at no cost by sending conflicting messages to the proposers. This change is a good chance to consider whether base fee calculation should dedupe by sender+nonce instead. I think it should, because such duplicates pay zero for their gas limit. I will update the FIP to clarify this change and make it explicit. |
Beta Was this translation helpful? Give feedback.
-
|
Created Lotus PR |
Beta Was this translation helpful? Give feedback.
-
|
Today I ran some simulations with the new premium recommendation algorithm and I think the mempool based approach should not default to nblocksincl=10. The mempool approach might be more suited to lower nblocksincl. I am also deciding how recommendation should behave when the mempool is empty. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
FIP PR: #1233
Author: https://github.com/wjmelements
Simple Summary
Replacing the utilization-based base fee adjustment with a premium-based target will stabilize gas markets and improve tipset efficiency.
Abstract
Instead of targeting 50% gas limit utilization, which is unreliable for multiple block proposers, congestion is detected by considering the ratio between the effective priority fee, called the premium, and the base fee.
When this ratio exceeds 1/8, the base fee increases; when it falls below this threshold (or if the blocks are sufficiently empty), the base fee decreases.
This approach aligns base fee adjustments with congestion signals, which should improve the predictability of gas markets, thereby reduce proposer duplications.
Beta Was this translation helpful? Give feedback.
All reactions