Skip to content

Upgrade Polkadot SDK to stable2503-6#1898

Merged
l0r1s merged 23 commits intodevnet-readyfrom
upgrade-polkadot-sdk-2503-6
Aug 4, 2025
Merged

Upgrade Polkadot SDK to stable2503-6#1898
l0r1s merged 23 commits intodevnet-readyfrom
upgrade-polkadot-sdk-2503-6

Conversation

@l0r1s
Copy link
Collaborator

@l0r1s l0r1s commented Jul 30, 2025

Description

This PR is part of #1594 includes all necessary changes to upgrade to polkadot-stable2503-6.

Changes:

  • Frontier dependencies: Updated rev to opentensor/frontier@c591df98

  • sc-consensus-grandpa patch: Updated rev to opentensor/grandpa@67ff75e9

  • BLS patch: Added a patch for paritytech/bls@004e1aee (commit for no_std support), backported on top of the currently locked 1.3.0 version due to timelock requirements.

    Note: This will likely need to be updated in the future as it involves a rework of the consuming code. See [opentensor/bls@a8598e5](https://github.com/opentensor/bls/commit/a8598e5ef7847c2f6bf7240593ddb07fef0c8cd2)

  • Substrate-fixed repo: Switched from opentensor/substrate-fixed to the upstream encointer/substrate-fixed to incorporate the latest changes (e.g. DecodeWithMemTracking derives).

  • Dependency and edition management: Centralized all dependency and edition declarations at the workspace root to simplify maintenance.

  • Feature flags: Disabled default-features at the workspace root and enabled necessary features on a per-crate basis.

  • Node updates (following psdk upgrade):

    • Removed network_starter (no longer needed).
    • Removed the option to select the P2P networking library.
  • WASM compilation fix: Resolved runtime compilation issues with wasm32v1-none.

  • Rust upgrade: Bumped Rust to the latest 1.88.0 and switched the target from wasm32-unknown-unknown to wasm32v1-none.

  • Type derives: Added DecodeWithMemTracking derives for all necessary types.

  • Runtime binary cleanup: Removed the spec_version binary from the runtime to avoid compilation errors.

Related Issue(s)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

Breaking Change

If this PR introduces a breaking change, please provide a detailed description of the impact and the migration path for existing applications.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)

Please include any relevant screenshots or GIFs that demonstrate the changes made.

Additional Notes

Please provide any additional information or context that may be helpful for reviewers.

@l0r1s l0r1s changed the title Upgrade polkadot sdk 2503 6 Upgrade Polkadot SDK to stable2412-6 Jul 30, 2025
@l0r1s l0r1s changed the title Upgrade Polkadot SDK to stable2412-6 Upgrade Polkadot SDK to stable2503-6 Jul 30, 2025
@l0r1s l0r1s force-pushed the upgrade-polkadot-sdk-2503-6 branch from 2eb9cb1 to 28a2376 Compare July 31, 2025 14:14
@l0r1s l0r1s added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Jul 31, 2025
@l0r1s l0r1s marked this pull request as ready for review July 31, 2025 15:13
@l0r1s l0r1s removed the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Jul 31, 2025
@l0r1s l0r1s requested review from JohnReedV and ales-otf July 31, 2025 17:54
@l0r1s l0r1s force-pushed the upgrade-polkadot-sdk-2503-6 branch from ffd932d to bedffe0 Compare July 31, 2025 18:49
sam0x17
sam0x17 previously approved these changes Jul 31, 2025
--ignore RUSTSEC-2020-0168 \
--ignore RUSTSEC-2024-0384 \
--ignore RUSTSEC-2024-0388 \
--ignore RUSTSEC-2024-0421
Copy link
Contributor

Choose a reason for hiding this comment

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

amazing!

@l0r1s l0r1s force-pushed the upgrade-polkadot-sdk-2503-6 branch from 9bc589b to 1109e2f Compare August 1, 2025 18:26
@l0r1s l0r1s merged commit 1367c34 into devnet-ready Aug 4, 2025
56 checks passed
@sam0x17 sam0x17 mentioned this pull request Aug 7, 2025
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.

5 participants