-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow negative performing chains and reduce block packing when the basefee is sky high #3550
Conversation
@@ -91,7 +98,7 @@ func (mp *MessagePool) republishPendingMessages() error { | |||
|
|||
// we don't republish negative performing chains, as they won't be included in | |||
// a block anyway | |||
if chain.gasPerf < 0 { | |||
if !allowNegative && chain.gasPerf < 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a note, we should republish slightly negative chains. Base fee can fall quite quickly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't even think about this effect. In essence, miners who updated to 0.5.10 won't re-pub messages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about that, we might as well wait for the next republish interval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But yeah, the effect is real -- and I didn't even think about it either.
Signed-off-by: Jakub Sztandera <[email protected]>
8d18778
to
c068bc9
Compare
rebased on master. |
it's a lost cause, we'll have real incentives by uncapping the miner penalty in the next 2 forks. |
No description provided.