Skip to content

Staking-async heavy blocks work with basti-blocks#10895

Closed
kianenigma wants to merge 272 commits into
masterfrom
kiz-empb-basti-blocks-simple
Closed

Staking-async heavy blocks work with basti-blocks#10895
kianenigma wants to merge 272 commits into
masterfrom
kiz-empb-basti-blocks-simple

Conversation

@kianenigma
Copy link
Copy Markdown
Contributor

@kianenigma kianenigma commented Jan 23, 2026

This PR is on top of #10477

It demonstrates the changes necessary to implement the simple solution mentioned in #10143

  • We now check the weight of the next on-poll execution on-init, and register it. Then we signal the next poll call to execute
    • There is an issue there with not having easy access to the FullCore block weight, but it is easy to fix it.
  • My runtime test setup is still not importing blocks at the rate that I expect, some configuration is missing.
  • Unit tests of the corresponding pallets need to be updated.

bkchr and others added 30 commits March 24, 2025 22:50
…om:paritytech/polkadot-sdk into bkchr-parachain-block-data-multiple-blocks
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
let remaining_weight = remaining_weight_meter.remaining();
let can_execute = remaining_weight.all_gte(combined_weight);

// TODO: the above doesn't work because the `remaining_block_weight` is already the
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bkchr just came across this, I should have raised this earlier. This is the main blocker right now to implement this simple fix for the staking heavy blocks.

Base automatically changed from bkchr-fast-working-2 to master April 17, 2026 16:56
@kianenigma
Copy link
Copy Markdown
Contributor Author

Replaced by #12202

@kianenigma kianenigma closed this Jun 1, 2026
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.

3 participants