From b6dbed4e5115df23098c4f7dce029308d8e44570 Mon Sep 17 00:00:00 2001 From: AurelienFT <32803821+AurelienFT@users.noreply.github.com> Date: Tue, 21 Jan 2025 17:04:24 +0100 Subject: [PATCH] Fix version compatibility error (#2608) Fix in version compatibility, waiting for https://github.com/FuelLabs/fuel-core/issues/2607 ## Checklist - [x] Breaking changes are clearly marked as such in the PR description and changelog - [x] New behavior is reflected in tests - [x] [The specification](https://github.com/FuelLabs/fuel-specs/) matches the implemented behavior (link update PR if changes are needed) ### Before requesting review - [x] I have reviewed the code myself - [x] I have created follow-up issues caused by this PR and linked them here --- version-compatibility/forkless-upgrade/Cargo.toml | 2 ++ version-compatibility/forkless-upgrade/src/lib.rs | 3 +++ 2 files changed, 5 insertions(+) diff --git a/version-compatibility/forkless-upgrade/Cargo.toml b/version-compatibility/forkless-upgrade/Cargo.toml index ec5c4feb2c2..8ee4d15d988 100644 --- a/version-compatibility/forkless-upgrade/Cargo.toml +++ b/version-compatibility/forkless-upgrade/Cargo.toml @@ -14,6 +14,8 @@ hex = "0.4.3" rand = "0.8" tempfile = "3.4" tokio = { version = "1.37.0", features = ["rt-multi-thread"] } +# Remove when we upgrade rust version +netlink-proto = "=0.11.3" # Neutral deps fuel-core-trace = { path = "../../crates/trace" } diff --git a/version-compatibility/forkless-upgrade/src/lib.rs b/version-compatibility/forkless-upgrade/src/lib.rs index f2170f0043b..6c9c0554223 100644 --- a/version-compatibility/forkless-upgrade/src/lib.rs +++ b/version-compatibility/forkless-upgrade/src/lib.rs @@ -1,6 +1,9 @@ #![deny(unused_crate_dependencies)] #![deny(warnings)] +#[cfg(test)] +use netlink_proto as _; + #[cfg(test)] mod backward_compatibility; #[cfg(test)]