litep2p update breaks polkadot release v1.11.0
krisbitney opened this issue · comments
Kris Bitney commented
Is there an existing issue?
- I have searched the existing issues
Experiencing problems? Have you tried our Stack Exchange first?
- This is not a support question.
Description of bug
The issue seems to be that the version for litep2p points specifically to the master branch instead of the release version branch: https://github.com/paritytech/polkadot-sdk/blob/release-polkadot-v1.11.0/substrate/client/network/Cargo.toml#L62C1-L62C79
error[E0026]: variant `GetRecordSuccess` does not have a field named `record`
--> /Users/kris/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/0bb6249/substrate/client/network/src/litep2p/discovery.rs:459:65
|
459 | Poll::Ready(Some(KademliaEvent::GetRecordSuccess { query_id, record })) => {
| ^^^^^^
| |
| variant `GetRecordSuccess` does not have this field
| help: a field with a similar name exists: `records`
For more information about this error, try `rustc --explain E0026`.
error: could not compile `sc-network` (lib) due to 1 previous error
Steps to reproduce
clear cache and build polkadot v1.11.0