Skip to content
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

Add feature to allow Aura collator to use full PoV size #5393

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

s0me0ne-unkn0wn
Copy link
Contributor

This PR introduces a feature that allows to optionally enable using the full PoV size.

Technically, we're ready to enable it by default, but as corresponding runtime changes have not been propagated to the system parachain runtimes yet, doing so could put them at risk. On the other hand, there are teams that could benefit from it right now, and it makes no sense for them to wait for the fellowship release and everything.

@s0me0ne-unkn0wn s0me0ne-unkn0wn added the T9-cumulus This PR/Issue is related to cumulus. label Aug 17, 2024
@xlc
Copy link
Contributor

xlc commented Aug 17, 2024

why it is a feature flag instead of some parameter passed in?

@s0me0ne-unkn0wn
Copy link
Contributor Author

why it is a feature flag instead of some parameter passed in?

I just don't see much sense in punching holes in the Aura parameter structures (three of them, to be precise) for something that is obviously transient. The feature allows for keeping the change footprint small.

Besides that, changing the collator parameters is a breaking change. This one with the feature could be backported if need be, but with the parameter, it's not possible.

@s0me0ne-unkn0wn s0me0ne-unkn0wn marked this pull request as draft August 17, 2024 10:57
@eskimor eskimor mentioned this pull request Aug 23, 2024
5 tasks
@bkchr
Copy link
Member

bkchr commented Aug 23, 2024

This should be removed entirely when the time has come. I don't see any reason that we should backport or bring this up as a feature flag. With the next stable release in 5 months we hopefully have ironed out all the bugs we can remove it.

@bkchr
Copy link
Member

bkchr commented Aug 26, 2024

This should be removed entirely when the time has come. I don't see any reason that we should backport or bring this up as a feature flag. With the next stable release in 5 months we hopefully have ironed out all the bugs we can remove it.

My brain was not working. As benchmarking ensures that we don't run over the PoV limit, I think we can just remove the training wheels. The PoVReclaim extension only exists to increase the throughput, but is not a requirement that ensures that without the node side check we don't run into issues.

So, I would advocate to remove the division by two completely. Nevertheless, we should ensure to backport all the fixes for pov reclaim to ensure that if people are using it, it is secure.

@s0me0ne-unkn0wn s0me0ne-unkn0wn marked this pull request as ready for review August 27, 2024 17:10
prdoc/pr_5393.prdoc Outdated Show resolved Hide resolved
@s0me0ne-unkn0wn s0me0ne-unkn0wn added this pull request to the merge queue Aug 27, 2024
@s0me0ne-unkn0wn s0me0ne-unkn0wn removed this pull request from the merge queue due to a manual request Aug 27, 2024
Co-authored-by: Andrei Sandu <[email protected]>
@s0me0ne-unkn0wn s0me0ne-unkn0wn added this pull request to the merge queue Aug 27, 2024
Merged via the queue into master with commit f90bfa6 Aug 27, 2024
188 of 189 checks passed
@s0me0ne-unkn0wn s0me0ne-unkn0wn deleted the s0me0ne/full-pov-feature branch August 27, 2024 18:55
s0me0ne-unkn0wn added a commit that referenced this pull request Aug 28, 2024
This PR introduces a feature that allows to optionally enable using the
full PoV size.

Technically, we're ready to enable it by default, but as corresponding
runtime changes have not been propagated to the system parachain
runtimes yet, doing so could put them at risk. On the other hand, there
are teams that could benefit from it right now, and it makes no sense
for them to wait for the fellowship release and everything.

---------

Co-authored-by: Andrei Sandu <[email protected]>
EgorPopelyaev pushed a commit that referenced this pull request Aug 28, 2024
…5393) (#5507)

This PR introduces a feature that allows to optionally enable using the
full PoV size.

Technically, we're ready to enable it by default, but as corresponding
runtime changes have not been propagated to the system parachain
runtimes yet, doing so could put them at risk. On the other hand, there
are teams that could benefit from it right now, and it makes no sense
for them to wait for the fellowship release and everything.

---------

Co-authored-by: Andrei Sandu <[email protected]>
ordian added a commit that referenced this pull request Aug 29, 2024
* master: (39 commits)
  short-term fix for para inherent weight overestimation (#5082)
  CI: Add backporting bot (#4795)
  Fix benchmark failures when using `insecure_zero_ed` flag (#5354)
  Command bot GHA v2 - /cmd <cmd> (#5457)
  Remove pallet::getter usage from treasury (#4962)
  Bump blake2b_simd from 1.0.1 to 1.0.2 (#5404)
  Bump rustversion from 1.0.14 to 1.0.17 (#5405)
  Bridge zombienet tests: remove old command (#5434)
  polkadot-parachain: Add omni-node variant with u64 block number (#5269)
  Refactor verbose test (#5506)
  Use umbrella crate for minimal template (#5155)
  IBP Coretime Polkadot bootnodes (#5499)
  rpc server: listen to `ipv6 socket` if available and `--experimental-rpc-endpoint` CLI option (#4792)
  Update approval-voting-regression-bench (#5504)
  change try-runtime rpc domains (#5443)
  polkadot-parachain-bin: Remove contracts parachain (#5471)
  Add feature to allow Aura collator to use full PoV size (#5393)
  Adding stkd bootnodes (#5470)
  Make `PendingConfigs` storage item public (#5467)
  frame-omni-bencher maintenance (#5466)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T9-cumulus This PR/Issue is related to cumulus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants