Skip to content

Conversation

@dmitry-markin
Copy link
Contributor

@dmitry-markin dmitry-markin commented Jul 17, 2025

This PR upgrades polkadot-sdk dependency. This pulls in among many other things:

  1. litep2p v0.10.0 with a fix of Bitswap protocol Fix Bitswap protocol implementation litep2p#402.
  2. Ability to increase idle connection timeout Allow setting idle connection timeout value in custom node implementations polkadot-sdk#9251.

There are now deprecation warnings for using SignedExtension (TransactionExtension should be used instead) — this is left for a follow-up.

@dmitry-markin dmitry-markin changed the title Upgrade polkadot-sdk Upgrade polkadot-sdk to 161e7f4d (21 Jul 2025) Jul 21, 2025
@dmitry-markin dmitry-markin marked this pull request as ready for review July 21, 2025 15:00
Copy link
Collaborator

@bkontur bkontur left a comment

Choose a reason for hiding this comment

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

@dmitry-markin looks good to me, left just couple of TODOs, which we do as follow-ups

Comment on lines +49 to 50
#[allow(deprecated)]
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

we don't need this anymore - I had other PR yesterday and it works without RuntimeEvent

Suggested change
#[allow(deprecated)]
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ran into weird issues with it removed — in the trait implementation neither removing the RuntimeEvent nor adding it compiles fine. Reverted for now.

Co-authored-by: Branislav Kontur <[email protected]>
@dmitry-markin dmitry-markin changed the title Upgrade polkadot-sdk to 161e7f4d (21 Jul 2025) Upgrade polkadot-sdk to db5e6454 (22 Jul 2025) Jul 22, 2025
@dmitry-markin dmitry-markin merged commit 62e97bf into main Jul 22, 2025
4 of 5 checks passed
@dmitry-markin dmitry-markin deleted the dm-upgrade-polkadot-sdk branch July 22, 2025 15:42
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