-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(worker): seal block early if we're over target block time #706
Conversation
Small q; do empty blocks need any special treatment? |
we return instead of break in the loop. are we comfortable with skipping
|
Good question. This code does not seem super relevant, but skipping it might return in some difference in how we expose pending blocks. Changed to
I added the |
1. Purpose or design rationale of this PR
If we're over the target block time, short-circuit block packing and leave transactions to the next block.
This is a short-term fix to make the fork block more predictable.
2. PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
3. Deployment tag versioning
Has the version in
params/version.go
been updated?4. Breaking change label
Does this PR have the
breaking-change
label?