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

chore(upgrade): v1.0.0 to polkadot-sdk v1.1.0 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattheworris
Copy link
Owner

The goal of this PR is to upgrade from v1.0.0 to v1.1.0.

Update benchmarks for custom pallets and overhead.

References

Goal

The goal of this PR is

Closes

Discussion

Checklist

  • Chain spec updated
  • Custom RPC OR Runtime API added/changed? Updated js/api-augment.
  • Design doc(s) updated
  • Tests added
  • Benchmarks added
  • Weights updated

The goal of this PR is to upgrade from v1.0.0 to v1.1.0.

Update benchmarks for custom pallets and overhead.

References
- [Polkadot Forum](https://forum.polkadot.network/t/polkadot-release-analysis-v1-1-0/3988)
- [Release Notes](https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-v1.1.0)

Co-authored-by: Enddy Dumbrique  <[email protected]>
Co-authored-by: Matthew Orris <[email protected]>
@@ -788,6 +794,18 @@ impl pallet_frequency_tx_payment::Config for Runtime {
type MaximumCapacityBatchLength = MaximumCapacityBatchLength;
}

#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))]
Copy link
Owner Author

Choose a reason for hiding this comment

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

This section added in preparation for Async Backing

type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases;
type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases;
// TODO: Remove this when Async Backing is activated and the feature is set for cumulus-pallet-parachain-system
#[cfg(feature = "parameterized-consensus-hook")]
Copy link
Owner Author

Choose a reason for hiding this comment

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

Benchmark overhead panics if this feature is enabled.

@@ -830,6 +859,8 @@ impl pallet_aura::Config for Runtime {
type DisabledValidators = ();
type MaxAuthorities = AuraMaxAuthorities;
type AllowMultipleBlocksPerSlot = ConstBool<false>;
#[cfg(feature = "experimental")]
Copy link
Owner Author

Choose a reason for hiding this comment

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

This feature is not enabled, but should it be?

@ghost
Copy link

ghost commented Oct 31, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Repository owner deleted a comment from 1291945816 Mar 1, 2024
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.

1 participant