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

Remove AssignmentProviderConfig and use parameters from HostConfiguration instead #3181

Merged
merged 45 commits into from
Feb 29, 2024

Conversation

tdimitrov
Copy link
Contributor

@tdimitrov tdimitrov commented Feb 2, 2024

This PR removes AssignmentProviderConfig and uses the corresponding ondemand parameters from HostConfiguration instead. Additionally scheduling_lookahead and all coretime/ondemand related parameters are extracted in a separate struct - SchedulerParams.

The most relevant commit from the PR is this one.

Fixes #2268

@tdimitrov tdimitrov added the T8-polkadot This PR/Issue is related to/affects the Polkadot network. label Feb 2, 2024
@tdimitrov tdimitrov added the R0-silent Changes should not be mentioned in any release notes label Feb 5, 2024
@tdimitrov tdimitrov marked this pull request as ready for review February 6, 2024 07:42
@tdimitrov
Copy link
Contributor Author

Do we write prdocs for HostConfiguration changes? I've marked the PR as R0 but I'm not sure this is correct.

polkadot/primitives/src/vstaging/mod.rs Outdated Show resolved Hide resolved
polkadot/runtime/parachains/src/configuration.rs Outdated Show resolved Hide resolved
polkadot/primitives/src/vstaging/mod.rs Outdated Show resolved Hide resolved
@tdimitrov
Copy link
Contributor Author

Missing updates to the guide

Are you referring to Data structure and types section?

@tdimitrov
Copy link
Contributor Author

Missing updates to the guide

Are you referring to Data structure and types section?

I think copy-pasting the code in the docs doesn't make much sense so I put a link to the file in github + some remarks. What do you think?

@tdimitrov tdimitrov added this pull request to the merge queue Feb 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 28, 2024
@tdimitrov tdimitrov added this pull request to the merge queue Feb 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 28, 2024
@tdimitrov tdimitrov added this pull request to the merge queue Feb 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 28, 2024
@tdimitrov tdimitrov added this pull request to the merge queue Feb 29, 2024
Merged via the queue into master with commit a035dc9 Feb 29, 2024
129 of 130 checks passed
@tdimitrov tdimitrov deleted the tsv-coretime-config branch February 29, 2024 07:37
ordian added a commit that referenced this pull request Mar 1, 2024
…head-data

* origin/master:
  Fix call enum's metadata regression (#3513)
  Enable elastic scaling node feature in local testnets genesis (#3509)
  update development setup in sdk-docs (#3506)
  Fix accidental no-shows on node restart (#3277)
  Remove `AssignmentProviderConfig` and use parameters from `HostConfiguration` instead (#3181)
  [Deprecation] Remove sp_weights::OldWeight (#3491)
  Fixup multi-collator parachain transition to async backing (#3510)
  Multi-Block-Migrations, `poll` hook and new System callbacks (#1781)
  Snowbridge - Extract Ethereum Chain ID (#3501)
  PVF: re-preparing artifact on failed runtime construction (#3187)
  Add documentation around FRAME Offchain workers (#3463)
  [prdoc] Optional SemVer bumps and Docs (#3441)
  rpc-v2/tx/tests: Add transaction broadcast tests and check propagated tx status (#3193)
ordian added a commit that referenced this pull request Mar 1, 2024
…data

* ao-collator-parent-head-data:
  Fix call enum's metadata regression (#3513)
  Enable elastic scaling node feature in local testnets genesis (#3509)
  update development setup in sdk-docs (#3506)
  Fix accidental no-shows on node restart (#3277)
  Remove `AssignmentProviderConfig` and use parameters from `HostConfiguration` instead (#3181)
  [Deprecation] Remove sp_weights::OldWeight (#3491)
  Fixup multi-collator parachain transition to async backing (#3510)
  Multi-Block-Migrations, `poll` hook and new System callbacks (#1781)
  Snowbridge - Extract Ethereum Chain ID (#3501)
  PVF: re-preparing artifact on failed runtime construction (#3187)
  Add documentation around FRAME Offchain workers (#3463)
  [prdoc] Optional SemVer bumps and Docs (#3441)
  rpc-v2/tx/tests: Add transaction broadcast tests and check propagated tx status (#3193)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T8-polkadot This PR/Issue is related to/affects the Polkadot network.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Core time: Configuration Changes
4 participants